all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Deleting matched lines by marking lines in *occur* buffer
Date: Tue, 09 Jul 2013 17:29:55 +0200	[thread overview]
Message-ID: <87txk3iwek.fsf@gmail.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?

maybe the answers to this question help:

http://stackoverflow.com/questions/8334263/in-emacs-how-to-replace-only-on-matching-lines

-- 
cheers,
Thorsten




  reply	other threads:[~2013-07-09 15:29 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 [this message]
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=87txk3iwek.fsf@gmail.com \
    --to=tjolitz@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.