[Top][All Lists]

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

Re: query-replace-interactive not documented

From: Juri Linkov
Subject: Re: query-replace-interactive not documented
Date: Wed, 16 Jun 2004 12:00:52 +0300
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

address@hidden (Kim F. Storm) writes:
> Andreas Schwab <address@hidden> writes:
>> Juri Linkov <address@hidden> writes:
>> > To use a single variable inside a replacement string, one can use
>> > a no-op function like `+':
>> Or even progn.
> Or or, which is even shorter...

Which is shorter only for non-numeric variables.
But for numeric variables + is the shortest one.

But there is still one too long name that the user should type:
`replace-count'.  WIBN to have aliases for this name?
At least, `c' and `i' would make sense.

So, instead of:

C-M-% \\footnote{ RET \&\\label{fn:\,(+ replace-count)} RET

to type:

C-M-% \\footnote{ RET \&\\label{fn:\,(+ c)} RET

or to add a special symbol for replace-count, e.g. \!:

C-M-% \\footnote{ RET \&\\label{fn:\!} RET

and make it possible to use it even in expressions:

C-M-% \\footnote{ RET \&\\label{fn:\,(+ 1000 \!)} RET

Juri Linkov

reply via email to

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