[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#34766] [PATCH] Add emacs-xr
From: |
Nicolas Goaziou |
Subject: |
[bug#34766] [PATCH] Add emacs-xr |
Date: |
Wed, 06 Mar 2019 10:51:39 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hello,
The following patch adds emacs-xr.
Feedback welcome.
Regards,
--
Nicolas Goaziou
>From 35c46ec8cede39bc26754db6d839be6ac6c5ae0a Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou <address@hidden>
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:
+
address@hidden
address@hidden Migrating existing code to @code{rx} form, for better
readability and
+maintainability
address@hidden Understanding complex regexp strings and finding errors in them
address@hidden itemize
+
+Please refer to @code{rx} for more information about the notation.")
+ (license license:gpl3+)))
+
+
;;;
;;; Web browsing.
--
2.21.0
- [bug#34766] [PATCH] Add emacs-xr,
Nicolas Goaziou <=