From: Drew Adams <drew.adams@oracle.com>
To: jay.p.belanger@gmail.com, 16293@debbugs.gnu.org
Subject: bug#16293: 24.3.50; doc of `string-to-number'
Date: Sun, 29 Dec 2013 15:07:49 -0800 (PST) [thread overview]
Message-ID: <6ef6dd56-a813-4192-9508-04f35ce71dab@default> (raw)
In-Reply-To: <87wqin9svr.fsf@gmail.com>
> > Say what happens if STRING cannot successfully be parsed as a number:
> > the function raises an error.
>
> When would it give an error, rather than 0?
If it never raises an error, then say explicitly that for any
string that cannot successfully be parsed as a number it returns 0.
(Cf. bug #16294, which was giving me the impression at first that
`string-to-number' was raising an error.)
next prev parent reply other threads:[~2013-12-29 23:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-29 22:20 bug#16293: 24.3.50; doc of `string-to-number' Drew Adams
2013-12-29 22:47 ` Jay Belanger
2013-12-29 23:07 ` Drew Adams [this message]
[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=6ef6dd56-a813-4192-9508-04f35ce71dab@default \
--to=drew.adams@oracle.com \
--cc=16293@debbugs.gnu.org \
--cc=jay.p.belanger@gmail.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.