[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: |
21 Jun 2004 11:38:05 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Richard Stallman <address@hidden> writes:
> > I left out the part about `\\#&' and `\\#N' because I don't
> > understand what they do. I am not sure what "respective numeric
> > values" means. When I tried \#&, it seemed to insert the
> > replacement count followed by an &.
>
> Not _within_ a Lisp expression, namely something like
> \,(format "%d %d" \#& \#2). And if you had a match like
> \([0-9]+\), then you can do arithmetic on it with something like
> \,(1+ \#1).
>
> I have a general idea now, but, what's the difference in meaning
> between \#& and \&? Between \#N and \N?
\#& is short for (number-to-string \&). There is no real difference
between
\,(\#&) and \,(\&) since the result is used with prin1-to-string, but
\,(1+ \&) would throw an error.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Re: query-replace-interactive not documented, (continued)
- Re: query-replace-interactive not documented, Richard Stallman, 2004/06/20
- Re: query-replace-interactive not documented, David Kastrup, 2004/06/20
- Re: query-replace-interactive not documented, Richard Stallman, 2004/06/21
- Re: query-replace-interactive not documented, David Kastrup, 2004/06/21
- Re: query-replace-interactive not documented, Richard Stallman, 2004/06/22
- Re: query-replace-interactive not documented, Juri Linkov, 2004/06/25
- Re: query-replace-interactive not documented, David Kastrup, 2004/06/26
- Re: query-replace-interactive not documented, Juri Linkov, 2004/06/26
- Re: query-replace-interactive not documented, Richard Stallman, 2004/06/27
- Re: query-replace-interactive not documented, Richard Stallman, 2004/06/21
- Re: query-replace-interactive not documented,
David Kastrup <=
- Re: query-replace-interactive not documented, Richard Stallman, 2004/06/22
- Re: query-replace-interactive not documented, David Kastrup, 2004/06/22
- Re: query-replace-interactive not documented, Richard Stallman, 2004/06/17
- Re: query-replace-interactive not documented, Andreas Schwab, 2004/06/16
- Re: query-replace-interactive not documented, Juri Linkov, 2004/06/14
- Re: query-replace-interactive not documented, David Kastrup, 2004/06/12