From: Phil Sainty <psainty@orcon.net.nz>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: 55773@debbugs.gnu.org
Subject: bug#55773: Emacs 29.0.50:: allow single-quoted chars in docstring
Date: Fri, 03 Jun 2022 11:25:29 +1200 [thread overview]
Message-ID: <b59bab8db806867b293242dcb9fb73f3@webmail.orcon.net.nz> (raw)
In-Reply-To: <faf3f6c3-b349-fc1a-ee76-6a34a9bf1055@easy-emacs.de>
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")
next prev parent reply other threads:[~2022-06-02 23:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-02 19:49 bug#55773: Emacs 29.0.50:: allow single-quoted chars in docstring Andreas Röhler
2022-06-02 23:25 ` Phil Sainty [this message]
2022-06-03 4:00 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b59bab8db806867b293242dcb9fb73f3@webmail.orcon.net.nz \
--to=psainty@orcon.net.nz \
--cc=55773@debbugs.gnu.org \
--cc=andreas.roehler@easy-emacs.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).