unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#27758] [PATCH] gnu: Add emacs-aggressive-indent-mode.
@ 2017-07-18 17:29 Oleg Pykhalov
  2017-07-19  5:49 ` [bug#27758] Switch to elpa Oleg Pykhalov
  0 siblings, 1 reply; 5+ messages in thread
From: Oleg Pykhalov @ 2017-07-18 17:29 UTC (permalink / raw)
  To: 27758

* gnu/packages/build-tools.scm (emacs-aggressive-indent-mode): New variable.
---
 gnu/packages/emacs.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 43de13057..b5b5315fb 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -5200,3 +5200,30 @@ src block.")
      "@code{emacs-emamux} lets Emacs interact with the @code{tmux} terminal
 multiplexer.")
     (license license:gpl3+)))
+
+(define-public emacs-aggressive-indent-mode
+  (package
+    (name "emacs-aggressive-indent-mode")
+    (version "1.8.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/Malabarba/aggressive-indent-mode"
+                    "/archive/" version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "093qn49bi39050clqdj6rjw0h9dh93qsajb029axcbah7m1c9aws"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/Malabarba/aggressive-indent-mode")
+    (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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-07-19  9:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-18 17:29 [bug#27758] [PATCH] gnu: Add emacs-aggressive-indent-mode Oleg Pykhalov
2017-07-19  5:49 ` [bug#27758] Switch to elpa Oleg Pykhalov
2017-07-19  6:32   ` Jan Nieuwenhuizen
2017-07-19  7:56     ` Oleg Pykhalov
2017-07-19  8:59       ` bug#27758: " Jan Nieuwenhuizen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).