GNU bug report logs - #22378
24.5; hide-ifdef wrongly handles "#if defined X"

Previous Next

Package: emacs;

Reported by: ydirson <at> free.fr

Date: Fri, 15 Jan 2016 16:46:01 UTC

Severity: normal

Found in version 24.5

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: ydirson <at> free.fr
Cc: 22378 <at> debbugs.gnu.org
Subject: bug#22378: 24.5; hide-ifdef wrongly handles "#if defined X"
Date: Fri, 15 Jan 2016 20:30:09 +0200
> Date: Fri, 15 Jan 2016 09:55:01 +0100 (CET)
> From: ydirson <at> free.fr
> 
> With the following text in buffer, with "hide some ifdefs" activated,
> when I define/undef A (and whether B is defined or not) the first block
> properly switches between "yes" and "no", whereas all ther others
> consistently stay at "yes"
> 
> ---->8----
> #ifdef A
> yes
> #else
> no
> #endif
> 
> #if defined A
> yes
> #else
> no
> #endif

I cannot reproduce this.  I tried both Emacs 24.5 and the current
emacs-25 branch, and both show the expected behavior.

Can you provide a step by step recipe, starting with "emacs -Q", to
reproduce the problem?




This bug report was last modified 9 years and 63 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.