unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Hiding lines based on a regexp
@ 2005-05-27 22:10 David Vanderschel
  2005-05-27 23:02 ` Pascal Bourguignon
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: David Vanderschel @ 2005-05-27 22:10 UTC (permalink / raw)


Could someone please point me to a mechanism that
would allow me to temporarily hide from display
certain lines in a file based on a matching regular
expression?  There is somewhat similar functionality
with hide-ifdef-mode.  However, I want something less
clever and more general.

What I have in mind is to suppress lines I have
inserted into a program for debugging purpose, but
which lines can make examining the code more
difficult.  For example, when coding in java, there
are times when I would like to hide lines that match
"assert" or "system.out.println".

Though I usually manage to squeeze my debugging
statements onto a single line, it would be even better
if the mechanism could recognize that a matching
language statement was spread over multiple lines.

Thanks,
  David V.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-05-31  8:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-27 22:10 Hiding lines based on a regexp David Vanderschel
2005-05-27 23:02 ` Pascal Bourguignon
2005-05-28  0:04   ` David Vanderschel
2005-05-28  5:24 ` Travis Spencer
     [not found] ` <mailman.2153.1117258073.25862.help-gnu-emacs@gnu.org>
2005-05-28  9:37   ` Thien-Thi Nguyen
2005-05-30  4:57 ` David Vanderschel
2005-05-30  7:11 ` Mathias Dahl
2005-05-31  0:52   ` David Vanderschel
2005-05-31  8:07     ` Thien-Thi Nguyen

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).