|
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 -fsave-bufferbut 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
[Prev in Thread] | Current Thread | [Next in Thread] |