all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 16293@debbugs.gnu.org
Subject: bug#16293: 24.3.50; doc of `string-to-number'
Date: Sun, 29 Dec 2013 14:20:14 -0800 (PST)	[thread overview]
Message-ID: <545fea48-4716-4435-b0b1-0ac2efecd8d0@default> (raw)


Say what happens if STRING cannot successfully be parsed as a number:
the function raises an error.

The doc (e.g. manual) describes the parsing in a fair amount of detail,
and it describes how the result can end up a floating-point number if
the integer value would be too large.  But it says nothing about what
happens if no number can be identified for the string.



In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2013-12-27 on ODIEONE
Bzr revision: 115778 rgm@gnu.org-20131228000456-1797o8z6veuyozs0
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
 'CFLAGS=-O0 -g3' LDFLAGS=-Lc:/Devel/emacs/lib
 CPPFLAGS=-Ic:/Devel/emacs/include'





             reply	other threads:[~2013-12-29 22:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-29 22:20 Drew Adams [this message]
2013-12-29 22:47 ` bug#16293: 24.3.50; doc of `string-to-number' Jay Belanger
2013-12-29 23:07   ` Drew Adams
     [not found]     ` <87sitb9q6n.fsf@gmail.com>
2013-12-30  0:03       ` Drew Adams
2014-01-05  1:25 ` Paul Eggert

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=545fea48-4716-4435-b0b1-0ac2efecd8d0@default \
    --to=drew.adams@oracle.com \
    --cc=16293@debbugs.gnu.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 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.