[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hightlight if/ifdef blocks
From: |
Martin |
Subject: |
Re: hightlight if/ifdef blocks |
Date: |
5 Nov 2006 03:01:15 -0800 |
User-agent: |
G2/1.0 |
As far as I understood the hide-ifdef-mode correctly it can either hide
code completely or partially.
As I just want to highlight the code this (in fact) doesn't help me.
Thanks anyway
Martin
Fang lun gang wrote:
> >>>>> "Martin" == Martin <m.gercke@gmail.com> writes:
>
> Martin> might or might not work with the one or the other compiler. To
> Martin> avoid this uncertainty I should use #if 0 which I think makes
> sense
> Martin> and is ok for me. (can't find the post though, sorry ...)
> However,
> Martin> emacs does not show me these blocks as "unused" comments, but as
> Martin> c-code. So, back to my original question ... how to get these
> Martin> blocks to change their color :-)
>
> Thanks at first.
>
> As to your original question, I known there is a hide-ifdef-mode although it
> may not satisfy you.
>
> --
> Fang lun gang