From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWcPF-0002JP-Oa for guix-patches@gnu.org; Wed, 03 Jan 2018 01:20:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWcPC-0006dy-J4 for guix-patches@gnu.org; Wed, 03 Jan 2018 01:20:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:53305) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eWcPC-0006dj-Fz for guix-patches@gnu.org; Wed, 03 Jan 2018 01:20:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eWcPC-0002ws-77 for guix-patches@gnu.org; Wed, 03 Jan 2018 01:20:02 -0500 Subject: [bug#29960] [PATCH] gnu: Add emacs-evil-quickscope. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWcOf-0002Bt-5b for guix-patches@gnu.org; Wed, 03 Jan 2018 01:19:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWcOc-0006Qk-1l for guix-patches@gnu.org; Wed, 03 Jan 2018 01:19:29 -0500 Received: from [2001:19f0:5:274f:4827:c39:448f:6777] (port=60514 helo=vultr.systemreboot.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eWcOb-0006Ok-DM for guix-patches@gnu.org; Wed, 03 Jan 2018 01:19:25 -0500 From: Arun Isaac Date: Wed, 3 Jan 2018 11:48:57 +0530 Message-Id: <20180103061857.31496-1-arunisaac@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 29960@debbugs.gnu.org * gnu/packages/emacs.scm (emacs-evil-quickscope): New variable. --- gnu/packages/emacs.scm | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 538c79a50..ebee6f61b 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -16,7 +16,7 @@ ;;; Copyright © 2016 Alex Griffin ;;; Copyright © 2016, 2017 Nicolas Goaziou ;;; Copyright © 2016, 2017 Alex Vong -;;; Copyright © 2016, 2017 Arun Isaac +;;; Copyright © 2016, 2017, 2018 Arun Isaac ;;; Copyright © 2017 Christopher Baines ;;; Copyright © 2017 Mathieu Othacehe ;;; Copyright © 2017 Clément Lassieur @@ -6599,3 +6599,38 @@ evil mode using @kbd{%}. It is a port of @code{matchit} for Vim.") makes Evil play nice with Smartparens. Evil is an Emacs minor mode that emulates Vim features and provides Vim-like key bindings.") (license license:gpl3+))) + +(define-public emacs-evil-quickscope + (package + (name "emacs-evil-quickscope") + (version "0.1.4") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/blorbx/evil-quickscope/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1r26a412mmar7vbf89zcifswiwpdg30mjzj32xdyqss57aqi83ma")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-evil" ,emacs-evil))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'install 'check + (lambda* (#:key inputs #:allow-other-keys) + (invoke "emacs" "--batch" "-L" + (string-append (assoc-ref inputs "emacs-evil") + "/share/emacs/site-lisp/guix.d/evil-" + ,(package-version emacs-evil)) + "-l" "evil-quickscope-tests.el" + "-f" "ert-run-tests-batch-and-exit")))))) + (home-page "https://github.com/blorbx/evil-quickscope") + (synopsis "Target highlighting for emacs evil-mode f,F,t and T commands") + (description "@code{emacs-evil-quickscope} highlights targets for Evil +mode’s f,F,t,T keys, allowing for quick navigation within a line. It is a +port of quick-scope for Vim. Evil is an Emacs minor mode that emulates Vim +features and provides Vim-like key bindings.") + (license license:gpl3+))) -- 2.15.1