emacs-devel
[Top][All Lists]
Advanced

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

Re: History for query replace pairs


From: Ted Zlatanov
Subject: Re: History for query replace pairs
Date: Sat, 04 Oct 2014 17:45:35 -0400
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/25.0.50 (gnu/linux)

On Mon, 11 Aug 2014 20:34:33 +0200 Tom <address@hidden> wrote: 

T> I created a quick proof of concept implementation. It changes the behavior
T> of the arrow keys for the query-replace(-regexp) FROM prompt. You can stll
T> access the original behavior with M-p/n.

T> So when you start a query-replace and press the up arrow then
T> search/replace history is rendered as FROM -> TO pairs.  The -> marker is
T> highlighted and intangible, the cursor jumps over it and you are free to
T> edit the search/replace string. If you submit a FROM->TO pair from the FROM
T> input field with RET then the replacement is started immediately. If you
T> submit a simple string (without the marker) then it behaves as usual and
T> asks for a TO string.

I'd like to make this part of the Emacs core, disabled by default. Any
objections?  I think it's nicer-looking than the current UI.

If not, maybe Tom would like to make it a GNU ELPA package?

Ted




reply via email to

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