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 #38 received at 20784 <at> debbugs.gnu.org (full text, mbox):

From: npostavs <at> users.sourceforge.net
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>, 20784 <at> debbugs.gnu.org,
 Artur Malabarba <bruce.connor.am <at> gmail.com>
Subject: Re: bug#20784: 25.0.50; pcase documentation on t and nil
Date: Thu, 30 Jun 2016 22:39:28 -0400
tags 20784 fixed
close 20784 25.1
quit

Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>
>> How 'bout the following patch?
>>
>>    * lisp/emacs-lisp/pcase.el (pcase): Reword the SELFQUOTING case.
>>    (pcase--split-pred, pcase--self-quoting-p): Restrict selfquoting
>>    numbers to integers.
>>    (pcase--u1): Deprecate t patterns.  Reject nil as an invalid pattern.
>
> Thanks, that looks good to me.  Comments in my message above.

Closing, since this appears to have been applied.




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.