unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Lars Ingebrigtsen <larsi@gnus.org>, Eli Zaretskii <eliz@gnu.org>
Cc: 6457@debbugs.gnu.org
Subject: bug#6457: 24.0.50; Inappropriate error msg for set-variable
Date: Wed, 5 Feb 2014 22:55:07 -0800 (PST)	[thread overview]
Message-ID: <7b9577e9-d8d8-425f-8ff4-e907d86e0caa@default> (raw)
In-Reply-To: <87fvnwrbjw.fsf@building.gnus.org>

> 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	other threads:[~2014-02-06  6:55 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 [this message]
2019-08-23  5:28               ` Lars Ingebrigtsen
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7b9577e9-d8d8-425f-8ff4-e907d86e0caa@default \
    --to=drew.adams@oracle.com \
    --cc=6457@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=larsi@gnus.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).