1. load a C file with an ifdef block 2. turn on hide-ifdef-mode 3. hide-ifdef-block and show-ifdef-block work fine 4. set hide-ifdef-lines to t 5. hide-ifdef-block works, but show-ifdef-block only brings back one line of this block each time it is called
In GNU Emacs 22.0.50.12 (sparc-sun-solaris2.8, Motif Version 2.1.0) of 2006-05-12 on sfsws4 X server distributor `Sun Microsystems, Inc.', version 11.0.6410 configured using `configure '--with-gcc' '--prefix=/vol/freeware/SunOS-5.8/emacs/cvs' '--sharedstatedir=/vol/freeware/SunOS-5.8/emacs/cvs/share' '--with-x-toolkit=motif' '--x-includes=/usr/openwin/include:/usr/local/gnu/include:/opt/exp/gnu/include:/opt/exp/include:/opt/exp/lib/xpm/include' '--x-libraries=/usr/openwin/lib:/usr/local/gnu/lib:/opt/exp/gnu/lib:/opt/exp/lib:/opt/exp/lib/xpm/lib' '--with-pop' 'CC=gcc'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: C locale-coding-system: nil default-enable-multibyte-characters: t Major mode: C/l Minor modes in effect: hide-ifdef-mode: t tooltip-mode: t auto-compression-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t line-number-mode: t abbrev-mode: t Recent input: . c <return> <escape> x h i d e i f SPC <backspace> <backspace> SPC i SPC SPC <return> <down-mouse-1> <mouse-movement> <mouse-1> <escape> x <help-echo> <down-mouse-2> <mouse-2> <return> <help-echo> <escape> x <up> <right> <right> <right> <right> <right> <left> <backspace> <backspace> <backspace> <backspace> s h o w <return> M-: <help-echo> <down-mouse-2> <mouse-2> <help-echo> <left> <left> <left> <right> <backspace> <backspace> <backspace> <help-echo> <backspace> <backspace> <right> <right> <return> <escape> x <up> <up> <return> <escape> x <up> <up> <return> <escape> x <up> <return> <escape> x <up> <return> <right> <right> <left> <escape> x <up> <return> <up> <down> <left> <left> <help-echo> <help-echo> <help-echo> <menu-bar> <help-menu> <report-emacs-bug> Recent messages: (/usr/local/gnu/cvs/head/bin/emacs -Q) For information about the GNU Project and its goals, type C-h C-p. Loading cc-mode...done Loading hideif...done Hide-Ifdef mode enabled t Loading emacsbug...done _______________________________________________ emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
