unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: david@adboyd.com (J. David Boyd)
To: help-gnu-emacs@gnu.org
Subject: Re: Deleting matched lines by marking lines in *occur* buffer
Date: Tue, 09 Jul 2013 12:33:02 -0400	[thread overview]
Message-ID: <m9hifvvnk81t.fsf@W0144758.usac.mmm.com> (raw)
In-Reply-To: 87r4f7lsj1.fsf@gmail.com

Sivaram Neelakantan <nsivaram.net@gmail.com> writes:

> Hi,
>
> When I run M-x occur and get the following output
>
> 5 matches for "\.txt" in buffer: indices.conf
>      14:cnx_midcap_baseline.txt
>      16:cnx_nifty_jr_baseline.txt
>      18:sp_cnx_500_baseline.txt
>      20:sp_cnx_defty_baseline.txt
>      22:sp_cnx_nifty_baseline.txt
>
> is there a way to mark the lines in this buffer and expunge the lines
> in the corresponding source buffer?  A dired like support would be
> useful.  I did check the emacswiki and none of the other suggested
> packages seem to have support for this sort of thing.
>
> Any suggestions?  I suppose there's delete-matching-lines but wouldn't
> it also be useful in the occur buffer?
>
>  sivaram
>  -- 


Check out moccurr-edit.el at http://www.emacswiki.org/emacs/moccur-edit.el

I think it does what you are looking for, but I have never tried it.




  parent reply	other threads:[~2013-07-09 16:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-09 14:25 Deleting matched lines by marking lines in *occur* buffer Sivaram Neelakantan
2013-07-09 15:29 ` Thorsten Jolitz
2013-07-09 16:33 ` J. David Boyd [this message]
2013-07-09 16:48 ` Jambunathan K
2013-07-10  2:14   ` Sivaram Neelakantan

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=m9hifvvnk81t.fsf@W0144758.usac.mmm.com \
    --to=david@adboyd.com \
    --cc=help-gnu-emacs@gnu.org \
    /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).