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

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 23 Aug 2019 07:28:35 +0200

Drew Adams <[email-masked]> writes:

>> 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)).

I think this has been fixed once and for all in Emacs 27 with the new
bignum support, so I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no