From e7d11f4fa6c4b3db5ce501165dd3fc82ef94c821 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 4 Jul 2020 13:47:57 +0200 Subject: [PATCH] gnu: Add emacs-counsel. * gnu/packages/emacs-xyz.scm (emacs-counsel): New variable. --- gnu/packages/emacs-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 5c4861766c..e85ec6ea35 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -6431,6 +6431,39 @@ (define-public emacs-ivy expression.") (license license:gpl3+))) +(define-public emacs-counsel + (package + (name "emacs-counsel") + (version "0.13.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://elpa.gnu.org/packages/" + "counsel-" version ".el")) + (sha256 + (base32 "1y3hr3j5bh5mbyh1cqzxx04181qpvj4xyv1gym2gxcjd30nfllli")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-swiper" ,emacs-swiper))) + (home-page "https://github.com/abo-abo/swiper") + (synopsis "Various completion functions using Ivy") + (description + "Just call one of the interactive functions in a file to complete the +corresponding thing using Ivy. + +The following completions are currently available: +@itemize +@item Symbol completion for Elisp, Common Lisp, Python, Clojure, C, C++. +@item Describe functions for Elisp: function, variable, library, command, +@item bindings, theme. +@item Navigation functions: imenu, ace-line, semantic, outline. +@item Git utilities: git-files, git-grep, git-log, git-stash, git-checkout. +@item Grep utilities: grep, ag, pt, recoll, ack, rg. +@item System utilities: process list, rhythmbox, linux-app. +@item Many more. +@end itemize") + (license license:gpl3+))) + (define-public emacs-swiper (package (name "emacs-swiper")