Hello All,
while investigating my build-problems with r21-2b4 I started playing
and found it not to support relational expressions.
So I implementad that and it seems to work fine.
However, the handling of numbers is rather peculiar.
I would like to hear some feedback from authors or experienced users
of hide-ifdef-mode, whether this works as it should, or what
improvements would be welcomed.
Where would I send my patches? Maintainer says FSF. Is there no
owner for this in XEmacs?
For each number occuring in an
#if
expression an interned symbol is created and looked up in the assoc
list hide-ifdef-env to decide whether to hide that block.
So,
#if 0
/* Testing decimal number */
#endif
#if 1
/* Testing decimal number */
#endif
will be displayed as follows after M-x hide-ifdefs
#if 0 ...
#endif
#if 1 ...
#endif
because the
(intern "0")
and
(intern "1")
are not found in hide-ifdef-env
To display the #if 0 bit, one would
M-x hide-ifdef-define RET 0 RET
Hmmh, I'll have to think about this some more.
Regards,
Adrian
--
Adrian Aichner
European Design Center
Teradyne GmbH
Semiconductor Test Group Telephone +49/89/41861(0)-208
Dingolfinger Strasse 2 Fax +49/89/41861-217 (What is a Fax?)
D-81673 MUENCHEN E-mail adrian.aichner(a)teradyne.com
Show replies by date