GNU bug report logs - #16293
24.3.50; doc of `string-to-number'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 29 Dec 2013 22:21:01 UTC

Severity: minor

Found in version 24.3.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Drew Adams <drew.adams <at> oracle.com>
Subject: bug#16293: closed (Re:  24.3.50; doc of `string-to-number')
Date: Sun, 05 Jan 2014 01:26:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#16293: 24.3.50; doc of `string-to-number'

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 16293 <at> debbugs.gnu.org.

-- 
16293: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16293
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 16293-done <at> debbugs.gnu.org
Subject: Re:  24.3.50; doc of `string-to-number'
Date: Sat, 04 Jan 2014 17:25:24 -0800
Thanks for the bug report; fixed in trunk bzr 115868.

[Message part 3 (message/rfc822, inline)]
From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; doc of `string-to-number'
Date: Sun, 29 Dec 2013 14:20:14 -0800 (PST)
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 <at> 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'



This bug report was last modified 11 years and 141 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.