bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: replace history


From: Dan Nicolaescu
Subject: Re: replace history
Date: Thu, 27 Dec 2007 12:40:16 -0800

Juri Linkov <address@hidden> 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. 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]