unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#8935: 24.0.50; `substitute-command-keys' doc
@ 2011-06-25 21:29 Drew Adams
  2011-07-15 14:32 ` Lars Magne Ingebrigtsen
  2011-07-15 15:33 ` Andreas Schwab
  0 siblings, 2 replies; 17+ messages in thread
From: Drew Adams @ 2011-06-25 21:29 UTC (permalink / raw)
  To: 8935

Both the doc string and the doc in the Elisp manual (node `Keys in
Documentation') are unnecessarily confusing wrt `\='.
 
They both correctly say that `\=' "quotes the following character and is
discarded".  However, they then say this to illustrate what is meant:
 
 "thus, `\=\[' puts `\[' into the output, and `\=\=' puts
  `\=' into the output."
 
This is uncessarily complex and misleading.  All the `\=' does is
quote/escape the (single) next character, whatever it is.  Nothing
more.
 
It has no special effect on special character combinations such as `\['
and `\='.  If you really want to say something about escaping `\' as
the next character then I suppose you could: "In particular, `\=\'
produces `\' in the output.  The character following the escaped
character does not enter into (i.e., affect) the behavior at all.
 

In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2011-06-20 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.5) --no-opt --cflags
-Ic:/build/include'
 






^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2011-07-18 16:20 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-25 21:29 bug#8935: 24.0.50; `substitute-command-keys' doc Drew Adams
2011-07-15 14:32 ` Lars Magne Ingebrigtsen
2011-07-15 15:33 ` Andreas Schwab
2011-07-15 16:00   ` Drew Adams
2011-07-15 16:35   ` Lars Magne Ingebrigtsen
2011-07-15 16:35   ` Lars Magne Ingebrigtsen
2011-07-15 17:23     ` Drew Adams
2011-07-15 17:28       ` Lars Magne Ingebrigtsen
2011-07-15 18:38         ` Andreas Schwab
2011-07-15 19:17           ` Drew Adams
2011-07-15 20:09             ` Andreas Schwab
2011-07-15 19:18         ` Drew Adams
2011-07-15 19:22           ` Lars Magne Ingebrigtsen
2011-07-15 19:25             ` Drew Adams
2011-07-18 13:55   ` Stefan Monnier
2011-07-18 14:27     ` Andreas Schwab
2011-07-18 16:20       ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).