GNU bug report logs - #55773
Emacs 29.0.50:: allow single-quoted chars in docstring

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Thu, 2 Jun 2022 19:50:02 UTC

Severity: normal

Tags: notabug

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 55773 <at> debbugs.gnu.org (full text, mbox):

From: Phil Sainty <psainty <at> orcon.net.nz>
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Cc: 55773 <at> debbugs.gnu.org
Subject: Re: bug#55773: Emacs 29.0.50:: allow single-quoted chars in docstring
Date: Fri, 03 Jun 2022 11:25:29 +1200
On 2022-06-03 07:49, Andreas Röhler wrote:
> Need to display single-quoted chars in docstring

Nowadays you need to escape literal apostrophes in docstrings
like this:

result = some_function_that_takes_arguments(
    \\='a\\=', \\='b\\=', \\='c\\=',
    \\='d\\=', \\='e\\=', \\='f\\='
)

Setting `text-quoting-style' to grave will prevent you from getting
bitten by automated curly-quote substitutions in help buffers (but
of course won't help you to remember to escape things when writing
docstrings).

See also: (info "(elisp)Text Quoting Style")






This bug report was last modified 3 years and 74 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.