From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: running emacs in batch mode
Date: Tue, 06 Feb 2007 00:31:31 -0700 [thread overview]
Message-ID: <eq9ash$263$1@sea.gmane.org> (raw)
In-Reply-To: <1170534609.5289.3.camel@portableAsus>
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
next prev parent reply other threads:[~2007-02-06 7:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-03 20:30 running emacs in batch mode Helfer Thomas
2007-02-06 7:31 ` Kevin Rodgers [this message]
[not found] <mailman.3966.1170534615.2155.help-gnu-emacs@gnu.org>
2007-02-03 22:16 ` Pascal Bourguignon
2007-02-14 12:55 ` Peter Tury
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='eq9ash$263$1@sea.gmane.org' \
--to=kevin.d.rodgers@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).