John Mandereau <john.mander...@gmail.com> writes:

> Il giorno dom, 19/08/2012 alle 16.02 +0000, gra...@percival-music.ca ha
> scritto:
>> Could you add a script (either shell or python) which applies this
>> formatting to all scheme files in the repository?  I'd like to see how
>> that changes the scheme files.
>
> You can try running (after having applied David's patch)
>
> emacs -batch scm/*.scm --eval '(progn (delete-trailing-whitespace)
> (indent-region (point-min) (point-max) nil) (save-buffer))'
>
> On my system this has only changed x11-color.scm.
>
> Note that this doesn't remove tabs (although I installed David's patch
> that adds .dir-locals.el),

indent-tabs-mode does not affect existing indentation.  And I don't
think it should.

-- 
David Kastrup


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to