[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: indent with emacs batch mode
From: |
Ricardo Wurmus |
Subject: |
Re: indent with emacs batch mode |
Date: |
Sat, 07 Jan 2017 22:21:31 +0100 |
User-agent: |
mu4e 0.9.18; emacs 25.1.1 |
Ludovic Courtès <address@hidden> writes:
> Alex Kost <address@hidden> 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