GNU bug report logs - #16567
24.3.50; pcase should signal an error if no case matches

Previous Next

Package: emacs;

Reported by: Helmut Eller <eller.helmut <at> gmail.com>

Date: Mon, 27 Jan 2014 09:24:01 UTC

Severity: wishlist

Found in version 24.3.50

Fixed in version 25.1

Done: Leo Liu <sdl.web <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Leo Liu <sdl.web <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#16567: closed (24.3.50; pcase should signal an error if no
 case matches)
Date: Sat, 13 Sep 2014 17:27:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 14 Sep 2014 01:25:52 +0800
with message-id <m3ppezwhy7.fsf <at> gmail.com>
and subject line Re: bug#16567: 24.3.50; pcase should signal an error if no case matches
has caused the debbugs.gnu.org bug report #16567,
regarding 24.3.50; pcase should signal an error if no case matches
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
16567: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16567
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Helmut Eller <eller.helmut <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; pcase should signal an error if no case matches
Date: Mon, 27 Jan 2014 10:22:06 +0100
pcase returns nil for this example:

 (pcase 3
   (1 1)
   (2 2))

it would be more useful if it would signal an error instead.  Manually
adding a "catch-all case" and inventing some error message is tedious
and it's also easy to forget.


[Message part 3 (message/rfc822, inline)]
From: Leo Liu <sdl.web <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 16567-done <at> debbugs.gnu.org, Helmut Eller <eller.helmut <at> gmail.com>
Subject: Re: bug#16567: 24.3.50;
 pcase should signal an error if no case matches
Date: Sun, 14 Sep 2014 01:25:52 +0800
Version: 24.5

On 2014-09-13 11:01 -0400, Stefan Monnier wrote:
> Yes, go ahead,

Done.

Leo


This bug report was last modified 10 years and 290 days ago.

Previous Next


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