bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6457: 24.0.50; Inappropriate error msg for set-variable


From: Drew Adams
Subject: bug#6457: 24.0.50; Inappropriate error msg for set-variable
Date: Wed, 5 Feb 2014 22:55:07 -0800 (PST)

> Or is this problem only present for `set-variable'?  Then it might
> not be worth fixing.

No, it is a general problem.

It's a problem here because `read-from-minibuffer' reads an
integer numeral as input, and the value read is effectively a
floating-point number.

You can see the same thing happen for (format "%S" 999999999).
That returns the number 999999999.0.

IOW, it is the Lisp reader that reads an integer numeral and
returns a non-integer number: (not (integerp 999999999)).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]