From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:55283) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIkI3-00046L-Mt for guix-patches@gnu.org; Sun, 29 Mar 2020 22:36:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIkI2-0003vk-F6 for guix-patches@gnu.org; Sun, 29 Mar 2020 22:36:39 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48670) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIkI2-0003vI-8X for guix-patches@gnu.org; Sun, 29 Mar 2020 22:36:38 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jIkI2-0004la-47 for guix-patches@gnu.org; Sun, 29 Mar 2020 22:36:38 -0400 Subject: [bug#40261] [PATCH] gnu: Add emacs-evil-leader. References: <87lfnlihz1.fsf@asu.edu> In-Reply-To: <87lfnlihz1.fsf@asu.edu> Resent-Message-ID: From: John Soo Date: Sat, 28 Mar 2020 16:24:49 -0700 Message-ID: <87y2rk2hby.fsf@asu.edu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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: 40261@debbugs.gnu.org --=-=-= Content-Type: text/plain Hi Guix, I realized my patch was based on previous work. I cherry picked it onto master. Thanks, John --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-emacs-evil-leader.patch Content-Transfer-Encoding: quoted-printable Content-Description: add emacs-evil-leader >>From 194b5600cc27534b3cc3babfc20018392111c818 Mon Sep 17 00:00:00 2001 From: John Soo Date: Thu, 19 Mar 2020 09:42:01 -0700 Subject: [PATCH] gnu: Add emacs-evil-leader. * gnu/packages/emacs-xyz.scm (emacs-evil-leader): New variable. --- gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 9d40b8019e..8f4e3f11ce 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -65,6 +65,7 @@ ;;; Copyright =C2=A9 2020 Michael Rohleder ;;; Copyright =C2=A9 2020 Brice Waegeneire ;;; Copyright =C2=A9 2020 6033fe7de85d <6033fe7de85d@airmail.cc> +;;; Copyright =C2=A9 2020 John Soo ;;; ;;; This file is part of GNU Guix. ;;; @@ -21776,3 +21777,30 @@ enables modal editing and composition of commands,= too. It combines ideas of other Editors like Vim or Kakoune and tries to align them with regular Ema= cs conventions.") (license license:gpl3+))) + +(define-public emacs-evil-leader + (package + (name "emacs-evil-leader") + (version "0.4.3") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/cofi/evil-leader") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1k2zinchs0jjllp8zkpggckyy63dkyi5yig3p46vh4w45jdzysk5")))) + (inputs + `(("emacs-evil" ,emacs-evil))) + (build-system emacs-build-system) + (home-page "https://github.com/cofi/evil-leader") + (synopsis "Provides the leader feature from Vim") + (description + "Evil Leader provides the @code{} feature from Vim that provi= des +an easy way to bind keys under a variable prefix key. For an experienced +Emacs User it is nothing more than a convoluted key map, but for a Evil us= er +coming from Vim it means an easier start.") + (license license:gpl3+))) --=20 2.26.0 --=-=-=--