Subject: bug#71103: 29.3; hide-ifdef

From: Eli Zaretskii <[email-masked]>
Date: Wed, 22 May 2024 15:13:00 +0300

> Date: Tue, 21 May 2024 17:16:46 -0500
> From: Devon Sean McCullough <[email-masked]>
> 
> $ Open -n -a /Applications/Emacs.app --args -Q --eval '(find-file 
> "/tmp/c.c")' --eval '(insert "int one;\n#ifdef X\nint two;\n#else\nint 
> three;\n#endif\nint four;\n")' --eval '(set-buffer-modified-p nil)' -f 
> hide-ifdef-mode
> 
> Buffer c.c displays
> 
> int one;
> #ifdef X
> int two;
> #else
> int three;
> #endif
> int four;
> 
> but one of those lines should be invisible.

Should it?  Since hide-ifdef-initially is nil by default, the initial
display hides nothing.  If you type "M-x hide-ifdefs", it will hide
some of the #ifdefs.

I see no bug here.