[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: suggestion in query-replace is messed up after cancelation
From: |
Juri Linkov |
Subject: |
Re: suggestion in query-replace is messed up after cancelation |
Date: |
Thu, 25 May 2006 22:08:09 +0300 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
>> 1) $ emacs -Q
>> 2) type football and C-a
>> 3) M-% foo RET bar RET y (this replaces the only occurence of foo)
>> 4) M-% (suggests foo -> bar) baz RET C-g
>> 5) M-% (suggests bar -> baz, while it should suggest foo -> bar)
>
> I think this can be fixed with the following patch to
> query-replace-read-to. I can install it if people don't object.
Removing from-element from the history list is not a good solution.
Most often I type C-g in the to-element prompt, when instead
of typing a long to-element I need to switch to another buffer
and copy to-element from that buffer (to yank it later from the kill ring
to the to-element prompt). After that I type M-% again, and definitely
don't want to re-type the from-element. I need to get the previous
already entered from-element from the history by M-p in the
from-element's prompt.
--
Juri Linkov
http://www.jurta.org/emacs/
- suggestion in query-replace is messed up after cancelation, Miguel V. S. Frasson, 2006/05/24
- Re: suggestion in query-replace is messed up after cancelation, Chong Yidong, 2006/05/25
- Re: suggestion in query-replace is messed up after cancelation,
Juri Linkov <=
- Re: suggestion in query-replace is messed up after cancelation, Richard Stallman, 2006/05/26
- Re: suggestion in query-replace is messed up after cancelation, Chong Yidong, 2006/05/26
- Re: suggestion in query-replace is messed up after cancelation, Kim F. Storm, 2006/05/27
- Re: suggestion in query-replace is messed up after cancelation, Richard Stallman, 2006/05/27
- Re: suggestion in query-replace is messed up after cancelation, Chong Yidong, 2006/05/27
- Re: suggestion in query-replace is messed up after cancelation, Juri Linkov, 2006/05/28
- Re: suggestion in query-replace is messed up after cancelation, Chong Yidong, 2006/05/28
- Re: suggestion in query-replace is messed up after cancelation, Chong Yidong, 2006/05/28
- Re: suggestion in query-replace is messed up after cancelation, Richard Stallman, 2006/05/28
Re: suggestion in query-replace is messed up after cancelation, Stefan Monnier, 2006/05/25