GNU bug report logs - #20784
25.0.50; pcase documentation on t and nil

Previous Next

Package: emacs;

Reported by: bruce.connor.am <at> gmail.com

Date: Wed, 10 Jun 2015 20:21:02 UTC

Severity: minor

Tags: fixed

Found in version 25.0.50

Fixed in version 25.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Artur Malabarba <bruce.connor.am <at> gmail.com>
To: 20784 <at> debbugs.gnu.org
Subject: bug#20784: 25.0.50; pcase documentation on t and nil
Date: Wed, 10 Jun 2015 21:20:15 +0100
In pcase's docstirng, the second line of pcase patterns says:

SELFQUOTING matches itself. This includes keywords, numbers, and strings.

However, that doesn't apply to t and nil, instead, they are covered by
the SYMBOL clause.
I've always thought of t and nil as self-quoting, but if that's not
the case, I think the docstring should explicitly state:

SELFQUOTING matches itself. This includes keywords, numbers, and
strings (but not t or nil).




This bug report was last modified 8 years and 330 days ago.

Previous Next


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