From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#16293: 24.3.50; doc of `string-to-number' Date: Sun, 29 Dec 2013 15:07:49 -0800 (PST) Message-ID: <6ef6dd56-a813-4192-9508-04f35ce71dab@default> References: <545fea48-4716-4435-b0b1-0ac2efecd8d0@default> <87wqin9svr.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1388358498 27739 80.91.229.3 (29 Dec 2013 23:08:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Dec 2013 23:08:18 +0000 (UTC) To: jay.p.belanger@gmail.com, 16293@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 30 00:08:23 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VxPT5-0001ue-1f for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Dec 2013 00:08:23 +0100 Original-Received: from localhost ([::1]:56497 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxPT4-0004bi-A5 for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Dec 2013 18:08:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxPSt-0004ba-JM for bug-gnu-emacs@gnu.org; Sun, 29 Dec 2013 18:08:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VxPSl-0004DK-04 for bug-gnu-emacs@gnu.org; Sun, 29 Dec 2013 18:08:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxPSk-0004DG-TB for bug-gnu-emacs@gnu.org; Sun, 29 Dec 2013 18:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VxPSj-0003g1-Rk for bug-gnu-emacs@gnu.org; Sun, 29 Dec 2013 18:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Dec 2013 23:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16293 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16293-submit@debbugs.gnu.org id=B16293.138835848114126 (code B ref 16293); Sun, 29 Dec 2013 23:08:01 +0000 Original-Received: (at 16293) by debbugs.gnu.org; 29 Dec 2013 23:08:01 +0000 Original-Received: from localhost ([127.0.0.1]:50911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VxPSi-0003fl-8K for submit@debbugs.gnu.org; Sun, 29 Dec 2013 18:08:00 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:24295) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VxPSf-0003fb-HM for 16293@debbugs.gnu.org; Sun, 29 Dec 2013 18:07:58 -0500 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rBTN7t3G027496 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 29 Dec 2013 23:07:56 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBTN7sFi020450 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 29 Dec 2013 23:07:55 GMT Original-Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBTN7sGX005260; Sun, 29 Dec 2013 23:07:54 GMT In-Reply-To: <87wqin9svr.fsf@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:82722 Archived-At: > > Say what happens if STRING cannot successfully be parsed as a number: > > the function raises an error. >=20 > 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.)