[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#27758] [PATCH] gnu: Add emacs-aggressive-indent-mode.
From: |
Oleg Pykhalov |
Subject: |
[bug#27758] [PATCH] gnu: Add emacs-aggressive-indent-mode. |
Date: |
Tue, 18 Jul 2017 20:29:18 +0300 |
* 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.
+
address@hidden 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
- [bug#27758] [PATCH] gnu: Add emacs-aggressive-indent-mode.,
Oleg Pykhalov <=