help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: running emacs in batch mode


From: Kevin Rodgers
Subject: Re: running emacs in batch mode
Date: Tue, 06 Feb 2007 00:31:31 -0700
User-agent: Thunderbird 1.5.0.9 (Macintosh/20061207)

Helfer Thomas wrote:
I want to use emacs to indent a lot of C++ files.
I tried to do this :

$ emacs --batch youpie.cxx -f mark-whole-buffer -f indent-region -f
save-buffer
but didnot work. Can somebody tell me what I shall do ?

Use `C-h f' to see what arguments each function requires.

emacs --batch youpie.cxx --eval '(indent-region (point-min) (point-max))' --funcall save-buffer

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

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