all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: ydirson@free.fr
Cc: 22378@debbugs.gnu.org
Subject: bug#22378: 24.5; hide-ifdef wrongly handles "#if defined X"
Date: Fri, 15 Jan 2016 20:30:09 +0200	[thread overview]
Message-ID: <83d1t2g0ge.fsf@gnu.org> (raw)
In-Reply-To: <16318758.41793193.1452848101210.JavaMail.root@zimbra39-e7.priv.proxad.net> (ydirson@free.fr)

> Date: Fri, 15 Jan 2016 09:55:01 +0100 (CET)
> From: ydirson@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?





  reply	other threads:[~2016-01-15 18:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2005394.41790131.1452848039357.JavaMail.root@zimbra39-e7.priv.proxad.net>
2016-01-15  8:55 ` bug#22378: 24.5; hide-ifdef wrongly handles "#if defined X" ydirson
2016-01-15 18:30   ` Eli Zaretskii [this message]
2016-01-15 21:56     ` ydirson
2016-01-16  6:59       ` Eli Zaretskii
     [not found]   ` <1510532977.20645294.1457972111266.JavaMail.root@zimbra39-e7.priv.proxad.net>
2016-03-14 23:12     ` ydirson
2016-03-15  3:38       ` Eli Zaretskii
2016-03-26 23:56         ` John Wiegley
2016-03-27  2:38           ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83d1t2g0ge.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=22378@debbugs.gnu.org \
    --cc=ydirson@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.