From: Marius Bakke <mbakke@fastmail.com>
To: Vasile Dumitrascu <va511e@yahoo.com>, guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add emacs-aggresive-indent-mode.
Date: Thu, 23 Mar 2017 19:13:07 +0100 [thread overview]
Message-ID: <871stn6evg.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <39ee52d0-582a-77a3-39c0-b59b53b6048b@yahoo.com>
[-- Attachment #1: Type: text/plain, Size: 2230 bytes --]
Vasile Dumitrascu <va511e@yahoo.com> writes:
> * gnu/packages/emacs.scm (emacs-aggresive-indent-mode): New variable.
Thanks!
> ---
> 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
Hmm. This should be enclosed in a 'define-public' block.
> + (name "emacs-aggresive-indent-mode")
^^^
There should be an extra 's' here. Also '-mode' can be dropped.
> + (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'.")
The quotes in the description should be replaced with @code{} blocks.
Running `./pre-inst-env guix lint emacs-aggressive-indent` should warn
about this. I also think that the second paragraph is sufficient.
Can you send an updated patch? Please also add a copyright line for
yourself at the top of the file.
TIA!
> + (license gpl2+))
> +
> (define-public emacs-async
> (package
> (name "emacs-async")
> --
> 2.11.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2017-03-23 18:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-23 2:11 [PATCH] gnu: Add emacs-aggresive-indent-mode Vasile Dumitrascu
2017-03-23 18:13 ` Marius Bakke [this message]
2017-03-24 2:56 ` Vasile Dumitrascu
2017-03-24 13:22 ` Ricardo Wurmus
2017-03-24 14:43 ` Vasile Dumitrascu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871stn6evg.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me \
--to=mbakke@fastmail.com \
--cc=guix-devel@gnu.org \
--cc=va511e@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.