emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CC Mode and GCC/CEDET integration for evaluating macros


From: Oleh Krehel
Subject: Re: CC Mode and GCC/CEDET integration for evaluating macros
Date: Sat, 02 May 2015 14:00:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

martin rudalics <address@hidden> writes:

>> There is hide-ifdef-mode in Emacs which does something similar - It makes
>> the "non-active" bits of #ifdef branches invisible rather than changing
>> their appearance.  Doubtless it would be easy enough to add the "greying
>> out" facility as an option.
>
> See `hide-ifdef-shadow'.

Thanks, it looks perfect. But it fails for this simple case (zero
includes, just from the top):

    #define IN  1
    #ifdef IN
    double foo;
    #endif

Here, "double foo;" gets the shadow. I called `hide-ifdefs'.

Oleh



reply via email to

[Prev in Thread] Current Thread [Next in Thread]