* How to hide "if DEBUG" code?
@ 2004-05-04 15:45 J Krugman
2004-05-04 16:12 ` Stefan Monnier
0 siblings, 1 reply; 2+ messages in thread
From: J Krugman @ 2004-05-04 15:45 UTC (permalink / raw)
Production code often gets overwhelmed with fragments whose sole
function is to aid development (usually debugging) and has otherwise
nothing to do with the program's logic. This makes it very difficult
to read the code, which in turn breeds its own problems (e.g. code
that is hard to read is also harder to debug, ironically enough).
Is there a simple way to instruct Emacs to hide such code?
Thanks!
jill
--
To s&e^n]d me m~a}i]l r%e*m?o\v[e bit from my a|d)d:r{e:s]s.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to hide "if DEBUG" code?
2004-05-04 15:45 How to hide "if DEBUG" code? J Krugman
@ 2004-05-04 16:12 ` Stefan Monnier
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2004-05-04 16:12 UTC (permalink / raw)
> Production code often gets overwhelmed with fragments whose sole
> function is to aid development (usually debugging) and has otherwise
> nothing to do with the program's logic. This makes it very difficult
> to read the code, which in turn breeds its own problems (e.g. code
> that is hard to read is also harder to debug, ironically enough).
> Is there a simple way to instruct Emacs to hide such code?
C-h f hide-ifdef-mode RET
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-05-04 16:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-04 15:45 How to hide "if DEBUG" code? J Krugman
2004-05-04 16:12 ` Stefan Monnier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).