[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Deleting matched lines by marking lines in *occur* buffer
From: |
J. David Boyd |
Subject: |
Re: Deleting matched lines by marking lines in *occur* buffer |
Date: |
Tue, 09 Jul 2013 12:33:02 -0400 |
User-agent: |
Gnus/5.1299999999999999 (Gnus v5.13) Emacs/24.3 (cygwin) |
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.