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

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

Re: suggestion in query-replace is messed up after cancelation


From: Kim F. Storm
Subject: Re: suggestion in query-replace is messed up after cancelation
Date: Sat, 27 May 2006 22:28:28 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Chong Yidong <address@hidden> writes:

> Richard Stallman <address@hidden> writes:
>
>> So how about adding an empty to-string as a way to preserve parity?
>
> That would mean that after doing a C-g, the next time you do M-% the
> suggested replacement the will be "LAST_FROM -> ", i.e., replacing the
> last from-string entered with the empty string, instead of the last
> "good" pair of values as the bug reporter wanted.  Maybe this is
> acceptable behavior, I don't know.

I don't think that is acceptable ... after all, the user cancelled
the previous M-%.

What about using the FROM string as the TO string, so the cancelled
M-% becomes a no-op.


Does C-M-% suffer from the same problem?

In that case, we could use "\&" as the TO string, making that a no-op
as well.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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