[Top][All Lists]
[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
- Re: Code formatter, (continued)
- Re: Code formatter, Trevor Daniels, 2009/11/13
- Re: Code formatter, Graham Percival, 2009/11/13
- Re: Code formatter, Bertalan Fodor (LilyPondTool), 2009/11/13
- Re: Code formatter, Chris Snyder, 2009/11/13
- Re: Code formatter, Graham Percival, 2009/11/13
- Re: Code formatter, Jan Nieuwenhuizen, 2009/11/15
- Re: Code formatter, Carl Sorensen, 2009/11/13
- Re: Code formatter, Werner LEMBERG, 2009/11/13
- Re: Code formatter, Graham Percival, 2009/11/13
- Re: Code formatter, Nicolas Sceaux, 2009/11/13
- Re: Code formatter,
Graham Percival <=
- Re: Code formatter, Neil Puttock, 2009/11/13
- Re: Code formatter, Graham Percival, 2009/11/13
- Re: Code formatter, Neil Puttock, 2009/11/13
- Re: Code formatter, Carl Sorensen, 2009/11/13
- Re: Code formatter, Carl Sorensen, 2009/11/13
- Re: Code formatter, Graham Percival, 2009/11/13
- Re: Code formatter, Carl Sorensen, 2009/11/13
- Re: Code formatter, Graham Percival, 2009/11/13
- Re: Code formatter, Neil Puttock, 2009/11/13
- Re: Code formatter, Neil Puttock, 2009/11/13