From: Dan Nicolaescu <dann@ics.uci.edu>
To: Juri Linkov <juri@jurta.org>
Cc: Emacs Bugs <bug-gnu-emacs@gnu.org>, Reuben Thomas <rrt@sc3d.org>
Subject: Re: replace history
Date: Thu, 27 Dec 2007 12:40:16 -0800 [thread overview]
Message-ID: <200712272040.lBRKeLoS019548@oogie-boogie.ics.uci.edu> (raw)
In-Reply-To: <87ejd7ucj3.fsf@jurta.org> (Juri Linkov's message of "Thu, 27 Dec 2007 22:12:44 +0200")
Juri Linkov <juri@jurta.org> writes:
> > > In Emacs 22 it's great the way that you are given the last
> > > search/replace pair as a default for query-replace, but is there a way
> > > to get a history of pairs rather than alternating search item/replace
> > > item?
> >
> > There isn't. I would also love to have such a feature. Bound for example
> > to C-M-p and C-M-n
>
> How do you imagine it could insert two separate history elements for
> from-string and to-string simultaneously?
Similar to what you said. The minibufrer prompt now looks like:
Query replace (default foo -> bar):
After C-M-p it would change to:
Query replace (default baz -> foobar):
so one only need to press C-M-p and RET.
next prev parent reply other threads:[~2007-12-27 20:40 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-26 23:20 replace history Reuben Thomas
2007-12-26 23:48 ` Dan Nicolaescu
2007-12-27 11:42 ` Bastien
2007-12-27 20:14 ` Juri Linkov
2007-12-27 20:12 ` Juri Linkov
2007-12-27 20:40 ` Dan Nicolaescu [this message]
2007-12-28 13:55 ` Richard Stallman
[not found] ` <mailman.5457.1198850122.18990.bug-gnu-emacs@gnu.org>
2008-01-02 13:21 ` Mathias Dahl
2008-01-03 21:45 ` Juri Linkov
2008-01-03 22:15 ` Mathias Dahl
2008-01-03 22:47 ` Juri Linkov
2008-01-03 23:24 ` Mathias Dahl
2007-12-27 20:11 ` Juri Linkov
2007-12-28 13:55 ` Richard Stallman
2008-01-03 21:46 ` Juri Linkov
2008-01-05 5:54 ` 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=200712272040.lBRKeLoS019548@oogie-boogie.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=bug-gnu-emacs@gnu.org \
--cc=juri@jurta.org \
--cc=rrt@sc3d.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.
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).