From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Inconsistency in `string-to-number' Date: Fri, 24 Apr 2009 16:19:51 +0300 Message-ID: <83zle6fatk.fsf@gnu.org> References: <47083.128.165.123.18.1240532205.squirrel@webmail.lanl.gov> <833abygwxo.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1240579228 22651 80.91.229.12 (24 Apr 2009 13:20:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Apr 2009 13:20:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 24 15:21:48 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LxLLX-0000Xw-TF for ged-emacs-devel@m.gmane.org; Fri, 24 Apr 2009 15:21:40 +0200 Original-Received: from localhost ([127.0.0.1]:40970 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LxLK8-0004x1-DO for ged-emacs-devel@m.gmane.org; Fri, 24 Apr 2009 09:20:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LxLK2-0004ue-CA for emacs-devel@gnu.org; Fri, 24 Apr 2009 09:20:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LxLK1-0004u0-7i for emacs-devel@gnu.org; Fri, 24 Apr 2009 09:20:05 -0400 Original-Received: from [199.232.76.173] (port=54546 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LxLK1-0004tr-3C for emacs-devel@gnu.org; Fri, 24 Apr 2009 09:20:05 -0400 Original-Received: from mtaout7.012.net.il ([84.95.2.19]:54879) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LxLK0-0007qi-J4 for emacs-devel@gnu.org; Fri, 24 Apr 2009 09:20:04 -0400 Original-Received: from conversion-daemon.i-mtaout7.012.net.il by i-mtaout7.012.net.il (HyperSendmail v2007.08) id <0KIL00C00WUZ6U00@i-mtaout7.012.net.il> for emacs-devel@gnu.org; Fri, 24 Apr 2009 16:19:55 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.175.232]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KIL0027AX12VAB0@i-mtaout7.012.net.il>; Fri, 24 Apr 2009 16:19:52 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:110456 Archived-At: > From: Juanma Barranquero > Date: Fri, 24 Apr 2009 13:45:50 +0200 > Cc: herring@lanl.gov, emacs-devel@gnu.org > > Obviously, any such change should be done post 23.1; there's almost > 1,000 uses of `string-to-number' in lisp/*.el. It's hard to know how > many of them assume that "1:" will be interpreted as "1". Which is why I thing we should fix it the other way around: to recognize "1.2:" as a number. That cannot possibly break anything, so it should be safe to do before the release, IMO.