Subject: [bug#27472] [PATCH] gnu: Add emacs-which-key.

From: Oleg Pykhalov <[email-masked]>
Date: Sat, 24 Jun 2017 13:36:11 +0300

---
 gnu/packages/emacs.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 4d8a230b1..b6dcee9e1 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4896,3 +4896,30 @@ running a customisable handler command (@code{ignore} by default). ")
 from within Emacs.  Restclient runs queries from a plan-text query sheet,
 displays results pretty-printed in XML or JSON with @code{restclient-mode}")
       (license license:public-domain))))
+
+(define-public emacs-which-key
+  (package
+    (name "emacs-which-key")
+    (version "3.0.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/justbur/emacs-which-key/archive/"
+                    "v" version ".tar.gz"))
+              (sha256
+               (base32
+                "0zc9yivdkbxmcllhlbbcvsbj8g8nzzgs0xib488s08p4s0l7xs8m"))
+              (file-name (string-append name "-" version ".tar.gz"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/justbur/emacs-which-key")
+    (synopsis
+     "Minor mode for Emacs that displays the key bindings following your
+currently entered incomplete command (a prefix) in a popup")
+    (description
+     "@code{which-key} is a minor mode for Emacs that displays the key
+bindings following your currently entered incomplete command (a prefix) in a
+popup.  For example, after enabling the minor mode if you enter C-x and wait
+for the default of 1 second the minibuffer will expand with all of the
+available key bindings that follow C-x (or as many as space allows given your
+settings).")
+    (license license:gpl3+)))
-- 
2.13.1

Message-ID: <[email-masked]>