all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "David Vanderschel" <DJV4@Austin.RR.com>
Subject: Hiding lines based on a regexp
Date: Fri, 27 May 2005 22:10:48 GMT	[thread overview]
Message-ID: <IVMle.6528$j51.1551@tornado.texas.rr.com> (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.

             reply	other threads:[~2005-05-27 22:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-27 22:10 David Vanderschel [this message]
2005-05-27 23:02 ` Hiding lines based on a regexp 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='IVMle.6528$j51.1551@tornado.texas.rr.com' \
    --to=djv4@austin.rr.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.