GNU bug report logs - #8525
Lisp reader and string-to-number bugs and inconsistencies

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Wed, 20 Apr 2011 09:29:01 UTC

Severity: normal

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: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 8525 <at> debbugs.gnu.org
Subject: bug#8525: Lisp reader and string-to-number bugs and inconsistencies
Date: Wed, 20 Apr 2011 13:45:30 +0300
> Date: Wed, 20 Apr 2011 02:27:54 -0700
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> 
> To fix (2), it's plausible to change the code in one of two ways:
> either silently treat large integers as floats, or signal an overflow.
> I don't care that much one way or another, but Emacs should be
> consistent.  I mildly prefer reporting the overflow

My preference is the other way around: convert it to a float.  I think
it is more in line with many Emacs features, like the values returned
by file-attributes.





This bug report was last modified 14 years and 30 days ago.

Previous Next


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