guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] gnu: Add emacs-aggresive-indent-mode.


From: Vasile Dumitrascu
Subject: [PATCH] gnu: Add emacs-aggresive-indent-mode.
Date: Thu, 23 Mar 2017 02:11:00 +0000

* gnu/packages/emacs.scm (emacs-aggresive-indent-mode): New variable.
---
 gnu/packages/emacs.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 547c44033..301552839 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1066,6 +1066,31 @@ like.  It can be linked with various Emacs mail
clients (Message and Mail
 mode, Rmail, Gnus, MH-E, and VM).  BBDB is fully customizable.")
     (license license:gpl3+)))

+(package
+  (name "emacs-aggresive-indent-mode")
+  (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 "Minor mode to aggressively keep your code always indented")
+  (description
+   "`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.
+
+`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 gpl2+))
+
 (define-public emacs-async
   (package
     (name "emacs-async")
-- 
2.11.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]