From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXht3-0005qd-Uv for guix-patches@gnu.org; Wed, 19 Jul 2017 01:51:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXht0-0006AP-U6 for guix-patches@gnu.org; Wed, 19 Jul 2017 01:51:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:44422) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dXht0-00069s-O6 for guix-patches@gnu.org; Wed, 19 Jul 2017 01:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dXht0-00043R-Dz for guix-patches@gnu.org; Wed, 19 Jul 2017 01:51:02 -0400 Subject: [bug#27758] Switch to elpa. References: <20170718172918.6888-1-go.wigust@gmail.com> Resent-Message-ID: From: Oleg Pykhalov Date: Wed, 19 Jul 2017 08:49:55 +0300 In-Reply-To: bug's message of "Wed\, 19 Jul 2017 05\:46\:03 +0000" Message-ID: <87fudtc6ws.fsf@magnolia.i-did-not-set--mail-host-address--so-tickle-me> 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: bug#27758 <27758@debbugs.gnu.org> --=-=-= Content-Type: text/plain I found this package on elpa. May be it's better to switch origin? --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-Add-emacs-aggressive-indent.patch Content-Description: Switch to elpa and rename variable >From 715f793675a2b7d0cf2ec5eeb5c31172ab060f3a Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Tue, 18 Jul 2017 20:28:17 +0300 Subject: [PATCH] gnu: Add emacs-aggressive-indent. * gnu/packages/emacs.scm (emacs-aggressive-indent): New variable. --- gnu/packages/emacs.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 43de13057..68c0122b1 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -5200,3 +5200,29 @@ src block.") "@code{emacs-emamux} lets Emacs interact with the @code{tmux} terminal multiplexer.") (license license:gpl3+))) + +(define-public emacs-aggressive-indent + (package + (name "emacs-aggressive-indent") + (version "1.8.3") + (source (origin + (method url-fetch) + (uri (string-append + "https://elpa.gnu.org/packages/aggressive-indent-" + version ".el")) + (sha256 + (base32 + "0jnzccl50x0wapprgwxinp99pwwa6j43q6msn4gv437j7swy8wnj")))) + (build-system emacs-build-system) + (home-page "https://elpa.gnu.org/packages/aggressive-indent.html") + (synopsis "Emacs minor mode that keeps your code always indented") + (description + "@code{electric-indent-mode} is enough to keep your code nicely aligned +when all you do is type. However, once you start shifting blocks around, +transposing lines, or slurping and barfing sexps, indentation is bound to go +wrong. + +@code{aggressive-indent-mode} is a minor mode that keeps your code always +indented. It reindents after every change, making it more reliable than +electric-indent-mode.") + (license license:gpl3+))) -- 2.13.2 --=-=-=--