[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: improving query-replace and query-replace-regexp
From: |
Juri Linkov |
Subject: |
Re: improving query-replace and query-replace-regexp |
Date: |
Wed, 02 Jun 2004 03:56:36 +0300 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> I tried Stefan's implementation and it works fine. I have only one remark:
>> if the last history item contains newlines, it may confuse users because
>> it displays only the closing square bracket at the minibuffer prompt.
>
> Good point. How about the version below instead?
This version works fine, it displays all control characters explicitly.
I suggest to use the same technique in all other places where
search strings are displayed literally, i.e. in messages like
"Query replacing %s with %s".
And for consistency with the above message the default prompt
could use the word "with" instead of the "->" arrow:
"Query replace [%s with %s]: "
or as Miles suggested:
"Query replace (default %s with %s): "
And your compact default prompt grew so much :-/
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: improving query-replace and query-replace-regexp, Stefan Monnier, 2004/06/01
- Re: improving query-replace and query-replace-regexp, Miles Bader, 2004/06/01
- Re: improving query-replace and query-replace-regexp,
Juri Linkov <=
- Re: improving query-replace and query-replace-regexp, Miles Bader, 2004/06/01
- minibuffer-eldef (was: improving query-replace and query-replace-regexp), Stefan Monnier, 2004/06/01
- Re: minibuffer-eldef, Miles Bader, 2004/06/01
- Re: minibuffer-eldef, Stefan Monnier, 2004/06/01
- Re: minibuffer-eldef, Miles Bader, 2004/06/01
- Re: minibuffer-eldef, David Kastrup, 2004/06/02
- Re: minibuffer-eldef, Miles Bader, 2004/06/02
- Re: minibuffer-eldef, Richard Stallman, 2004/06/02
- Re: minibuffer-eldef, David Kastrup, 2004/06/03
- Re: minibuffer-eldef, Miles Bader, 2004/06/03