[Top][All Lists]

[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 (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
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]