unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#31454] [PATCH] gnu: Add emacs-ivy-yasnippet.
@ 2018-05-14 15:39 Oleg Pykhalov
  2018-05-31 15:42 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Oleg Pykhalov @ 2018-05-14 15:39 UTC (permalink / raw)
  To: 31454

* gnu/packages/emacs.scm (emacs-ivy-yasnippet): New public variable.
---
 gnu/packages/emacs.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 5788f547c..ac14368ed 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -3602,6 +3602,35 @@ splitting the input text by spaces and re-building it into a regular
 expression.")
     (license license:gpl3+)))
 
+(define-public emacs-ivy-yasnippet
+  (let ((commit "59b32cf8cfb63df906822a17f6f5e8545dac38d4"))
+    (package
+      (name "emacs-ivy-yasnippet")
+      (version (git-version "0.1" "1" commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/mkcms/ivy-yasnippet.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0hghdlxkfwrglvc1nql2ikgp6jj0qdbfwc3yvpb19mrf26hwgp13"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       `(("emacs-ivy" ,emacs-ivy)
+         ("emacs-yasnippet" ,emacs-yasnippet)
+         ("emacs-dash" ,emacs-dash)))
+      (home-page "https://github.com/mkcms/ivy-yasnippet")
+      (synopsis "Preview @code{yasnippets} with @code{ivy}")
+      (description "This package allows you to select @code{yasnippet}
+snippets using @code{ivy} completion.  When current selection changes in the
+minibuffer, the snippet contents are temporarily expanded in the buffer.  To
+use it, call @code{M-x ivy-yasnippet} (but make sure you have enabled
+@code{yas-minor-mode} first).")
+      (license license:gpl3+))))
+
 (define-public emacs-avy
   (package
     (name "emacs-avy")
-- 
2.17.0

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

* [bug#31454] [PATCH] gnu: Add emacs-ivy-yasnippet.
  2018-05-14 15:39 [bug#31454] [PATCH] gnu: Add emacs-ivy-yasnippet Oleg Pykhalov
@ 2018-05-31 15:42 ` Ludovic Courtès
  2018-06-08 20:22   ` bug#31454: " Oleg Pykhalov
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2018-05-31 15:42 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: 31454

Hi Oleg,

Oleg Pykhalov <go.wigust@gmail.com> skribis:

> * gnu/packages/emacs.scm (emacs-ivy-yasnippet): New public variable.

LGTM!

For simple packages like this, remember you can go ahead if nobody
replies in a timely fashion (see ‘HACKING’).

Thanks,
Ludo’.

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

* bug#31454: [PATCH] gnu: Add emacs-ivy-yasnippet.
  2018-05-31 15:42 ` Ludovic Courtès
@ 2018-06-08 20:22   ` Oleg Pykhalov
  0 siblings, 0 replies; 3+ messages in thread
From: Oleg Pykhalov @ 2018-06-08 20:22 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 31454, 31454-done

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

Hello Ludovic,

ludo@gnu.org (Ludovic Courtès) writes:

> Hi Oleg,
>
> Oleg Pykhalov <go.wigust@gmail.com> skribis:
>
>> * gnu/packages/emacs.scm (emacs-ivy-yasnippet): New public variable.
>
> LGTM!
>
> For simple packages like this, remember you can go ahead if nobody
> replies in a timely fashion (see ‘HACKING’).

OK, thank you for the reminder.

Pushed as da23cc000e6c85f8590e7cf2bc57e3e9f1b4a78f

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:[~2018-06-08 20:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-14 15:39 [bug#31454] [PATCH] gnu: Add emacs-ivy-yasnippet Oleg Pykhalov
2018-05-31 15:42 ` Ludovic Courtès
2018-06-08 20:22   ` bug#31454: " Oleg Pykhalov

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