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: Artur Malabarba
Subject: Re: History for query replace pairs
Date: Thu, 23 Oct 2014 10:06:16 +0100

>>> - You still have access to the "TO-history" in the FROM case, indirectly
>>> (by browsing the corresponding FROM/TO pair and erasing the FROM and
>>> the separator).
>> The only problematic part is that if the user will be able
>> to erase the separator, then the user rightfully might want
>> to insert it back, but it's not straightforward to type a string
>> with text properties.
>
> `undo' should do it.
>

If this line is followed, I'd recommend rebinding one of the transpose
commands (transpose-lines, perhaps) to swap the TO and FROM. Having to
manually kill and yank would be a very cumbersome way of reversing the
replacement.



reply via email to

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