[Top][All Lists]

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

Re: query-replace-interactive not documented

From: Kim F. Storm
Subject: Re: query-replace-interactive not documented
Date: 16 Jun 2004 17:27:47 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

David Kastrup <address@hidden> writes:

> David Kastrup <address@hidden> writes:
> > Just working on a newer version right now.
> Ok, here is my current version (apart from documentation which needs
> to get added to several places, of course).  I've stolen some
> improvements from Juri in the course, but the pleasure's mutual.
> I have not added the \? proposal yet as I feel it of dubious utility:
> without a proper prompt string, it will probably feel unconvenient to
> use in particular where several \? occur, and I don't see a good
> syntax for prompt strings: mandating them to be LF-ended would
> require C-q C-j even when you don't want them after all, and you can
> easily do them with
> \,(read-string "My prompt")

But just like \# is a shorthand for \,(+ repeat-count), 
then \? could be a shorthand for \,(read-string "String for \\?: ")

If users what something more advanced (I doubt it), they can use
read-string explicitly.

> anyway.  Maybe a fixed space-terminated (not-escapable) prompt would
> do, like
> \? xxx
> to get no particular prompt string and
> \?veracity xxx
> to get "veracity" as a prompt.
> But I really don't like that too much.

Neither do I.

> I think that the functionality is user-accessible to a degree by now
> that it would make sense mentioning it also in the Emacs manual, in
> case people agree it is a worthwhile addition.


> Personally, I think this functionality is the greatest thing since
> sliced bread, but then I am obviously prejudiced.

Yes, it is really clever -- let's see if people will use it....

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

reply via email to

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