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


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

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Artur Malabarba <bruce.connor.am <at> gmail.com>
Cc: 20784 <at> debbugs.gnu.org
Subject: Re: bug#20784: 25.0.50; pcase documentation on t and nil
Date: Wed, 10 Jun 2015 23:07:35 -0400
> 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 think the problem is in the wording: t and nil are neither keywords,
nor numbers, nor strings, which is why they aren't treated as
SELFQUOTING.  IOW the wording shouldn't say "including" but make it
clear that these are the (currently) only accepted selfquoting entities.
E.g. vectors (and friends) aren't considered as SELFQUOTING by
pcase either.


        Stefan




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

Previous Next


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