unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: guix-devel@gnu.org
Subject: [PATCH 3/6] gnu: Add emacs-avy.
Date: Sat, 18 Jun 2016 18:15:41 +0200	[thread overview]
Message-ID: <20160618161544.3643-3-rekado@elephly.net> (raw)
In-Reply-To: <20160618161544.3643-1-rekado@elephly.net>

* gnu/packages/emacs.scm (emacs-avy): New variable.
---
 gnu/packages/emacs.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 6741f58..5158059 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1768,6 +1768,42 @@ his orignal purpose, calling his proper command.  This makes the Hydra very
 seamless, it's like a minor mode that disables itself automatically.")
     (license license:gpl3+)))
 
+(define-public emacs-avy
+  (package
+    (name "emacs-avy")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/abo-abo/avy/archive/"
+                           version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1wdrq512h25ymzjbf2kbsdymvd2ryfwzb6bh5bc3yv7q203im796"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/abo-abo/avy")
+    (synopsis "Tree-based completion")
+    (description
+     "This package provides a generic completion method based on building a
+balanced decision tree with each candidate being a leaf.  To traverse the tree
+from the root to a desired leaf, typically a sequence of @code{read-key} can
+be used.
+
+In order for @code{read-key} to make sense, the tree needs to be visualized
+appropriately, with a character at each branch node.  So this completion
+method works only for things that you can see on your screen, all at once,
+such as
+
+@enumerate
+@item character positions
+@item word or subword start positions
+@item line beginning positions
+@item link positions
+@item window positions
+@end enumerate\n")
+    (license license:gpl3+)))
+
 (define-public emacs-clojure-mode
   (package
     (name "emacs-clojure-mode")
-- 
2.8.3

  parent reply	other threads:[~2016-06-18 16:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-18 16:15 [PATCH 1/6] gnu: Add emacs-ivy Ricardo Wurmus
2016-06-18 16:15 ` [PATCH 2/6] gnu: Add emacs-hydra Ricardo Wurmus
2016-06-20  4:55   ` Ricardo Wurmus
2016-06-18 16:15 ` Ricardo Wurmus [this message]
2016-06-19 17:13   ` [PATCH 3/6] gnu: Add emacs-avy Alex Kost
2016-06-20  4:40     ` Ricardo Wurmus
2016-06-18 16:15 ` [PATCH 4/6] gnu: Add emacs-ace-window Ricardo Wurmus
2016-06-19 17:16   ` Alex Kost
2016-06-18 16:15 ` [PATCH 5/6] gnu: Add emacs-iedit Ricardo Wurmus
2016-06-19 17:26   ` Alex Kost
2016-06-18 16:15 ` [PATCH 6/6] gnu: Add emacs-lispy Ricardo Wurmus
2016-06-19 17:31   ` Alex Kost
2016-06-19 17:11 ` [PATCH 1/6] gnu: Add emacs-ivy Alex Kost
2016-06-20  4:43   ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160618161544.3643-3-rekado@elephly.net \
    --to=rekado@elephly.net \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).