all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#34766] [PATCH] Add emacs-xr
@ 2019-03-06  9:51 Nicolas Goaziou
  2019-03-18 22:38 ` bug#34766: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Goaziou @ 2019-03-06  9:51 UTC (permalink / raw)
  To: 34766

[-- Attachment #1: Type: text/plain, Size: 93 bytes --]

Hello,

The following patch adds emacs-xr.

Feedback welcome.

Regards,

-- 
Nicolas Goaziou

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Add emacs-xr --]
[-- Type: text/x-diff, Size: 1719 bytes --]

From 35c46ec8cede39bc26754db6d839be6ac6c5ae0a Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou <mail@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+)))
+
+
 \f
 ;;;
 ;;; Web browsing.
-- 
2.21.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#34766: [PATCH] Add emacs-xr
  2019-03-06  9:51 [bug#34766] [PATCH] Add emacs-xr Nicolas Goaziou
@ 2019-03-18 22:38 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2019-03-18 22:38 UTC (permalink / raw)
  To: 34766-done


Pushed.

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-18 22:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-06  9:51 [bug#34766] [PATCH] Add emacs-xr Nicolas Goaziou
2019-03-18 22:38 ` bug#34766: " Nicolas Goaziou

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.