* cc-mode and hide-ifdef issue
[not found] <20210527024531.ismvqhcwbidlfjyz.ref@Ergus>
@ 2021-05-27 2:45 ` Ergus
0 siblings, 0 replies; only message in thread
From: Ergus @ 2021-05-27 2:45 UTC (permalink / raw)
To: pauline-galea; +Cc: Help Gnu Emacs
Hi:
I am trying to use hide-ifdef to shadow code like:
#if 0
<code>
#endif
But I found that either
#if 0
or
#if 1
produces the same result disabling the code inside.
Some slightly more complex examples like:
#define var 1
#ifdef var
doesn't work either (of course).
And when I try hif-evaluate-macro it says things like:
false <= ‘#if 1’
or
1 is not defined...
Do we have anything smarter in emacs to shows #if 0 codes? O is there
any extra customization or is there an issue in the package? any idea?
Also when I remove the #if macros from around the code the shadow face
persists.
Any help?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-27 2:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20210527024531.ismvqhcwbidlfjyz.ref@Ergus>
2021-05-27 2:45 ` cc-mode and hide-ifdef issue Ergus
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.