all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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.