help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: c-mode preprocessor directives editing


From: Stefan Monnier
Subject: Re: c-mode preprocessor directives editing
Date: Mon, 30 May 2005 17:47:50 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> Is there a minor-mode/extension that can do clever things with
> conditional preprocessor expressions like #if ??? or #ifdef ??? in c-mode?
> such as
> - syntax-highlighting/greying-out of "#if 0"-regions - folding/unfolding
> of "#ifdef-#endif"-regions - strip-away "#ifdef-#endif"-regions given the
> definition of associated preprocessor variable-names.

M-x hide-ifdef-mode RET


        Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]