[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8935: 24.0.50; `substitute-command-keys' doc
From: |
Andreas Schwab |
Subject: |
bug#8935: 24.0.50; `substitute-command-keys' doc |
Date: |
Mon, 18 Jul 2011 16:27:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> Actually \ does have a special meaning, which depends on the following
> char (just like \ in regexps). The difference between that and regexps
> is that in regexp \<char> turns into just <char> when \<char> has no
> special meaning, where it turns into \<char> here.
If you want a \ in a regexp you must write \\, always. But if you want
to have a \ from substitute-command-keys you just write \, and if you
want \\= you must write \\=\=. Thus \ by itself is not special here.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- bug#8935: 24.0.50; `substitute-command-keys' doc, (continued)
- bug#8935: 24.0.50; `substitute-command-keys' doc, Lars Magne Ingebrigtsen, 2011/07/15
- bug#8935: 24.0.50; `substitute-command-keys' doc, Drew Adams, 2011/07/15
- bug#8935: 24.0.50; `substitute-command-keys' doc, Lars Magne Ingebrigtsen, 2011/07/15
- bug#8935: 24.0.50; `substitute-command-keys' doc, Andreas Schwab, 2011/07/15
- bug#8935: 24.0.50; `substitute-command-keys' doc, Drew Adams, 2011/07/15
- bug#8935: 24.0.50; `substitute-command-keys' doc, Andreas Schwab, 2011/07/15
- bug#8935: 24.0.50; `substitute-command-keys' doc, Drew Adams, 2011/07/15
- bug#8935: 24.0.50; `substitute-command-keys' doc, Lars Magne Ingebrigtsen, 2011/07/15
- bug#8935: 24.0.50; `substitute-command-keys' doc, Drew Adams, 2011/07/15
- bug#8935: 24.0.50; `substitute-command-keys' doc, Stefan Monnier, 2011/07/18