From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:46935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1TDX-0004XQ-2T for guix-patches@gnu.org; Wed, 06 Mar 2019 04:52:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1TDW-0000XR-92 for guix-patches@gnu.org; Wed, 06 Mar 2019 04:52:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48443) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h1TDW-0000XD-1g for guix-patches@gnu.org; Wed, 06 Mar 2019 04:52:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h1TDV-00068x-Tv for guix-patches@gnu.org; Wed, 06 Mar 2019 04:52:01 -0500 Subject: [bug#34766] [PATCH] Add emacs-xr Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:46828) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1TDF-0004Nf-V1 for guix-patches@gnu.org; Wed, 06 Mar 2019 04:51:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1TDD-0000Kl-VD for guix-patches@gnu.org; Wed, 06 Mar 2019 04:51:45 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:47041) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h1TDD-0000J7-MQ for guix-patches@gnu.org; Wed, 06 Mar 2019 04:51:43 -0500 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay12.mail.gandi.net (Postfix) with ESMTPSA id E591E20000F for ; Wed, 6 Mar 2019 09:51:39 +0000 (UTC) From: Nicolas Goaziou Date: Wed, 06 Mar 2019 10:51:39 +0100 Message-ID: <87va0wl49g.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34766@debbugs.gnu.org --=-=-= Content-Type: text/plain Hello, The following patch adds emacs-xr. Feedback welcome. Regards, -- Nicolas Goaziou --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-Add-emacs-xr.patch Content-Description: Add emacs-xr >From 35c46ec8cede39bc26754db6d839be6ac6c5ae0a Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou 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 --=-=-=--