From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Roche Newsgroups: gmane.emacs.help Subject: Re: replace text in files from buffer=*grep* ? Date: Tue, 05 May 2015 17:09:22 -0400 Message-ID: <87a8xihgu5.fsf@pobox.com> References: <87y4l3qbjv.fsf@pobox.com> <6881143c-45a4-4b5f-9eae-2707c6b9fc84@default> Reply-To: help-gnu-emacs@gnu.org, Tom Roche NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1430860200 24597 80.91.229.3 (5 May 2015 21:10:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 May 2015 21:10:00 +0000 (UTC) To: help-gnu-emacs@gnu.org, Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 05 23:09:49 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ypk68-00045N-Rf for geh-help-gnu-emacs@m.gmane.org; Tue, 05 May 2015 23:09:48 +0200 Original-Received: from localhost ([::1]:41646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ypk67-0007la-WE for geh-help-gnu-emacs@m.gmane.org; Tue, 05 May 2015 17:09:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ypk5x-0007lV-Jb for help-gnu-emacs@gnu.org; Tue, 05 May 2015 17:09:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ypk5t-0008FC-FR for help-gnu-emacs@gnu.org; Tue, 05 May 2015 17:09:37 -0400 Original-Received: from pb-smtp1.int.icgroup.com ([208.72.237.35]:57833 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ypk5t-0008Er-BH for help-gnu-emacs@gnu.org; Tue, 05 May 2015 17:09:33 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id DDBBA4F5E5; Tue, 5 May 2015 17:09:32 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:in-reply-to:references:reply-to:date:message-id :mime-version:content-type:content-transfer-encoding; s=sasl; bh=7e1LD7Z/F5z6cgVao6Q1bybN3GM=; b=YqOzo0JSMmxUYuayJlNVAFkPTwkB fEglCbnghVCWKzByPR2OkS56WVlM1oi+LeUL76FiP4ewCvMF+yJgceNyWAqCdNDO Q9vee4EfLrEUBLLOLMeIPOZM7r3HNTN3FY6vIL+kfvCnhvBgYWwp7LO+VbX/ssU/ i+CBHvjypV/mo68= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:subject :in-reply-to:references:reply-to:date:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=Crq+DY kvJGM3c9tQ9gQ0bCpPi4TsBnFnsq7f2TMLI9wpWDogheaW6G3K+lK7nEZh2hC0+g omaodXjiJ5z6L7E/nb4RuPs5NY1kAn9ZcFPhnztA9cdFg9OLjTUrtnY0GXo7nbzA UplwBZssOM/OCTaX9PizydBQrsBQHg82uzxBg= Original-Received: from pb-smtp1.int.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id D7AFD4F5E4; Tue, 5 May 2015 17:09:32 -0400 (EDT) Original-Received: from tlrW510.pobox.com (unknown [71.20.203.128]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 20E4D4F5E3; Tue, 5 May 2015 17:09:32 -0400 (EDT) In-Reply-To: User-Agent: GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.4) X-Pobox-Relay-ID: 067726DA-F36B-11E4-82CF-83E09F42C9D4-07218935!pb-smtp1.pobox.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.72.237.35 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104224 Archived-At: 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 fail= ed 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=C4=87 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 versi= on @ 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