GNU bug report logs - #35869
[PATCH] `cl-member' and `cl-assoc' do not work for bignums

Previous Next

Package: emacs;

Reported by: Mattias Engdegård <mattiase <at> acm.org>

Date: Thu, 23 May 2019 16:02:02 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35869 in the body.
You can then email your comments to 35869 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#35869; Package emacs. (Thu, 23 May 2019 16:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mattias Engdegård <mattiase <at> acm.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 23 May 2019 16:02:02 GMT) Full text and rfc822 format available.

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

From: Mattias Engdegård <mattiase <at> acm.org>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] `cl-member' and `cl-assoc' do not work for bignums
Date: Thu, 23 May 2019 18:01:05 +0200
[Message part 1 (text/plain, inline)]
(cl-member (ash 1 100) (list (ash 1 100))) => nil
(cl-assoc (ash 1 100) (list (cons (ash 1 100) t))) => nil

Suggested patch attached.

[0001-Fix-cl-member-and-cl-assoc-for-bignums.patch (application/octet-stream, attachment)]

Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Sun, 02 Jun 2019 01:16:02 GMT) Full text and rfc822 format available.

Notification sent to Mattias Engdegård <mattiase <at> acm.org>:
bug acknowledged by developer. (Sun, 02 Jun 2019 01:16:02 GMT) Full text and rfc822 format available.

Message #10 received at 35869-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Mattias Engdegård <mattiase <at> acm.org>
Cc: 35869-done <at> debbugs.gnu.org
Subject: Re: [PATCH] `cl-member' and `cl-assoc' do not work for bignums
Date: Sat, 1 Jun 2019 18:15:45 -0700
[Message part 1 (text/plain, inline)]
Thanks, I installed that into the master branch, along with the attached minor 
tuneup to restore some of the optimization that was in the original code.
[0001-Tune-cl-assoc.patch (text/x-patch, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35869; Package emacs. (Sun, 02 Jun 2019 13:06:01 GMT) Full text and rfc822 format available.

Message #13 received at 35869-done <at> debbugs.gnu.org (full text, mbox):

From: Mattias Engdegård <mattiase <at> acm.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 35869-done <at> debbugs.gnu.org
Subject: Re: [PATCH] `cl-member' and `cl-assoc' do not work for bignums
Date: Sun, 2 Jun 2019 15:05:39 +0200
2 juni 2019 kl. 03.15 skrev Paul Eggert <eggert <at> cs.ucla.edu>:
> 
> Thanks, I installed that into the master branch, along with the attached minor tuneup to restore some of the optimization that was in the original code.

A good improvement, and thank you!






bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 01 Jul 2019 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 351 days ago.

Previous Next


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