GNU bug report logs - #20759
25.0.50; pcase doc: (‘ QPAT) instead of (` QPAT)

Previous Next

Package: emacs;

Reported by: michael_heerdegen <at> web.de

Date: Sun, 7 Jun 2015 15:43:02 UTC

Severity: normal

Found in version 25.0.50

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 20759 <at> debbugs.gnu.org
Cc: michael_heerdegen <at> web.de, Glenn Morris <rgm <at> gnu.org>, Dmitry Gutov <dgutov <at> yandex.ru>
Subject: bug#20759: 25.0.50; pcase doc: (‘ QPAT) instead of (` QPAT)
Date: Thu, 11 Jun 2015 10:37:37 -0700
[Message part 1 (text/plain, inline)]
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.

[0001-Fix-quoting-of-help-for-functions-with-odd-names.patch (text/x-patch, attachment)]

This bug report was last modified 9 years and 348 days ago.

Previous Next


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