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

From: Drew Adams <[email-masked]>
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)).