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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Mattias Engdegård <mattiase <at> acm.org>
Subject: bug#35869: closed (Re: [PATCH] `cl-member' and `cl-assoc' do not
 work for bignums)
Date: Sun, 02 Jun 2019 01:16:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#35869: [PATCH] `cl-member' and `cl-assoc' do not work for bignums

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 35869 <at> debbugs.gnu.org.

-- 
35869: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35869
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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 3 (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)]
[Message part 5 (message/rfc822, inline)]
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 6 (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)]

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

Previous Next


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