[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/6] gnu: Add emacs-avy.
From: |
Ricardo Wurmus |
Subject: |
[PATCH 3/6] gnu: Add emacs-avy. |
Date: |
Sat, 18 Jun 2016 18:15:41 +0200 |
* 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
+
address@hidden
address@hidden character positions
address@hidden word or subword start positions
address@hidden line beginning positions
address@hidden link positions
address@hidden window positions
address@hidden enumerate\n")
+ (license license:gpl3+)))
+
(define-public emacs-clojure-mode
(package
(name "emacs-clojure-mode")
--
2.8.3
- [PATCH 1/6] gnu: Add emacs-ivy., Ricardo Wurmus, 2016/06/18
- [PATCH 2/6] gnu: Add emacs-hydra., Ricardo Wurmus, 2016/06/18
- [PATCH 3/6] gnu: Add emacs-avy.,
Ricardo Wurmus <=
- [PATCH 4/6] gnu: Add emacs-ace-window., Ricardo Wurmus, 2016/06/18
- [PATCH 5/6] gnu: Add emacs-iedit., Ricardo Wurmus, 2016/06/18
- [PATCH 6/6] gnu: Add emacs-lispy., Ricardo Wurmus, 2016/06/18
- Re: [PATCH 1/6] gnu: Add emacs-ivy., Alex Kost, 2016/06/19