From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Milan_Stanojevi=C4=87?= Newsgroups: gmane.emacs.help Subject: Re: replace text in files from buffer=*grep* ? Date: Tue, 5 May 2015 12:59:53 -0400 Message-ID: References: <87y4l3qbjv.fsf@pobox.com> <6881143c-45a4-4b5f-9eae-2707c6b9fc84@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1430845634 5374 80.91.229.3 (5 May 2015 17:07:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 May 2015 17:07:14 +0000 (UTC) Cc: Emacs mailing list , Tom Roche To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 05 19:07:10 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 1YpgJJ-0000vp-Ew for geh-help-gnu-emacs@m.gmane.org; Tue, 05 May 2015 19:07:09 +0200 Original-Received: from localhost ([::1]:40847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpgJI-0001Wq-Ba for geh-help-gnu-emacs@m.gmane.org; Tue, 05 May 2015 13:07:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpgCy-0008TQ-GP for help-gnu-emacs@gnu.org; Tue, 05 May 2015 13:00:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YpgCx-0003qM-JB for help-gnu-emacs@gnu.org; Tue, 05 May 2015 13:00:36 -0400 Original-Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:33423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpgCx-0003q6-E0 for help-gnu-emacs@gnu.org; Tue, 05 May 2015 13:00:35 -0400 Original-Received: by wief7 with SMTP id f7so106183957wie.0 for ; Tue, 05 May 2015 10:00:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=2EuKlAlT6E/05iaIfMARtKWD7Cu0WE1H2OptKzUC8lk=; b=kDhkVXHXmZLU1fLMIMmVzux7VQxqnH6nq5mqfMOEVfLeNyBz6EtjJ3GSCjrjcNsNPS PnvJTimPokg4Aidhonycrz6lggsWNnDmy++dk94rmmb2PVGVfYO2HGOA3b0SycrXKSkQ szgoVOxAHsaunM1K4HOkeQ15M3hsnCC/OUSgCc+Z2NmKyxpwZ2RqnVd4LRl7Sv7SkExf YDSohLGVAtHYuZIqQUWUgtK+eFwWLeohm17Mnp9JoXXbkd7KBLAixMZrA/VALcO/8ypm kSFIrIIYSx2Ry0bvuy0YkyuUzzuyV+2Tz98LlNyHv1gDVbmctQagPwsLsWNQz1KfJDHA 3rrA== X-Received: by 10.180.87.199 with SMTP id ba7mr5997718wib.81.1430845234076; Tue, 05 May 2015 10:00:34 -0700 (PDT) Original-Received: by 10.180.88.40 with HTTP; Tue, 5 May 2015 09:59:53 -0700 (PDT) In-Reply-To: <6881143c-45a4-4b5f-9eae-2707c6b9fc84@default> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::233 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:104217 Archived-At: 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 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.) >