unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: storm@cua.dk (Kim F. Storm)
Cc: "Lennart Borgman \(gmail\)" <lennart.borgman@gmail.com>,
	emacs-devel@gnu.org
Subject: Re: Doing search and replace via *grep* buffer
Date: Thu, 15 Feb 2007 11:47:57 -0500	[thread overview]
Message-ID: <jwv4ppnz7us.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m3d54ba5yw.fsf@kfs-l.imdomain.dk> (Kim F. Storm's message of "Thu\, 15 Feb 2007 14\:46\:47 +0100")

>> Looks very interesting, but would it not be possible to use a
>> prompting similar for other replace commands in Emacs?

> I don't follow...  Example, please.

To me The Right Way to do it is to change query-replace so that it uses
a "perform-replace-function" variable which could be used to hook into the
replacement and to reflect it ni the source buffers.


        Stefan

  parent reply	other threads:[~2007-02-15 16:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-15 12:11 Doing search and replace via *grep* buffer Kim F. Storm
2007-02-15 12:35 ` Lennart Borgman (gmail)
2007-02-15 13:46   ` Kim F. Storm
2007-02-15 14:16     ` Lennart Borgman (gmail)
2007-02-15 19:39       ` David Kastrup
2007-02-15 16:47     ` Stefan Monnier [this message]
2007-02-15 14:04 ` Chris Moore
2007-02-16  8:51   ` David Kastrup
2007-02-15 18:41 ` Andreas Roehler
2007-02-16  7:46 ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2007-10-11 15:17 René Kyllingstad
2007-10-11 16:12 ` Drew Adams
2007-10-12  2:46 ` Richard Stallman

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=jwv4ppnz7us.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman@gmail.com \
    --cc=storm@cua.dk \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).