unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#56881] [PATCH] gnu: Add emacs-consult-yasnippet.
@ 2022-08-02 11:39 Nicolas Graves via Guix-patches via
  2022-08-02 11:48 ` ( via Guix-patches via
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2022-08-02 11:39 UTC (permalink / raw)
  To: 56881; +Cc: Nicolas Graves

* 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





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

* [bug#56881] [PATCH] gnu: Add emacs-consult-yasnippet.
  2022-08-02 11:39 [bug#56881] [PATCH] gnu: Add emacs-consult-yasnippet Nicolas Graves via Guix-patches via
@ 2022-08-02 11:48 ` ( via Guix-patches via
  2022-08-02 11:59 ` Nicolas Graves via Guix-patches via
  2022-08-02 12:55 ` [bug#56881] [PATCH v2] " Nicolas Graves via Guix-patches via
  2 siblings, 0 replies; 6+ messages in thread
From: ( via Guix-patches via @ 2022-08-02 11:48 UTC (permalink / raw)
  To: Nicolas Graves, 56881

On Tue Aug 2, 2022 at 12:39 PM BST, Nicolas Graves via Guix-patches via wrote:
> +      (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.\
> +")

I think this slightly amended version is better:

> +      (description
> +       "This package allows you to expand @code{emacs-yasnippet} snippets
> +through a completing-read interface. It supports previewing the current
> +snippet expansion and overwriting the marked region with a new snippet
> +completion.")

    -- (




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

* [bug#56881] [PATCH] gnu: Add emacs-consult-yasnippet.
  2022-08-02 11:39 [bug#56881] [PATCH] gnu: Add emacs-consult-yasnippet Nicolas Graves via Guix-patches via
  2022-08-02 11:48 ` ( via Guix-patches via
@ 2022-08-02 11:59 ` Nicolas Graves via Guix-patches via
  2022-08-02 12:07   ` ( via Guix-patches via
  2022-08-02 12:55 ` [bug#56881] [PATCH v2] " Nicolas Graves via Guix-patches via
  2 siblings, 1 reply; 6+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2022-08-02 11:59 UTC (permalink / raw)
  To: 56881

Indeed. Should I sent an updated patch ? 

Thanks! 

-- 
Best regards,
Nicolas Graves




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

* [bug#56881] [PATCH] gnu: Add emacs-consult-yasnippet.
  2022-08-02 11:59 ` Nicolas Graves via Guix-patches via
@ 2022-08-02 12:07   ` ( via Guix-patches via
  0 siblings, 0 replies; 6+ messages in thread
From: ( via Guix-patches via @ 2022-08-02 12:07 UTC (permalink / raw)
  To: Nicolas Graves, 56881

On Tue Aug 2, 2022 at 12:59 PM BST, Nicolas Graves via Guix-patches via wrote:
> Indeed. Should I sent an updated patch ? 

Yeah.

ʃ # after applying my change
ʃ git add -p
ʃ git commit --amend
ʃ git send-email --to=56881@debbugs.gnu.org -v2

    -- (




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

* [bug#56881] [PATCH v2] gnu: Add emacs-consult-yasnippet.
  2022-08-02 11:39 [bug#56881] [PATCH] gnu: Add emacs-consult-yasnippet Nicolas Graves via Guix-patches via
  2022-08-02 11:48 ` ( via Guix-patches via
  2022-08-02 11:59 ` Nicolas Graves via Guix-patches via
@ 2022-08-02 12:55 ` Nicolas Graves via Guix-patches via
  2022-08-25 10:30   ` Nicolas Goaziou
  2 siblings, 1 reply; 6+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2022-08-02 12:55 UTC (permalink / raw)
  To: 56881; +Cc: Nicolas Graves

* 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..408aaf57d2 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 allows you to expand @code{emacs-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





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

* [bug#56881] [PATCH v2] gnu: Add emacs-consult-yasnippet.
  2022-08-02 12:55 ` [bug#56881] [PATCH v2] " Nicolas Graves via Guix-patches via
@ 2022-08-25 10:30   ` Nicolas Goaziou
  0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Goaziou @ 2022-08-25 10:30 UTC (permalink / raw)
  To: 56881; +Cc: Nicolas Graves, 56881-done

Hello,

Nicolas Graves via Guix-patches via <guix-patches@gnu.org> 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




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

end of thread, other threads:[~2022-08-25 10:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-02 11:39 [bug#56881] [PATCH] gnu: Add emacs-consult-yasnippet Nicolas Graves via Guix-patches via
2022-08-02 11:48 ` ( via Guix-patches via
2022-08-02 11:59 ` Nicolas Graves via Guix-patches via
2022-08-02 12:07   ` ( via Guix-patches via
2022-08-02 12:55 ` [bug#56881] [PATCH v2] " Nicolas Graves via Guix-patches via
2022-08-25 10:30   ` Nicolas Goaziou

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