From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: mehran khajavi Newsgroups: gmane.emacs.help Subject: Re: In place (live) editing of matches - is there a package for it? Date: Fri, 14 Oct 2011 14:39:12 +0330 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0015175cd0e6adb28c04af404a66 X-Trace: dough.gmane.org 1318590586 20237 80.91.229.12 (14 Oct 2011 11:09:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 14 Oct 2011 11:09:46 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Tom Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 14 13:09:41 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 1REfe1-0004u6-8g for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Oct 2011 13:09:41 +0200 Original-Received: from localhost ([::1]:57848 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REfe0-0002cx-AK for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Oct 2011 07:09:40 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REfdv-0002cq-O0 for help-gnu-emacs@gnu.org; Fri, 14 Oct 2011 07:09:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1REfdu-0007x3-AB for help-gnu-emacs@gnu.org; Fri, 14 Oct 2011 07:09:35 -0400 Original-Received: from mail-bw0-f41.google.com ([209.85.214.41]:35783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REfdu-0007vC-2R for help-gnu-emacs@gnu.org; Fri, 14 Oct 2011 07:09:34 -0400 Original-Received: by bkbzu5 with SMTP id zu5so2322651bkb.0 for ; Fri, 14 Oct 2011 04:09:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=y9EjGLEXYGQzBVeah3VgSyDr5pWwfNF9l3jL83Jgxdo=; b=q/6cqaJifec9B4ENN4H/vEUAt3vq3U8ESqWb+WPUqVTz2DYPjj6gmta+NDYwj7VMss kX1Ol9ZTs2wMLqiShDNeKhNQOu8JVj6Xc0xuS2McQXZ6zgSxsNPn4m7hmY45VCAdrh5k VcNiT1g+C4Hoznruz1a/pj42fSenpWiocLwVE= Original-Received: by 10.204.154.203 with SMTP id p11mr6411324bkw.36.1318590572507; Fri, 14 Oct 2011 04:09:32 -0700 (PDT) Original-Received: by 10.204.60.7 with HTTP; Fri, 14 Oct 2011 04:09:12 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.41 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:82549 Archived-At: --0015175cd0e6adb28c04af404a66 Content-Type: text/plain; charset=UTF-8 I don't know is there any package relating to you question but for editing multiple files I found this http://blog.gabrielsaldana.org/emacs-tip-how-to-edit-multiple-files/ it might useful for you find-dired is easy to use On Fri, Oct 14, 2011 at 2:27 PM, Tom wrote: > 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? > > > > -- ----- Mehran Khajavi http://mehran.khajavi.ir --0015175cd0e6adb28c04af404a66 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I don't know is there any package relating to you ques= tion
but for editing multiple files I found this=C2=A0http://blog.= gabrielsaldana.org/emacs-tip-how-to-edit-multiple-files/
it might useful for you
find-dired is easy to use<= br>
On Fri, Oct 14, 2011 at 2:27 PM, Tom <adatgyujto@gmail.= com> wrote:
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<= br> and I want to replace it with "phoning" then I go to the beginnin= g
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?






--
-----
Mehran Khajavi
http://mehran.khajavi.ir

--0015175cd0e6adb28c04af404a66--