Subject: bug#56881: closed (Re: [bug#56881] [PATCH v2] gnu: Add emacs-consult-yasnippet.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 25 Aug 2022 10:31:02 +0000

Your bug report

#56881: [PATCH] gnu: Add emacs-consult-yasnippet.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
56881: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56881
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#56881] [PATCH v2] gnu: Add emacs-consult-yasnippet.
From: Nicolas Goaziou <[email-masked]>
To: Nicolas Graves via Guix-patches via <[email-masked]>
Cc: Nicolas Graves <[email-masked]>, [email-masked]
Date: Thu, 25 Aug 2022 12:30:36 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Nicolas Graves via Guix-patches via <[email-masked]> writes:

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

Applied with the changes below. Thank you.

> +(define-public emacs-consult-yasnippet
> +  (let ((commit "ae0450889484f23dc4ec37518852a2c61b89f184")
> +        (revision "0"))
> +    (package
> +      (name "emacs-consult-yasnippet")
> +      (version (git-version "0" revision commit))

Base version is 0.2 according to main file.

> +      (source
> +       (origin
> +         (method git-fetch)
> +         (uri (git-reference
> +               (url "https://github.com/mohkale/consult-yasnippet")
> +               (commit commit)))
> +         (file-name (git-file-name name version))
> +         (sha256
> +          (base32 "13hmmsnmh32vafws61sckzzy354rq0nslqpyzhw97iwvn0fpsa35"))))
> +      (build-system emacs-build-system)
> +      (propagated-inputs (list emacs-consult emacs-yasnippet))
> +      (home-page "https://github.com/mohkale/consult-yasnippet")
> +      (synopsis "Consulting-read interface for yasnippet")
> +      (description
> +       "This package allows you to expand @code{emacs-yasnippet} snippets
> +through a completing-read interface. It supports previewing the
> current

I added two spaces between the two sentences, per Texinfo requirements.

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: Add emacs-consult-yasnippet.
From: Nicolas Graves <[email-masked]>
To: [email-masked]
Cc: Nicolas Graves <[email-masked]>
Date: Tue, 2 Aug 2022 13:39:57 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/emacs-xyz.scm (emacs-consult-yasnippet): New variable.
---
 gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 702378c206..b2634de8ee 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -9154,6 +9154,32 @@ (define-public emacs-consult-eglot
 call.")
    (license license:gpl3+)))
 
+(define-public emacs-consult-yasnippet
+  (let ((commit "ae0450889484f23dc4ec37518852a2c61b89f184")
+        (revision "0"))
+    (package
+      (name "emacs-consult-yasnippet")
+      (version (git-version "0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/mohkale/consult-yasnippet")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "13hmmsnmh32vafws61sckzzy354rq0nslqpyzhw97iwvn0fpsa35"))))
+      (build-system emacs-build-system)
+      (propagated-inputs (list emacs-consult emacs-yasnippet))
+      (home-page "https://github.com/mohkale/consult-yasnippet")
+      (synopsis "Consulting-read interface for yasnippet")
+      (description
+"This package implements allows you to expand yasnippet snippets through a\
+completing-read interface. It supports previewing the current snippet\
+expansion and overwriting the marked region with a new snippet completion.\
+")
+      (license license:gpl3+))))
+
 (define-public emacs-marginalia
   (package
     (name "emacs-marginalia")
-- 
2.37.1