[Top][All Lists]

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

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

From: Lars Ingebrigtsen
Subject: bug#6457: 24.0.50; Inappropriate error msg for set-variable
Date: Fri, 23 Aug 2019 07:28:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Drew Adams <address@hidden> 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

reply via email to

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