From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Newsgroups: gmane.emacs.help Subject: In place (live) editing of matches - is there a package for it? Date: Fri, 14 Oct 2011 10:57:13 +0000 (UTC) Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1318589856 15333 80.91.229.12 (14 Oct 2011 10:57:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 14 Oct 2011 10:57:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 14 12:57:33 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1REfSG-00072e-S6 for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Oct 2011 12:57:33 +0200 Original-Received: from localhost ([::1]:54037 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REfSG-0000ec-IC for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Oct 2011 06:57:32 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:59159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REfSC-0000eX-FN for help-gnu-emacs@gnu.org; Fri, 14 Oct 2011 06:57:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1REfSB-0005KM-Fj for help-gnu-emacs@gnu.org; Fri, 14 Oct 2011 06:57:28 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:46673) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REfSB-0005K0-Af for help-gnu-emacs@gnu.org; Fri, 14 Oct 2011 06:57:27 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1REfS9-0006yU-R7 for help-gnu-emacs@gnu.org; Fri, 14 Oct 2011 12:57:25 +0200 Original-Received: from 94-21-240-137.pool.digikabel.hu ([94.21.240.137]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Oct 2011 12:57:25 +0200 Original-Received: from adatgyujto by 94-21-240-137.pool.digikabel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Oct 2011 12:57:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 94.21.240.137 (Opera/9.80 (Windows NT 6.1; U; en) Presto/2.9.168 Version/11.51) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:82548 Archived-At: Recently I had to work multiple times with text files and it involved search/replacing strings in the file multiple times. For example, if the file has the word "phone" in multiple places and I want to replace it with "phoning" then I go to the beginning of the file and replace all the matches with a search/replace command. It occurred to me it would be more convenient if I could just select the word (or a phrase) and use a command which allows me to live edit this region, so that all the changes I make within the selected part are reflected instantly at all the other places in the file which have the same text as the initial selection. Is there an existing package which does this?