From: Ken Goldman <kgold@watson.ibm.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How do I make emacs indent treat #ifdef and #endif as if they were { and }?
Date: Wed, 08 Feb 2012 16:57:56 -0500 [thread overview]
Message-ID: <jgur55$42t$1@dough.gmane.org> (raw)
In-Reply-To: <1AEEB8AA-7A49-4338-B5EC-9234FE5C1CFD@venalicium.dk>
If you care about portability, some older compilers do not permit white
space before the #.
On 2/3/2012 4:49 PM, Jules Colding wrote:
>
> I've tried to figure out how to make emacs indent #ifdef blocks just
> like it would curly brace blocks. With a twist though… I'd prefer if
> I could convince emacs to indent include statement half the amount of
> whitespace that normal code would be indented.
next prev parent reply other threads:[~2012-02-08 21:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-03 21:49 How do I make emacs indent treat #ifdef and #endif as if they were { and }? Jules Colding
2012-02-08 21:57 ` Ken Goldman [this message]
2012-02-08 22:01 ` Jules Colding
[not found] ` <mailman.3503.1328738521.15002.help-gnu-emacs@gnu.org>
[not found] ` <jjh1pi$7kb$4@reader1.panix.com>
[not found] ` <icpqcjye2l.fsf@home.home>
2012-04-04 7:41 ` David Combs
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='jgur55$42t$1@dough.gmane.org' \
--to=kgold@watson.ibm.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.