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

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

bug#20759: 25.0.50; pcase doc: (‘ QPAT) instead of (` QPAT)


From: Paul Eggert
Subject: bug#20759: 25.0.50; pcase doc: (‘ QPAT) instead of (` QPAT)
Date: Thu, 11 Jun 2015 10:37:37 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

That bug was a symptom of a more general confusion between raw docstrings and formatted docstrings, which I attempted to fix in commit b2205626370071bc85dc07b043c833bc50c0baec with the attached patch.

As the patch mentions, I'm puzzled about the syntax ‘(` PAT)’ in the docstring, since lread.c says that syntax is obsolete and ‘format’ quotes the grave accent. The attached patch causes C-h f to suggest the syntax ‘(\` PAT)’ which is "safer" in some sense, I suppose. If it's intended that pcase usage omit the backslash, then I guess that ‘format’ and/or lread.c need to be updated accordingly.

Attachment: 0001-Fix-quoting-of-help-for-functions-with-odd-names.patch
Description: Text Data


reply via email to

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