unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* hightlight if/ifdef blocks
@ 2006-10-31  8:24 Martin
  2006-10-31 12:37 ` Fang lun gang
  0 siblings, 1 reply; 7+ messages in thread
From: Martin @ 2006-10-31  8:24 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-11-05 11:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-31  8:24 hightlight if/ifdef blocks Martin
2006-10-31 12:37 ` 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

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).