unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#72728] [PATCH] gnu: Add emacs-auto-yasnippet.
@ 2024-08-20  9:06 Rostislav Svoboda
       [not found] ` <handler.72728.B.172414489613070.ack@debbugs.gnu.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Rostislav Svoboda @ 2024-08-20  9:06 UTC (permalink / raw)
  To: 72728
  Cc: Rostislav Svoboda, Andrew Tropin, Katherine Cox-Buday,
	Liliana Marie Prikler

* gnu/packages/emacs-xyz.scm (emacs-auto-yasnippet): New variable.

Change-Id: I638a4d180565f407a05e8a83b939a532ac71ae63
---
 gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e48ba5bfb4..b453e1bc23 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -18722,6 +18722,31 @@ (define-public emacs-yasnippet-snippets
 automatically made available to YASnippet.")
     (license license:gpl3+)))
 
+(define-public emacs-auto-yasnippet
+  (package
+    (name "emacs-auto-yasnippet")
+    (version "1.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/abo-abo/auto-yasnippet")
+             (commit
+              "6a9e406d0d7f9dfd6dff7647f358cb05a0b1637e")))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0ifzbwnm2axb8kmfp3jvg05wq02j121iwp2m64pi70c7mza0i886"))))
+    (build-system emacs-build-system)
+    (home-page
+     "https://github.com/abo-abo/auto-yasnippet")
+    (synopsis "Quickly create disposable yasnippets")
+    (description
+     "This package allows you to create and use snippets on the fly in Emacs
+ without leaving the current buffer. Simply insert `~` characters where you
+ want YASnippet fields, and the snippet will be ready to use immediately.")
+    (license license:gpl3+)))
+
 (define-public emacs-doom-snippets
   ;; Use the latest commit, as there are no tagged releases.  Version is
   ;; extracted from main file.

base-commit: 4ec2b4747878877cb0f50df8c4127bb6044cdb93
-- 
2.45.2





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

* [bug#72728] Acknowledgement ([PATCH] gnu: Add emacs-auto-yasnippet.)
       [not found] ` <handler.72728.B.172414489613070.ack@debbugs.gnu.org>
@ 2024-08-20  9:26   ` Rostislav Svoboda
  2024-08-20  9:32     ` bug#72728: " Nicolas Goaziou via Guix-patches via
  0 siblings, 1 reply; 3+ messages in thread
From: Rostislav Svoboda @ 2024-08-20  9:26 UTC (permalink / raw)
  To: 72728

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

Please ignore the patch from my previous email and use this one instead.
(I haven't noticed the emacs-auto-yasnippet is in the upstream already.)

[-- Attachment #2: 0001-gnu-emacs-auto-yasnippet-Update-to-0.3.0-3.6a9e406.patch --]
[-- Type: text/x-patch, Size: 1617 bytes --]

From 4586f2253a1b4230f9be05f1bfdee4fa8a08922e Mon Sep 17 00:00:00 2001
Message-ID: <4586f2253a1b4230f9be05f1bfdee4fa8a08922e.1724145717.git.Rostislav.Svoboda@gmail.com>
From: Rostislav Svoboda <Rostislav.Svoboda@gmail.com>
Date: Tue, 20 Aug 2024 11:20:05 +0200
Subject: [PATCH] gnu: emacs-auto-yasnippet: Update to 0.3.0-3.6a9e406.

* gnu/packages/emacs-xyz.scm (emacs-auto-yasnippet): Update to 0.3.0-3.6a9e406.

Change-Id: If232f1c627882699107f010b0ce5f302de1f2c55
---
 gnu/packages/emacs-xyz.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e48ba5bfb4..0cabc9a6fd 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -26475,8 +26475,8 @@ (define-public emacs-academic-phrases
       (license license:gpl3+))))
 
 (define-public emacs-auto-yasnippet
-  (let ((commit "624b0d9711222073a2a3f2186e2605eb99fc83c9")
-        (revision "2"))
+  (let ((commit "6a9e406d0d7f9dfd6dff7647f358cb05a0b1637e")
+        (revision "3"))
     (package
       (name "emacs-auto-yasnippet")
       (version (git-version "0.3.0" revision commit))
@@ -26488,7 +26488,7 @@ (define-public emacs-auto-yasnippet
                 (file-name (git-file-name name version))
                 (sha256
                  (base32
-                  "15g8wi067f345xhpi0c12w0h04p4f4lpccwmdjdfj8hzfl4gyxy9"))))
+                  "0ifzbwnm2axb8kmfp3jvg05wq02j121iwp2m64pi70c7mza0i886"))))
       (build-system emacs-build-system)
       (arguments
        '(#:tests? #t

base-commit: 4ec2b4747878877cb0f50df8c4127bb6044cdb93
-- 
2.45.2


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

* bug#72728: Acknowledgement ([PATCH] gnu: Add emacs-auto-yasnippet.)
  2024-08-20  9:26   ` [bug#72728] Acknowledgement ([PATCH] gnu: Add emacs-auto-yasnippet.) Rostislav Svoboda
@ 2024-08-20  9:32     ` Nicolas Goaziou via Guix-patches via
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou via Guix-patches via @ 2024-08-20  9:32 UTC (permalink / raw)
  To: Rostislav Svoboda; +Cc: 72728-done

Hello,

Rostislav Svoboda <rostislav.svoboda@gmail.com> writes:

> Please ignore the patch from my previous email and use this one instead.
> (I haven't noticed the emacs-auto-yasnippet is in the upstream
> already.)

Please use -v flag when sending a new patch with in the same bug report.

> Subject: [PATCH] gnu: emacs-auto-yasnippet: Update to 0.3.0-3.6a9e406.
>
> * gnu/packages/emacs-xyz.scm (emacs-auto-yasnippet): Update to
> 0.3.0-3.6a9e406.

Applied. Thank you!

Regards,
-- 
Nicolas Goaziou






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

end of thread, other threads:[~2024-08-20  9:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-20  9:06 [bug#72728] [PATCH] gnu: Add emacs-auto-yasnippet Rostislav Svoboda
     [not found] ` <handler.72728.B.172414489613070.ack@debbugs.gnu.org>
2024-08-20  9:26   ` [bug#72728] Acknowledgement ([PATCH] gnu: Add emacs-auto-yasnippet.) Rostislav Svoboda
2024-08-20  9:32     ` bug#72728: " Nicolas Goaziou via Guix-patches via

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).