unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#37125] [PATCH] Add emacs-ample-regexps.
@ 2019-08-20 22:16 Brian Leung
  2019-08-21  5:56 ` Oleg Pyhalov
  2019-08-23  4:24 ` bug#37125: " Oleg Pyhalov
  0 siblings, 2 replies; 3+ messages in thread
From: Brian Leung @ 2019-08-20 22:16 UTC (permalink / raw)
  To: 37125


[-- Attachment #1.1: Type: text/plain, Size: 14 bytes --]

See attached.

[-- Attachment #1.2: Type: text/html, Size: 35 bytes --]

[-- Attachment #2: 0001-gnu-Add-emacs-ample-regexps.patch --]
[-- Type: text/x-patch, Size: 2523 bytes --]

From ec5fae25629ae80cb929c231d71e772dc7ddda20 Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
Date: Wed, 21 Aug 2019 00:15:18 +0200
Subject: [PATCH] gnu: Add emacs-ample-regexps.

* gnu/packages/emacs-xyz.scm (emacs-ample-regexps): New variable.
---
 gnu/packages/emacs-xyz.scm | 40 ++++++++++++++++++++++++++++++--------
 1 file changed, 32 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a51545c3b3..a0f1a57371 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -904,20 +904,44 @@ skip set strings, which are arguments to @code{skip-chars-forward} and
 @code{skip-chars-backward}.")
     (license license:gpl3+)))
 
+(define-public emacs-ample-regexps
+  (let ((commit "cbe91e148cac1ee8e223874dc956ed4cf607f046")
+        (revision "1"))
+    (package
+      (name "emacs-ample-regexps")
+      (version (git-version "0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/immerrr/ample-regexps.el")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1mm4icrwx4mscp7kbbmlc34995r164dhrfczn5ybkyxjzzf76jn1"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/immerrr/ample-regexps.el")
+      (synopsis "Compose and reuse Emacs regexps")
+      (description
+       "This package allows common parts of regexps to be easily picked out
+and reused.")
+      (license license:gpl3+))))
+
 (define-public emacs-reformatter
   (package
     (name "emacs-reformatter")
     (version "0.4")
     (source
      (origin
-      (method git-fetch)
-      (uri (git-reference
-            (url "https://github.com/purcell/reformatter.el.git")
-            (commit version)))
-      (file-name (git-file-name name version))
-      (sha256
-       (base32
-        "0hhy6x1bkwlhdlarsgm06g3am4yh02yqv8qs34szpzgy53x84qah"))))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/purcell/reformatter.el.git")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0hhy6x1bkwlhdlarsgm06g3am4yh02yqv8qs34szpzgy53x84qah"))))
     (build-system emacs-build-system)
     (home-page "https://github.com/purcell/reformatter.el")
     (synopsis "Define commands which run reformatters on the current buffer")
-- 
2.23.0


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

* [bug#37125] [PATCH] Add emacs-ample-regexps.
  2019-08-20 22:16 [bug#37125] [PATCH] Add emacs-ample-regexps Brian Leung
@ 2019-08-21  5:56 ` Oleg Pyhalov
  2019-08-23  4:24 ` bug#37125: " Oleg Pyhalov
  1 sibling, 0 replies; 3+ messages in thread
From: Oleg Pyhalov @ 2019-08-21  5:56 UTC (permalink / raw)
  To: Brian Leung; +Cc: 37125

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

Hello Brian,

Brian Leung <bkleung89@gmail.com> writes:

> See attached.
> From ec5fae25629ae80cb929c231d71e772dc7ddda20 Mon Sep 17 00:00:00 2001
> From: Brian Leung <bkleung89@gmail.com>
> Date: Wed, 21 Aug 2019 00:15:18 +0200
> Subject: [PATCH] gnu: Add emacs-ample-regexps.
>
> * gnu/packages/emacs-xyz.scm (emacs-ample-regexps): New variable.
> ---
>  gnu/packages/emacs-xyz.scm | 40 ++++++++++++++++++++++++++++++--------
>  1 file changed, 32 insertions(+), 8 deletions(-)
>
> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> index a51545c3b3..a0f1a57371 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm

[…]

Could you take a look on running a test suite, please?

Also patch contains a redundant change of another package recipe,
which doesn't belong to current patch adding a package.

Thanks,
Oleg.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* bug#37125: [PATCH] Add emacs-ample-regexps.
  2019-08-20 22:16 [bug#37125] [PATCH] Add emacs-ample-regexps Brian Leung
  2019-08-21  5:56 ` Oleg Pyhalov
@ 2019-08-23  4:24 ` Oleg Pyhalov
  1 sibling, 0 replies; 3+ messages in thread
From: Oleg Pyhalov @ 2019-08-23  4:24 UTC (permalink / raw)
  To: Brian Leung; +Cc: 37125, 37125-done

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

Hello Brian,

No worries, thank you.  Pushed to master as
d78bc23411b1351ff9495a511c22b27d17f9226f.

Please, don't forget to CC *@debbugs.gnu.org ;-)

Regards,
Oleg.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

end of thread, other threads:[~2019-08-23  4:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-20 22:16 [bug#37125] [PATCH] Add emacs-ample-regexps Brian Leung
2019-08-21  5:56 ` Oleg Pyhalov
2019-08-23  4:24 ` bug#37125: " Oleg Pyhalov

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).