From eb2f2e0c1a25f5688881f959a03290299ece13bf Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sun, 1 Jun 2025 13:14:24 -0300 Subject: [PATCH] gnu: Add emacs-rfc-mode. * gnu/packages/emacs-xyz.scm (emacs-rfc-mode): New variable. Signed-off-by: Ian Eure --- gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index a76cc1b732cbc7be90506b32a7b7c0ddc1bf1b6e..3d12b4712cbeceb465ddd5931c933d522de018a5 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -12904,6 +12904,29 @@ noticeable performance improvement.") field values, and more within @code{haskell-cabal-mode}.") (license license:gpl3+)))) +(define-public emacs-rfc-mode + (package + (name "emacs-rfc-mode") + (version "1.4.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/galdor/rfc-mode") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0sym5pji4ba4jy79zfs7gb2n9kqa60ma4z622s0mz647g56z09f4")))) + (build-system emacs-build-system) + (arguments + ;; No tests + (list #:tests? #f)) + (home-page "https://github.com/galdor/rfc-mode") + (synopsis "Emacs major mode to read and browse @acronym{RFC, Request for Comments} documents") + (description "The @code{rfc-mode} Emacs major mode is a browser and reader +for @acronym{RFC, Request for Comments} documents.") + (license license:isc))) + (define-public emacs-rfcview (package (name "emacs-rfcview")