diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-03-06 10:48:32 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-03-18 23:35:32 +0100 |
commit | 5dfbf5620cb5d6ab4153f7ea24922beab0beddf5 (patch) | |
tree | eacdc2abf982068017067f3e08fc29a9bf6af2ae /gnu/packages | |
parent | 402db5113f89afc27a1112e26bd92a8194f43cc9 (diff) | |
download | guix-5dfbf5620cb5d6ab4153f7ea24922beab0beddf5.tar.gz guix-5dfbf5620cb5d6ab4153f7ea24922beab0beddf5.zip |
gnu: Add emacs-xr.
* gnu/packages/emacs-xyz.scm (emacs-xr): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 28b24d467d..bf637d7102 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: + +@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 + +In addition to Emacs regexps, this package can also parse and troubleshoot +skip set strings, which are arguments to @code{skip-chars-forward} and +@code{skip-chars-backward}.") + (license license:gpl3+))) + ;;; ;;; Web browsing. |