nbecker(a)fred.net writes:
Since adding support for debugging to my latest c++ code, it's
become
ugly with #ifdefs. Wouldn't it be cool to be able to fold them away?
Since C-mode already knows how to parse the ifdefs and find the
matching endif (the hard part), it may be possible to add such a
feature. I imagine being able to set local file variables to make all
that crap disappear, for example.
Hmm, there's a hideif.el that's part of the c-support package. It
says:
;;; hide-ifdef-mode.el --- hides selected code within ifdef.
Perhaps that does what you want?
Robert
--