GNU bug report logs -
#34766
[PATCH] Add emacs-xr
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
The following patch adds emacs-xr.
Feedback welcome.
Regards,
--
Nicolas Goaziou
[0001-gnu-Add-emacs-xr.patch (text/x-diff, inline)]
From 35c46ec8cede39bc26754db6d839be6ac6c5ae0a Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Date: Wed, 6 Mar 2019 10:48:32 +0100
Subject: [PATCH] gnu: Add emacs-xr.
* gnu/packages/emacs-xyz.scm (emacs-xr): New variable.
---
gnu/packages/emacs-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 30248f673a..52624d9e13 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -734,6 +734,35 @@ can be referred to during the expression. This technique can improve clarity
in certain cases. It also enables recursion for anonymous functions.")
(license license:public-domain)))
+(define-public emacs-xr
+ (package
+ (name "emacs-xr")
+ (version "1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://elpa.gnu.org/packages/xr-" version ".tar"))
+ (sha256
+ (base32
+ "137d43p748rqh16bq9wdy74zq2sm6z35haa8hwnq6p7n0j3kxkyp"))))
+ (build-system emacs-build-system)
+ (home-page "http://elpa.gnu.org/packages/xr.html")
+ (synopsis "Convert string regexp to rx notation")
+ (description
+ "This is an inverse companion to the @code{rx} package for translating
+regexps in string form to the @code{rx} notation. Its chief uses are:
+
+@itemize
+@item Migrating existing code to @code{rx} form, for better readability and
+maintainability
+@item Understanding complex regexp strings and finding errors in them
+@end itemize
+
+Please refer to @code{rx} for more information about the notation.")
+ (license license:gpl3+)))
+
+
;;;
;;; Web browsing.
--
2.21.0
This bug report was last modified 6 years and 66 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.