unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Barry Margolin <barry.margolin@level3.com>
Subject: Re: inverse of occur-mode
Date: Wed, 15 Oct 2003 18:13:35 GMT	[thread overview]
Message-ID: <j7gjb.48$lK3.34@news.level3.com> (raw)
In-Reply-To: Xns94156C305923AData64Bigfootcom@130.133.1.4

In article <Xns94156C305923AData64Bigfootcom@130.133.1.4>,
data64  <me@privacy.net> wrote:
>Occur lets you view the lines that match a particular string or regexp.
>Is there a way to view lines that do NOT match a string or regexp (similar 
>to -v in grep) ?

Copy the buffer to another buffer, then use M-x flush-lines (aka
delete-matching-lines) to remove the lines that match the regexp.

-- 
Barry Margolin, barry.margolin@level3.com
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.

  reply	other threads:[~2003-10-15 18:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-15 14:40 inverse of occur-mode data64
2003-10-15 18:13 ` Barry Margolin [this message]
2003-10-16 17:16   ` data64

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='j7gjb.48$lK3.34@news.level3.com' \
    --to=barry.margolin@level3.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).