unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Misleading single "\" in Emacs Manual Section 25.3
@ 2024-07-16  8:50 Heime
  2024-07-16 10:31 ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Heime @ 2024-07-16  8:50 UTC (permalink / raw)
  To: Heime via Users list for the GNU Emacs text editor


The Elisp documentation "25.3 Substituting Key Bindings in Documentation" states
that  each '\' must be doubled when written in a string in Emacs Lisp. 

I find this a bit confusing because the section is about writing within the documentation
string.  Meaning that the "\" should be doubled.

Using "\[COMMAND]" will not work in the documentation.  One has to use "\\[COMMAND]"

The commands in the section with a single "\" is misleading.






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

end of thread, other threads:[~2024-07-17  2:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-16  8:50 Misleading single "\" in Emacs Manual Section 25.3 Heime
2024-07-16 10:31 ` Eli Zaretskii
2024-07-16 12:39   ` Heime
2024-07-16 13:36     ` Eli Zaretskii
2024-07-16 13:53       ` Heime
2024-07-16 14:21         ` Heime
2024-07-16 14:36           ` Eli Zaretskii
2024-07-16 15:21             ` Heime
2024-07-17  2:58               ` Stefan Monnier via Users list for the GNU Emacs text editor

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).