From: Sivaram Neelakantan <nsivaram.net@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Deleting matched lines by marking lines in *occur* buffer
Date: Tue, 09 Jul 2013 19:55:22 +0530 [thread overview]
Message-ID: <87r4f7lsj1.fsf@gmail.com> (raw)
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
--
next reply other threads:[~2013-07-09 14:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-09 14:25 Sivaram Neelakantan [this message]
2013-07-09 15:29 ` Deleting matched lines by marking lines in *occur* buffer Thorsten Jolitz
2013-07-09 16:33 ` J. David Boyd
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r4f7lsj1.fsf@gmail.com \
--to=nsivaram.net@gmail.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.