From: kai.grossjohann@gmx.net (Kai Großjohann)
Subject: Re: newbie help with emacs C style
Date: Thu, 01 May 2003 14:04:28 +0200 [thread overview]
Message-ID: <84llxq6fg3.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: <pan.2003.05.01.00.50.42.663738@hotmail.com> (Bret Comstock Waldow's message of "Thu, 01 May 2003 00:51:03 GMT")
"Bret Comstock Waldow" <bcw1000@hotmail.com> writes:
> I would like to format my C (and C++ and Java) code like this:
Have you read the CC mode info file, yet? It contains information on
configuring indentation.
The first thing to do is to select a style which does this. When you
look for a style, don't look for the indentation offset too much. So
if you find something that looks like what you want, except that
lines are indented 2 spaces instead of 8, choose that style, then
configure c-basic-offset to 8.
--
file-error; Data: (Opening input file no such file or directory ~/.signature)
prev parent reply other threads:[~2003-05-01 12:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-01 0:51 newbie help with emacs C style Bret Comstock Waldow
2003-05-01 8:22 ` John McCabe
2003-05-01 13:31 ` Bret Comstock Waldow
2003-05-01 12:04 ` Kai Großjohann [this message]
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=84llxq6fg3.fsf@lucy.is.informatik.uni-duisburg.de \
--to=kai.grossjohann@gmx.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).