guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: indent with emacs batch mode


From: Alex Kost
Subject: Re: indent with emacs batch mode
Date: Sun, 08 Jan 2017 16:48:06 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Ricardo Wurmus (2017-01-07 22:21 +0100) wrote:

> 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.

Right, Ludo you missunderstood: only the specified package will be
indented.

>> 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?

Sorry, I wouldn't :-)

-- 
Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]