unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tom <adatgyujto@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: In place (live) editing of matches - is there a package for it?
Date: Fri, 14 Oct 2011 10:57:13 +0000 (UTC)	[thread overview]
Message-ID: <loom.20111014T125114-246@post.gmane.org> (raw)

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?





             reply	other threads:[~2011-10-14 10:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-14 10:57 Tom [this message]
2011-10-14 11:09 ` In place (live) editing of matches - is there a package for it? mehran khajavi
2011-10-14 11:15   ` Tom
2011-10-14 11:17 ` Jambunathan K
2011-10-14 11:24   ` Tom
2011-10-14 12:43 ` Tom
2011-10-14 13:08   ` Drew Adams
2011-10-14 13:35     ` Tom

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=loom.20111014T125114-246@post.gmane.org \
    --to=adatgyujto@gmail.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).