* 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
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.