help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Deleting matched lines by marking lines in *occur* buffer


From: Sivaram Neelakantan
Subject: Deleting matched lines by marking lines in *occur* buffer
Date: Tue, 09 Jul 2013 19:55:22 +0530
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (windows-nt)

Hi,

When I run M-x occur and get the following output

--8<---------------cut here---------------start------------->8---
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
--8<---------------cut here---------------end--------------->8---

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]