unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Juri Linkov <juri@jurta.org>
Cc: bug-gnu-emacs@gnu.org, rrt@sc3d.org
Subject: Re: replace history
Date: Fri, 28 Dec 2007 08:55:20 -0500	[thread overview]
Message-ID: <E1J8FgG-0002Ly-C8@fencepost.gnu.org> (raw)
In-Reply-To: <871w97x5yc.fsf@jurta.org> (message from Juri Linkov on Thu, 27 Dec 2007 22:11:31 +0200)

    > 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?

    One way to implement this feature is to use one input string with the
    ed-like syntax "s/regex/substitution/g".

I don't think this really does the job.  It is a separate command
that you have to use INSTEAD of query-replace.

What's requested is a way to move thru the history of recent
query-replace argument pairs.




  reply	other threads:[~2007-12-28 13:55 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
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 [this message]
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=E1J8FgG-0002Ly-C8@fencepost.gnu.org \
    --to=rms@gnu.org \
    --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).