GNU bug report logs - #26068
[PATCH] bug in generator function with pcase

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <pogonyshev <at> gmail.com>

Date: Sun, 12 Mar 2017 08:52:02 UTC

Severity: normal

Tags: patch

Done: Mark Oteiza <mvoteiza <at> udel.edu>

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: Mark Oteiza <mvoteiza <at> udel.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#26068: closed ([PATCH] bug in generator function with pcase)
Date: Sun, 19 Mar 2017 19:19:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 19 Mar 2017 15:18:47 -0400
with message-id <87wpblkrc8.fsf <at> holos>
and subject line Re: bug#26068: [PATCH] bug in generator function with pcase
has caused the debbugs.gnu.org bug report #26068,
regarding [PATCH] bug in generator function with pcase
to be marked as done.

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


-- 
26068: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26068
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Pogonyshev <pogonyshev <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] bug in generator function with pcase
Date: Sun, 12 Mar 2017 09:51:23 +0100
[Message part 3 (text/plain, inline)]
To reproduce:

(iter-next (funcall (iter-lambda () (pcase (list 1 2)
                                      (`(,a ,b) (iter-yield (+ a b)))))))

Patch is attached. I have no idea if it affects something else, but
matching symbols with `eq' on their names (`eq' on strings?!) seems
outright wrong to me.

On a side note: bug report I sent yesterday with M-x report-emacs-bug
was silently lost.

Paul
[cl-macs.diff (text/plain, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Mark Oteiza <mvoteiza <at> udel.edu>
To: Paul Pogonyshev <pogonyshev <at> gmail.com>
Cc: 26068-done <at> debbugs.gnu.org
Subject: Re: bug#26068: [PATCH] bug in generator function with pcase
Date: Sun, 19 Mar 2017 15:18:47 -0400
Paul Pogonyshev <pogonyshev <at> gmail.com> writes:

> To reproduce:
>
> (iter-next (funcall (iter-lambda () (pcase (list 1 2)
>                                       (`(,a ,b) (iter-yield (+ a b)))))))
>
> Patch is attached. I have no idea if it affects something else, but
> matching symbols with `eq' on their names (`eq' on strings?!) seems
> outright wrong to me.
>
> On a side note: bug report I sent yesterday with M-x report-emacs-bug
> was silently lost.

Applied as 0d112c00.


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

Previous Next


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