[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#27758] Switch to elpa.
From: |
Oleg Pykhalov |
Subject: |
[bug#27758] Switch to elpa. |
Date: |
Wed, 19 Jul 2017 08:49:55 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
I found this package on elpa. May be it's better to switch origin?
>From 715f793675a2b7d0cf2ec5eeb5c31172ab060f3a Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <address@hidden>
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.
+
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