lilypond-devel
[Top][All Lists]
Advanced

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

Re: Code formatter


From: Graham Percival
Subject: Re: Code formatter
Date: Fri, 13 Nov 2009 19:39:16 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

On Fri, Nov 13, 2009 at 08:18:04PM +0100, Nicolas Sceaux wrote:
> Le 13 nov. 2009 à 20:01, Werner LEMBERG a écrit :
> 
> > Then, for goodness' sake, why not write a small elisp program to use
> > Emacs in batch mode on the command line (yes, this is possible) to
> > format one or more files?  Emacs runs on Windows too, and nobody would
> > be forced to actually *use* it as an editor...
> 
> A quick google search gives:
> 
> emacs -batch sample.cc --eval '(indent-region (point-min) (point-max) nil)' 
> -f save-buffer
> 
> But there are plenty of examples.

If you could choose one such example, and add it somewhere to the
CG similar to this:
http://lilypond.org/doc/v2.13/Documentation/contributor/Sectioning-commands
(bottom of the page)

that would be awesome.

Cheers,
- Graham




reply via email to

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