From: Aidan Kehoe <kehoea@parhasard.net>
Subject: Re: How to set Emacs indentation style in batch mode
Date: Tue, 26 Oct 2004 10:26:30 +0100 [thread overview]
Message-ID: <lvsm816da1.fsf@ns5.nestdesign.com> (raw)
In-Reply-To: 27dcd52b.0410251728.272540da@posting.google.com
Ar an cúigiú lá is fiche de mí Deireadh Fómhair, scríobh Bob Whitaker:
> I have been successful by using XEmacs in batch mode but the only problem
> is that it defaults to "gnu" indentation style, whereas I would like
> "stroustrup" indentation style. Does anyone know how to do this?
Yes. Try '(c-set-style "stroustrup")' instead of '(setq-default
c-default-style "stroustrup")'; the former modifies the environment for the
current file, the latter changes a global default, which isn't much use to
you because it doesn't apply to the current file. (The current C indentation
style has already been initialised.)
--
Like the early Christians, Marx expected the millennium very soon; like
their successors, his have been disappointed--once more, the world has shown
itself recalcitrant to a tidy formula embodying the hopes of some section of
mankind. (Russell)
next prev parent reply other threads:[~2004-10-26 9:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-26 1:28 How to set Emacs indentation style in batch mode Bob Whitaker
2004-10-26 9:26 ` Aidan Kehoe [this message]
2004-10-26 14:41 ` Bob Whitaker
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=lvsm816da1.fsf@ns5.nestdesign.com \
--to=kehoea@parhasard.net \
/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).