all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>, Alex Kost <alezost@gmail.com>
Subject: Re: indent with emacs batch mode
Date: Sat, 07 Jan 2017 22:21:31 +0100	[thread overview]
Message-ID: <87lgumd0ro.fsf@elephly.net> (raw)
In-Reply-To: <87pojyzi24.fsf@gnu.org>


Ludovic Courtès <ludo@gnu.org> writes:

> Alex Kost <alezost@gmail.com> skribis:
>
>> Since a user knows what file (s)he wants modify, I think it is better to
>> avoid starting the REPL, so it will be *much faster*.  After all, I
>> would do it like this:
>
> Sounds cool!  (The only downside is that it would indent the whole file
> so the submitter might have to undo indentation changes in other parts
> of the file before committing.)

But we’re using “indent-sexp”, which only indents the expression that
belongs to the matched package name.

> What about committing it as a script, say
> etc/devel/indent-scheme-code.sh, and mention it under “Submitting
> Patches” and “Formatting Code”?

Sounds good to me.  Alex, would you like to do it?

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
http://elephly.net

  reply	other threads:[~2017-01-07 21:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-06 15:29 indent with emacs batch mode Ricardo Wurmus
2017-01-07  5:59 ` Alex Kost
2017-01-07  7:25   ` Ricardo Wurmus
2017-01-08 13:32     ` Alex Kost
2017-01-12 14:01       ` Ludovic Courtès
2017-05-28 16:54         ` Andreas Enge
2017-01-07 21:17   ` Ludovic Courtès
2017-01-07 21:21     ` Ricardo Wurmus [this message]
2017-01-08 13:48       ` Alex Kost

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=87lgumd0ro.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=alezost@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /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.