unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Milan Stanojević" <milanst@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: Emacs mailing list <help-gnu-emacs@gnu.org>,
	Tom Roche <Tom_Roche@pobox.com>
Subject: Re: replace text in files from buffer=*grep* ?
Date: Tue, 5 May 2015 12:59:53 -0400	[thread overview]
Message-ID: <CAKR7PS9QsRZePQBinpG2NkMTVy=x9XUspiG-952G3bC-pwV+wQ@mail.gmail.com> (raw)
In-Reply-To: <6881143c-45a4-4b5f-9eae-2707c6b9fc84@default>

Also
https://github.com/mhayashi1120/Emacs-wgrep

I use wgrep from time to time, it does more or less what you want.

On Tue, May 5, 2015 at 12:28 PM, Drew Adams <drew.adams@oracle.com> wrote:
>> What functionality exists to automate replacing text from a GNU
>> Emacs *grep* (results) buffer? What I mean, why I ask:
> ...
>> Wdired then applies the changes made from the Dired buffer to the
>> objects it represents. So what I'd most like for my usecase would be
>> to RLA on a *grep* buffer, allowing a Wdired-like workflow.
>>
>> Is there something like that for *grep* buffers.
>
> Here is one such, found by searching for `grep' on Emacs Wiki:
> http://www.emacswiki.org/emacs/grep-edit.el
>
> (Haven't tried it.)
>



  reply	other threads:[~2015-05-05 16:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-05 15:38 replace text in files from buffer=*grep* ? Tom Roche
2015-05-05 16:28 ` Drew Adams
2015-05-05 16:59   ` Milan Stanojević [this message]
2015-05-05 21:09   ` Tom Roche
2015-05-05 21:28     ` Drew Adams

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='CAKR7PS9QsRZePQBinpG2NkMTVy=x9XUspiG-952G3bC-pwV+wQ@mail.gmail.com' \
    --to=milanst@gmail.com \
    --cc=Tom_Roche@pobox.com \
    --cc=drew.adams@oracle.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).