unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "David Vanderschel" <DJV4@Austin.RR.com>
Subject: Re: Hiding lines based on a regexp
Date: Tue, 31 May 2005 00:52:12 GMT	[thread overview]
Message-ID: <0zOme.24028$6g3.5117@tornado.texas.rr.com> (raw)
In-Reply-To: uk6lhxk6u.fsf@gmail.com

"Mathias Dahl" <brakjoller.rem0veth1s@gmail.com> wrote in message
news:uk6lhxk6u.fsf@gmail.com...
> "David Vanderschel" <DJV4@Austin.RR.com> writes:

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

> Have you looked on EmacsWiki?

> http://www.emacswiki.org/cgi-bin/wiki/HideLines

Ahhh!  That would have satisfied me.  Too bad I was
not sufficiently patient to wait for Mathias's
response to my query.  (I had really thought that this
was an easy one, and that I would quickly be pointed
in the right direction.  When that did not happen, I
assumed that no one had already implemented the
capability.)  Overlays are probably a better way to
implement it.  However, for my own purposes, the extra
feedback from my own implementation (which I posted
elsewhere in this thread) about how many lines are
affected by commands makes it more useful to me.

Up to now, I had not been regarding EmacsWiki as a
resource for this sort of quest.  I will consult it in
future.  Thanks for the pointer.

Regards,
  David V.

  reply	other threads:[~2005-05-31  0:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='0zOme.24028$6g3.5117@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.
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).