help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Misleading single "\" in Emacs Manual Section 25.3


From: Heime
Subject: Re: Misleading single "\" in Emacs Manual Section 25.3
Date: Tue, 16 Jul 2024 15:21:23 +0000





Sent with Proton Mail secure email.

On Wednesday, July 17th, 2024 at 2:36 AM, Eli Zaretskii <eliz@gnu.org> wrote:

> > Date: Tue, 16 Jul 2024 14:21:56 +0000
> > From: Heime heimeborgia@protonmail.com
> > Cc: help-gnu-emacs@gnu.org, Heime heimeborgia@protonmail.com
> > 
> > This addition could be introduced
> > 
> > "When emacs processes a docstring, it removes (strips away) one
> > level (layer) of backslashes. This means that each backslash
> > written in the docstring needs to be doubled to ensure the
> > correct number of backslashes are interpreted."
> 
> 
> This is already explained where the syntax for strings in Emacs Lisp
> is described in the manual.

Could you make a function where one can pass a string with the syntax one
puts in a docstring, that returns the effect of docstring processing, where 
the first layer of \ is stripped.  That would help me ouite a lot because
I am ending up with many and many \ for expressions to display as I want them.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]