unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tom Roche <Tom_Roche@pobox.com>
To: help-gnu-emacs@gnu.org,
Subject: Re: replace text in files from buffer=*grep* ?
Date: Tue, 05 May 2015 17:09:22 -0400	[thread overview]
Message-ID: <87a8xihgu5.fsf@pobox.com> (raw)
In-Reply-To: <CAKR7PS9QsRZePQBinpG2NkMTVy=x9XUspiG-952G3bC-pwV+wQ@mail.gmail.com>


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

details:

[If possible, please reply both directly to me as well as to the list.]

Tom Roche Tue, 05 May 2015 11:38:44 -0400
>>> What functionality exists to automate replacing text from a GNU Emacs *grep* (results) buffer?
...
>>> Apologies if this is a FAQ, but a (probably too casual) web search failed to find.

Drew Adams Tue, 5 May 2015 09:28:57 -0700 (PDT)
>> Here is one such, found by searching for `grep' on Emacs Wiki:

doh!

>> http://www.emacswiki.org/emacs/grep-edit.el

Milan Stanojević Tue, 5 May 2015 12:59:53 -0400
> https://github.com/mhayashi1120/Emacs-wgrep

The version of grep-edit.el @ EmacsWiki is downlevel: there's a newer version @ http://www.bookshelf.jp/elc/grep-edit.el , which is also the source of the fork that is https://github.com/mhayashi1120/Emacs-wgrep . So I tried the latter (seems better maintained--ICBW) and it solves my usecase!

thanks all, Tom Roche <Tom_Roche@pobox.com>



  parent reply	other threads:[~2015-05-05 21:09 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ć
2015-05-05 21:09   ` Tom Roche [this message]
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=87a8xihgu5.fsf@pobox.com \
    --to=tom_roche@pobox.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).