From c5c08f1b1ea1a2adde4f746209cdea0e8696c4e3 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 31 May 2016 13:33:14 -0400 Subject: [PATCH] gnu: Add emacs-smex. * gnu/packages/emacs.scm (emacs-smex): New variable. --- gnu/packages/emacs.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index b7c0a1f5fd..71f2f8b531 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -10,6 +10,7 @@ ;;; Copyright © 2015, 2016 Christopher Allan Webber ;;; Copyright © 2016 humanitiesNerd ;;; Copyright © 2016 Efraim Flashner +;;; Copyright © 2016 David Thompson ;;; ;;; This file is part of GNU Guix. ;;; @@ -1795,3 +1796,24 @@ work on lists, strings and vectors.") Emacs default configuration in uncontroversial ways that nearly everyone can agree upon.") (license license:gpl3+))) + +(define-public emacs-smex + (package + (name "emacs-smex") + (version "3.0") + (source (origin + (method url-fetch) + (uri (string-append "https://raw.githubusercontent.com" + "/nonsequitur/smex/" version "/smex.el")) + (file-name (string-append "smex-" version ".el")) + (sha256 + (base32 + "0ar310zx9k5y4i1vl2rawvi712xj9gx77160860jbs691p77cxqp")))) + (build-system emacs-build-system) + (home-page "http://github.com/nonsequitur/smex/") + (synopsis "M-x interface with Ido-style fuzzy matching") + (description + "Smex is a M-x enhancement for Emacs. Built on top of Ido, it provides a +convenient interface to your recently and most frequently used commands. And +to all the other commands, too.") + (license license:gpl3+)))