unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Martin" <m.gercke@gmail.com>
Subject: hightlight if/ifdef blocks
Date: 31 Oct 2006 00:24:22 -0800	[thread overview]
Message-ID: <1162283062.420423.84720@b28g2000cwb.googlegroups.com> (raw)

Hi,

after reading some rules about not nesting c comments and using #if 0
instead I tried it out in emacs.
But as it is at the moment, the blocks are not shown as if I would have
commented them out.
Is there an easy way of doing this?
The blocks should look  the same way as the comments usually look when
I add a //.
so

// not_used_at_the_moment();

should have the same color as
#if 0
not_used_at_the_moment();
#endif

I tried different things where people suggested that I make these
blocks invisible.
But since that's not what I want ...
Any suggestions?

Thanks in advance

Martin

             reply	other threads:[~2006-10-31  8:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-31  8:24 Martin [this message]
2006-10-31 12:37 ` hightlight if/ifdef blocks Fang lun gang
2006-11-01  1:31   ` Michaël Cadilhac
     [not found]   ` <mailman.3.1162344693.2155.help-gnu-emacs@gnu.org>
2006-11-01 15:05     ` Fang lun gang
2006-11-02  8:22       ` Martin
2006-11-03 12:20         ` Fang lun gang
2006-11-05 11:01           ` Martin

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=1162283062.420423.84720@b28g2000cwb.googlegroups.com \
    --to=m.gercke@gmail.com \
    /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).