[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: Add emacs-xr.
From: |
guix-commits |
Subject: |
01/01: gnu: Add emacs-xr. |
Date: |
Mon, 18 Mar 2019 18:37:13 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit 5dfbf5620cb5d6ab4153f7ea24922beab0beddf5
Author: Nicolas Goaziou <address@hidden>
Date: Wed Mar 6 10:48:32 2019 +0100
gnu: Add emacs-xr.
* gnu/packages/emacs-xyz.scm (emacs-xr): New variable.
---
gnu/packages/emacs-xyz.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 28b24d4..bf637d7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -746,6 +746,36 @@ 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.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://elpa.gnu.org/packages/xr-" version ".tar"))
+ (sha256
+ (base32
+ "099r88s2giv95nkwiim1cx8fy7cvv1pg1701733p4ami82ldsdw0"))))
+ (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
+
+In addition to Emacs regexps, this package can also parse and troubleshoot
+skip set strings, which are arguments to @code{skip-chars-forward} and
address@hidden")
+ (license license:gpl3+)))
+
;;;
;;; Web browsing.