From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7lz4-0003sn-DT for guix-patches@gnu.org; Mon, 08 May 2017 12:58:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7lz0-0000kb-Gt for guix-patches@gnu.org; Mon, 08 May 2017 12:58:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36442) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7lz0-0000kX-5v for guix-patches@gnu.org; Mon, 08 May 2017 12:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d7lyz-0004sS-QT for guix-patches@gnu.org; Mon, 08 May 2017 12:58:01 -0400 Subject: bug#26812: [PATCH] gnu: Add emacs-evil-commentary. Resent-Message-ID: Message-Id: <002806e3.AEAAJ9vX7jcAAAAAAAAAAAO8aOkAAAACwQwAAAAAAAW9WABZEKOC@mailjet.com> MIME-Version: 1.0 From: Arun Isaac Date: Mon, 08 May 2017 22:26:59 +0530 In-reply-to: <87fugfydf5.fsf@fastmail.com> References: <0cebdc3c.ADsAAHfKZw0AAAAAAAAAAAOtUOAAAAACwQwAAAAAAAW9WABZDu4P@mailjet.com> <87fugfydf5.fsf@fastmail.com> 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: 26812@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > Nit-pick of course, but I've come to really appreciate descriptions that > don't require me to visit the home page, dig around for READMEs or even > read the source code.. :P I'm fine with nitpicking. It's important to maintain quality. :-) Please find attached an updated patch. Let me know if it's fine. = --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-emacs-evil-commentary.patch >From bc9172d11dd11b4e9df888e5ffb0d928ecc292cf Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sun, 7 May 2017 15:18:02 +0530 Subject: [PATCH] gnu: Add emacs-evil-commentary. * gnu/packages/emacs.scm (emacs-evil-commentary): New variable. --- gnu/packages/emacs.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 47fe0cc84..368e8cab5 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -4622,3 +4622,27 @@ pressed simultaneously or a single key quickly pressed twice.") (description "@code{emacs-evil-surround} allows easy deletion, change and addition of surrounding pairs, such as parantheses and quotes, in evil mode.") (license license:gpl3+))) + +(define-public emacs-evil-commentary + (package + (name "emacs-evil-commentary") + (version "2.1.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/linktohack/evil-commentary/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jdya0i921nwskwrzdsj0vrr3m7gm49dy6f6pk9p5nxaarfxk230")))) + (build-system emacs-build-system) + (propagated-inputs + `(("emacs-evil" ,emacs-evil))) + (home-page "https://github.com/linktohack/evil-commentary") + (synopsis "Comment out code in evil mode") + (description "@code{emacs-evil-commentary} adds keybindings to easily +comment out lines of code in evil mode. It provides @code{gcc} to comment out +lines, and @code{gc} to comment out the target of a motion.") + (license license:gpl3+))) -- 2.12.2 --=-=-=--