From: Andrew Taylor <ataylor@its.to>
Subject: Re: Indentation in C
Date: Wed, 21 Jan 2004 22:03:08 GMT [thread overview]
Message-ID: <wGCPb.211213$X%5.104450@pd7tw2no> (raw)
In-Reply-To: <d0bf4554.0401211337.6ad86953@posting.google.com>
Varun Sinha wrote:
> I tried looking through the documentation for EMACS to get these, but
> I wasn't able to make sense out of it. Ordinarily, it wouldn't matter
> to me, but the professor for my course has laid down these standards.
> I tried asking him and the TA, but they all use VI and told me either
> to switch (yeah right) or use manual spacing.
Try running c-set-style (C-c .) while in c-mode and try the various
styles (type tab for a list at the prompt). One of them will probably
match your needs.
To make it permanent, run M-x customize-option and type c-default-style
at the prompt.
--
Andrew
next prev parent reply other threads:[~2004-01-21 22:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-21 21:37 Indentation in C Varun Sinha
2004-01-21 21:46 ` Yuri Shtil
2004-01-21 22:03 ` Andrew Taylor [this message]
2004-01-22 11:21 ` Vivek Dasmohapatra
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='wGCPb.211213$X%5.104450@pd7tw2no' \
--to=ataylor@its.to \
/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).