Re: query-replace-interactive not documented

From:

Kim F. Storm

Subject:

Re: query-replace-interactive not documented

Date:

14 Jun 2004 22:49:50 +0200

User-agent:

Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Richard Stallman <address@hidden> writes:
> Of course, most of these uses could be avoided if the replacement
> string of the ordinary query-replace-regexp would offer, say
>
> M-x query-replace-regexp RET
> \\footnote{ RET
> \\footnote{\\label{fn:\!replace-count} RET
>
> or
>
> \\footnote{\\label{fn:\!(format "%d" replace-count)} RET
>
> Namely \! followed by a sexp.
>
> That seems like an interesting idea.
I would prefer a syntax which can be parsed with `read', which
includes the second example above, but not the first one.
--
Kim F. Storm <address@hidden> http://www.cua.dk