[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: |
Chong Yidong |
Subject: |
Re: suggestion in query-replace is messed up after cancelation |
Date: |
Fri, 26 May 2006 22:45:01 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> 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.
>
> 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.
- 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, 2006/05/25
- 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 <=
- 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