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: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#35869: closed ([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 message dated Sat, 1 Jun 2019 18:15:45 -0700
with message-id <690e4e34-4c58-4452-9d9e-765fc2f90677 <at> cs.ucla.edu>
and subject line Re: [PATCH] `cl-member' and `cl-assoc' do not work for bignums
has caused the debbugs.gnu.org bug report #35869,
regarding [PATCH] `cl-member' and `cl-assoc' do not work for bignums
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> 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: 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 3 (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)]
[Message part 5 (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 6 (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)]

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.