[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: query-replace-interactive not documented
From: |
David Kastrup |
Subject: |
Re: query-replace-interactive not documented |
Date: |
16 Jun 2004 23:15:58 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Juri Linkov <address@hidden> writes:
> It is not important what question it asks. It would work even for
> two or three different \? in one replacement string. In rare cases
> where the user needs more \?, he can use \,(read-string "My prompt:
> ").
>
> Or to let it to automatically enumerate prompt strings, i.e. to have
> a counter in expression generating code in `query-replace-regexp'
> that will convert several \? in the same string into prompts in a
> fixed format with the prompt counter added to the prompt string:
>
> (concat (read-string "Enter string 1: ") (read-string "Enter string
> 2: "))
Yes, I might do something like that. What about the replacement
strings entered for \?, should they be passed through replace-quote
or not? Where users enter the replacement themselves, maybe there is
some incentive to let it have the unquoted meaning, so that users may
also enter \1 \2 \3 in the replacement string?
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Re: query-replace-interactive not documented, (continued)
- Re: query-replace-interactive not documented, Richard Stallman, 2004/06/16
- Re: query-replace-interactive not documented, Andreas Schwab, 2004/06/15
- Re: query-replace-interactive not documented, Kim F. Storm, 2004/06/15
- Re: query-replace-interactive not documented, Juri Linkov, 2004/06/16
- Re: query-replace-interactive not documented, David Kastrup, 2004/06/16
- Re: query-replace-interactive not documented, Kim F. Storm, 2004/06/16
- Re: query-replace-interactive not documented, David Kastrup, 2004/06/16
- Re: query-replace-interactive not documented, David Kastrup, 2004/06/16
- Re: query-replace-interactive not documented, Kim F. Storm, 2004/06/16
- Re: query-replace-interactive not documented, Juri Linkov, 2004/06/16
- Re: query-replace-interactive not documented,
David Kastrup <=
- Re: query-replace-interactive not documented, Kim F. Storm, 2004/06/16
- Re: query-replace-interactive not documented, David Kastrup, 2004/06/16
- Re: query-replace-interactive not documented, David Kastrup, 2004/06/17
- Re: query-replace-interactive not documented, Kim F. Storm, 2004/06/17
- Re: query-replace-interactive not documented, David Kastrup, 2004/06/17
- Re: query-replace-interactive not documented, Kim F. Storm, 2004/06/17
- Re: query-replace-interactive not documented, David Kastrup, 2004/06/17
- Re: query-replace-interactive not documented, Juri Linkov, 2004/06/17
- Re: query-replace-interactive not documented, David Kastrup, 2004/06/17
- Re: query-replace-interactive not documented, Juri Linkov, 2004/06/18