From: Lars Ingebrigtsen <larsi@gnus.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 6457@debbugs.gnu.org
Subject: bug#6457: 24.0.50; Inappropriate error msg for set-variable
Date: Fri, 23 Aug 2019 07:28:35 +0200 [thread overview]
Message-ID: <87h868e9h8.fsf@gnus.org> (raw)
In-Reply-To: <7b9577e9-d8d8-425f-8ff4-e907d86e0caa@default> (Drew Adams's message of "Wed, 5 Feb 2014 22:55:07 -0800 (PST)")
Drew Adams <drew.adams@oracle.com> 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
next prev parent reply other threads:[~2019-08-23 5:28 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-18 16:06 bug#6457: 24.0.50; Inappropriate error msg for set-variable Drew Adams
2010-06-19 14:43 ` Juri Linkov
2010-06-20 14:47 ` Drew Adams
2014-02-06 0:28 ` Lars Ingebrigtsen
2014-02-06 1:41 ` Glenn Morris
2014-02-06 6:19 ` Eli Zaretskii
2014-02-06 6:37 ` Lars Ingebrigtsen
2014-02-06 6:55 ` Drew Adams
2019-08-23 5:28 ` Lars Ingebrigtsen [this message]
2014-02-06 8:06 ` Glenn Morris
2014-02-06 6:10 ` Eli Zaretskii
2014-02-06 6:28 ` Lars Ingebrigtsen
2014-02-06 8:17 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h868e9h8.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=6457@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.