all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.