From unknown Sun Jun 15 08:30:25 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#48678 <48678@debbugs.gnu.org> To: bug#48678 <48678@debbugs.gnu.org> Subject: Status: [PATCH] lex floats with trailing dot and exponent correctly Reply-To: bug#48678 <48678@debbugs.gnu.org> Date: Sun, 15 Jun 2025 15:30:25 +0000 retitle 48678 [PATCH] lex floats with trailing dot and exponent correctly reassign 48678 emacs submitter 48678 Mattias Engdeg=C3=A5rd severity 48678 normal tag 48678 patch fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Wed May 26 12:56:55 2021 Received: (at submit) by debbugs.gnu.org; 26 May 2021 16:56:55 +0000 Received: from localhost ([127.0.0.1]:49793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llwpz-0003lg-5o for submit@debbugs.gnu.org; Wed, 26 May 2021 12:56:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:36534) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llwpx-0003lX-3V for submit@debbugs.gnu.org; Wed, 26 May 2021 12:56:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llwpw-0002SC-RF for bug-gnu-emacs@gnu.org; Wed, 26 May 2021 12:56:52 -0400 Received: from mail71c50.megamailservers.eu ([91.136.10.81]:41278 helo=mail92c50.megamailservers.eu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llwpu-0008UK-95 for bug-gnu-emacs@gnu.org; Wed, 26 May 2021 12:56:52 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1622048206; bh=nF+8MFI6KsTVhft1WlVq4DUoceiqlzugWufp6L/BewE=; h=From:Subject:Date:To:From; b=K2/O3SHb7Nj9COpWhuEOFp10JF1pEXCXyqpu5tGmXL/N5pBNTY+S24TW9E1LHgtpu rg1qQytao0WOYTKsB4F6HOYcd2mGvDDENytNLGOM0B1ATVHjwuZ37zqCUDASRQYqwj bNoZrsGLchCniIWopasmyd9aHH+CfkHHTt0MeNws= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-b952e353.032-75-73746f71.bbcust.telenor.se [83.227.82.185]) (authenticated bits=0) by mail92c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 14QGuhQI032033 for ; Wed, 26 May 2021 16:56:45 +0000 From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Content-Type: multipart/mixed; boundary="Apple-Mail=_670E266A-C6F9-4816-97E0-957543E27ABD" Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: [PATCH] lex floats with trailing dot and exponent correctly Message-Id: <8A11B2EA-B278-4458-A5DB-05E3FB278570@acm.org> Date: Wed, 26 May 2021 18:56:43 +0200 To: bug-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.3445.104.21) X-CTCH-RefID: str=0001.0A742F27.60AE7DCE.0003, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=UJ+j4xXy c=1 sm=1 tr=0 a=von4qPfY+hyqc0zmWf0tYQ==:117 a=von4qPfY+hyqc0zmWf0tYQ==:17 a=M51BFTxLslgA:10 a=rFiU7r3YT6h7P3ff9FAA:9 a=CjuIK1q_8ugA:10 a=hE2Zma9afcQoTjbWypsA:9 a=B2y7HmGcmWMA:10 X-Origin-Country: SE Received-SPF: softfail client-ip=91.136.10.81; envelope-from=mattiase@acm.org; helo=mail92c50.megamailservers.eu X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --Apple-Mail=_670E266A-C6F9-4816-97E0-957543E27ABD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Motivation: I poured lots of numeric data into Emacs for a computation, = but the result weren't as expected at all. Yet my code was correct, and = so was the data. After hours of debugging, it turned out that Emacs reads a number like = 1.e6 as the integer 1, not the float 1000000.0. The exponent is silently = ignored! Now Emacs has always treated numbers like 123. as integers rather than = floats, but (1) it's documented, (2) it's what Common Lisp does, and (3) it actually doesn't affect the numeric value most of the time. (Common Lisp probably got this from Maclisp, the rationale being that a = trailing dot can be used to write integers in base 10 even when the = current input radix is set to something else, something that Emacs Lisp = doesn't need.) Obviously this doesn't apply to 1.e6 which any sane person agrees is the = float 1.0e+6 (including Common Lisp). The attached patch fixes this bug. --Apple-Mail=_670E266A-C6F9-4816-97E0-957543E27ABD Content-Disposition: attachment; filename=0001-Fix-lexing-of-numbers-with-trailing-decimal-point-an.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-Fix-lexing-of-numbers-with-trailing-decimal-point-an.patch" Content-Transfer-Encoding: quoted-printable =46rom=20a0b69a9fc17c42b0c15b28c5894ffb2a1a9327e3=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20=3D?UTF-8?q?Mattias=3D20Engdeg=3DC3=3DA5rd?=3D=20= =0ADate:=20Thu,=2020=20May=202021=2018:26:15=20+0200=0A= Subject:=20[PATCH]=20Fix=20lexing=20of=20numbers=20with=20trailing=20= decimal=20point=20and=0A=20exponent=0A=0ANumbers=20with=20a=20trailing=20= dot=20and=20an=20exponent=20were=20incorrectly=20read=20as=0Aintegers=20= (with=20the=20exponent=20ignored)=20instead=20of=20the=20floats=20they=20= should=0Abe.=20=20For=20example,=201.e6=20was=20read=20as=20the=20= integer=201,=20not=201000000.0=20as=0Aevery=20sane=20person=20would=20= agree=20was=20meant.=0A=0ANumbers=20with=20a=20trailing=20dot=20but=20no=20= exponent=20are=20still=20read=20as=0Aintegers.=0A=0A*=20src/lread.c=20= (string_to_number):=20Fix=20float=20lexing.=0A*=20= test/src/lread-tests.el=20(lread-float):=20Add=20test.=0A*=20= doc/lispref/numbers.texi=20(Float=20Basics):=20Clarify=20syntax.=0A---=0A= =20doc/lispref/numbers.texi=20|=20=203=20+-=0A=20src/lread.c=20=20=20=20=20= =20=20=20=20=20=20=20=20=20|=2010=20+++---=0A=20test/src/lread-tests.el=20= =20|=2067=20++++++++++++++++++++++++++++++++++++++++=0A=203=20files=20= changed,=2074=20insertions(+),=206=20deletions(-)=0A=0Adiff=20--git=20= a/doc/lispref/numbers.texi=20b/doc/lispref/numbers.texi=0Aindex=20= 4c5f72126e..d28e15869a=20100644=0A---=20a/doc/lispref/numbers.texi=0A+++=20= b/doc/lispref/numbers.texi=0A@@=20-237,7=20+237,8=20@@=20Float=20Basics=0A= =20@samp{+15e2},=20@samp{15.0e+2},=20@samp{+1500000e-3},=20and=20= @samp{.15e4}=20are=0A=20five=20ways=20of=20writing=20a=20floating-point=20= number=20whose=20value=20is=201500.=0A=20They=20are=20all=20equivalent.=20= =20Like=20Common=20Lisp,=20Emacs=20Lisp=20requires=20at=0A-least=20one=20= digit=20after=20any=20decimal=20point=20in=20a=20floating-point=20= number;=0A+least=20one=20digit=20after=20a=20decimal=20point=20in=20a=20= floating-point=20number=20that=0A+does=20not=20have=20an=20exponent;=0A=20= @samp{1500.}=20is=20an=20integer,=20not=20a=20floating-point=20number.=0A= =20=0A=20=20=20Emacs=20Lisp=20treats=20@code{-0.0}=20as=20numerically=20= equal=20to=20ordinary=20zero=0Adiff=20--git=20a/src/lread.c=20= b/src/lread.c=0Aindex=20bca53a9a37..0b33fd0f25=20100644=0A---=20= a/src/lread.c=0A+++=20b/src/lread.c=0A@@=20-3938,8=20+3938,7=20@@=20= string_to_number=20(char=20const=20*string,=20int=20base,=20ptrdiff_t=20= *plen)=0A=20=20=20bool=20signedp=20=3D=20negative=20|=20positive;=0A=20=20= =20cp=20+=3D=20signedp;=0A=20=0A-=20=20enum=20{=20INTOVERFLOW=20=3D=201,=20= LEAD_INT=20=3D=202,=20DOT_CHAR=20=3D=204,=20TRAIL_INT=20=3D=208,=0A-=09=20= E_EXP=20=3D=2016=20};=0A+=20=20enum=20{=20INTOVERFLOW=20=3D=201,=20= LEAD_INT=20=3D=202,=20TRAIL_INT=20=3D=204,=20E_EXP=20=3D=2016=20};=0A=20=20= =20int=20state=20=3D=200;=0A=20=20=20int=20leading_digit=20=3D=20= digit_to_number=20(*cp,=20base);=0A=20=20=20uintmax_t=20n=20=3D=20= leading_digit;=0A@@=20-3959,7=20+3958,6=20@@=20string_to_number=20(char=20= const=20*string,=20int=20base,=20ptrdiff_t=20*plen)=0A=20=20=20char=20= const=20*after_digits=20=3D=20cp;=0A=20=20=20if=20(*cp=20=3D=3D=20'.')=0A= =20=20=20=20=20{=0A-=20=20=20=20=20=20state=20|=3D=20DOT_CHAR;=0A=20=20=20= =20=20=20=20cp++;=0A=20=20=20=20=20}=0A=20=0A@@=20-4008,8=20+4006,10=20= @@=20string_to_number=20(char=20const=20*string,=20int=20base,=20= ptrdiff_t=20*plen)=0A=20=09=20=20=20=20cp=20=3D=20ecp;=0A=20=09}=0A=20=0A= -=20=20=20=20=20=20float_syntax=20=3D=20((state=20&=20= (DOT_CHAR|TRAIL_INT))=20=3D=3D=20(DOT_CHAR|TRAIL_INT)=0A-=09=09=20=20=20=20= =20=20||=20(state=20&=20~INTOVERFLOW)=20=3D=3D=20(LEAD_INT|E_EXP));=0A+=20= =20=20=20=20=20/*=20A=20float=20has=20digits=20after=20the=20dot=20or=20= an=20exponent.=0A+=09=20This=20excludes=20numbers=20like=20"1."=20which=20= are=20lexed=20as=20integers.=20*/=0A+=20=20=20=20=20=20float_syntax=20=3D=20= ((state=20&=20TRAIL_INT)=0A+=09=09=20=20=20=20=20=20||=20((state=20&=20= LEAD_INT)=20&&=20(state=20&=20E_EXP)));=0A=20=20=20=20=20}=0A=20=0A=20=20= =20if=20(plen)=0Adiff=20--git=20a/test/src/lread-tests.el=20= b/test/src/lread-tests.el=0Aindex=20f2a60bcf32..dac8f95bc4=20100644=0A= ---=20a/test/src/lread-tests.el=0A+++=20b/test/src/lread-tests.el=0A@@=20= -196,4=20+196,71=20@@=20test-inhibit-interaction=0A=20=20=20=20=20= (should-error=20(read-event=20"foo:=20"))=0A=20=20=20=20=20(should-error=20= (read-char-exclusive=20"foo:=20"))))=0A=20=0A+(ert-deftest=20lread-float=20= ()=0A+=20=20(should=20(equal=20(read=20"13")=2013))=0A+=20=20(should=20= (equal=20(read=20"+13")=2013))=0A+=20=20(should=20(equal=20(read=20= "-13")=20-13))=0A+=20=20(should=20(equal=20(read=20"13.")=2013))=0A+=20=20= (should=20(equal=20(read=20"+13.")=2013))=0A+=20=20(should=20(equal=20= (read=20"-13.")=20-13))=0A+=20=20(should=20(equal=20(read=20"13.25")=20= 13.25))=0A+=20=20(should=20(equal=20(read=20"+13.25")=2013.25))=0A+=20=20= (should=20(equal=20(read=20"-13.25")=20-13.25))=0A+=20=20(should=20= (equal=20(read=20".25")=200.25))=0A+=20=20(should=20(equal=20(read=20= "+.25")=200.25))=0A+=20=20(should=20(equal=20(read=20"-.25")=20-0.25))=0A= +=20=20(should=20(equal=20(read=20"13e4")=20130000.0))=0A+=20=20(should=20= (equal=20(read=20"+13e4")=20130000.0))=0A+=20=20(should=20(equal=20(read=20= "-13e4")=20-130000.0))=0A+=20=20(should=20(equal=20(read=20"13e+4")=20= 130000.0))=0A+=20=20(should=20(equal=20(read=20"+13e+4")=20130000.0))=0A= +=20=20(should=20(equal=20(read=20"-13e+4")=20-130000.0))=0A+=20=20= (should=20(equal=20(read=20"625e-4")=200.0625))=0A+=20=20(should=20= (equal=20(read=20"+625e-4")=200.0625))=0A+=20=20(should=20(equal=20(read=20= "-625e-4")=20-0.0625))=0A+=20=20(should=20(equal=20(read=20"1.25e2")=20= 125.0))=0A+=20=20(should=20(equal=20(read=20"+1.25e2")=20125.0))=0A+=20=20= (should=20(equal=20(read=20"-1.25e2")=20-125.0))=0A+=20=20(should=20= (equal=20(read=20"1.25e+2")=20125.0))=0A+=20=20(should=20(equal=20(read=20= "+1.25e+2")=20125.0))=0A+=20=20(should=20(equal=20(read=20"-1.25e+2")=20= -125.0))=0A+=20=20(should=20(equal=20(read=20"1.25e-1")=200.125))=0A+=20=20= (should=20(equal=20(read=20"+1.25e-1")=200.125))=0A+=20=20(should=20= (equal=20(read=20"-1.25e-1")=20-0.125))=0A+=20=20(should=20(equal=20= (read=20"4.e3")=204000.0))=0A+=20=20(should=20(equal=20(read=20"+4.e3")=20= 4000.0))=0A+=20=20(should=20(equal=20(read=20"-4.e3")=20-4000.0))=0A+=20=20= (should=20(equal=20(read=20"4.e+3")=204000.0))=0A+=20=20(should=20(equal=20= (read=20"+4.e+3")=204000.0))=0A+=20=20(should=20(equal=20(read=20= "-4.e+3")=20-4000.0))=0A+=20=20(should=20(equal=20(read=20"5.e-1")=20= 0.5))=0A+=20=20(should=20(equal=20(read=20"+5.e-1")=200.5))=0A+=20=20= (should=20(equal=20(read=20"-5.e-1")=20-0.5))=0A+=20=20(should=20(equal=20= (read=20"0")=200))=0A+=20=20(should=20(equal=20(read=20"+0")=200))=0A+=20= =20(should=20(equal=20(read=20"-0")=200))=0A+=20=20(should=20(equal=20= (read=20"0.")=200))=0A+=20=20(should=20(equal=20(read=20"+0.")=200))=0A+=20= =20(should=20(equal=20(read=20"-0.")=200))=0A+=20=20(should=20(equal=20= (read=20"0.0")=200.0))=0A+=20=20(should=20(equal=20(read=20"+0.0")=20= 0.0))=0A+=20=20(should=20(equal=20(read=20"-0.0")=20-0.0))=0A+=20=20= (should=20(equal=20(read=20"0e5")=200.0))=0A+=20=20(should=20(equal=20= (read=20"+0e5")=200.0))=0A+=20=20(should=20(equal=20(read=20"-0e5")=20= -0.0))=0A+=20=20(should=20(equal=20(read=20"0e-5")=200.0))=0A+=20=20= (should=20(equal=20(read=20"+0e-5")=200.0))=0A+=20=20(should=20(equal=20= (read=20"-0e-5")=20-0.0))=0A+=20=20(should=20(equal=20(read=20".0e-5")=20= 0.0))=0A+=20=20(should=20(equal=20(read=20"+.0e-5")=200.0))=0A+=20=20= (should=20(equal=20(read=20"-.0e-5")=20-0.0))=0A+=20=20(should=20(equal=20= (read=20"0.0e-5")=200.0))=0A+=20=20(should=20(equal=20(read=20"+0.0e-5")=20= 0.0))=0A+=20=20(should=20(equal=20(read=20"-0.0e-5")=20-0.0))=0A+=20=20= (should=20(equal=20(read=20"0.e-5")=200.0))=0A+=20=20(should=20(equal=20= (read=20"+0.e-5")=200.0))=0A+=20=20(should=20(equal=20(read=20"-0.e-5")=20= -0.0))=0A+=20=20)=0A+=0A+=0A=20;;;=20lread-tests.el=20ends=20here=0A--=20= =0A2.21.1=20(Apple=20Git-122.3)=0A=0A= --Apple-Mail=_670E266A-C6F9-4816-97E0-957543E27ABD-- From debbugs-submit-bounces@debbugs.gnu.org Wed May 26 13:27:27 2021 Received: (at 48678) by debbugs.gnu.org; 26 May 2021 17:27:27 +0000 Received: from localhost ([127.0.0.1]:49831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llxJW-0004Z9-Tu for submit@debbugs.gnu.org; Wed, 26 May 2021 13:27:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llxJU-0004Yx-I5 for 48678@debbugs.gnu.org; Wed, 26 May 2021 13:27:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40668) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llxJP-0007Ba-8T; Wed, 26 May 2021 13:27:19 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4766 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llxJN-0005p0-3z; Wed, 26 May 2021 13:27:18 -0400 Date: Wed, 26 May 2021 20:27:17 +0300 Message-Id: <83fsy99zii.fsf@gnu.org> From: Eli Zaretskii To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= In-Reply-To: <8A11B2EA-B278-4458-A5DB-05E3FB278570@acm.org> (message from Mattias =?utf-8?Q?Engdeg=C3=A5rd?= on Wed, 26 May 2021 18:56:43 +0200) Subject: Re: bug#48678: [PATCH] lex floats with trailing dot and exponent correctly References: <8A11B2EA-B278-4458-A5DB-05E3FB278570@acm.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48678 Cc: 48678@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Mattias Engdegård > Date: Wed, 26 May 2021 18:56:43 +0200 > > Now Emacs has always treated numbers like 123. as integers rather than floats, but > (1) it's documented, > (2) it's what Common Lisp does, and > (3) it actually doesn't affect the numeric value most of the time. > > (Common Lisp probably got this from Maclisp, the rationale being that a trailing dot can be used to write integers in base 10 even when the current input radix is set to something else, something that Emacs Lisp doesn't need.) > > Obviously this doesn't apply to 1.e6 which any sane person agrees is the float 1.0e+6 (including Common Lisp). > > The attached patch fixes this bug. Brace for massive breakage. From debbugs-submit-bounces@debbugs.gnu.org Wed May 26 18:13:43 2021 Received: (at 48678) by debbugs.gnu.org; 26 May 2021 22:13:43 +0000 Received: from localhost ([127.0.0.1]:50111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lm1mZ-0005Iq-HR for submit@debbugs.gnu.org; Wed, 26 May 2021 18:13:43 -0400 Received: from quimby.gnus.org ([95.216.78.240]:34732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lm1mX-0005Ia-KP for 48678@debbugs.gnu.org; Wed, 26 May 2021 18:13:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=utyVgbKO3yRkSXrj00aVUPQVECuo2oxL0JpiBmtwoAE=; b=kSIrkEuY82UW83ycUyR1OZyqkI VRg1Ns9sTC4IFpnIQUdGXNqG4UFIHtoHwzt9888BS5xPMx2PY5ZRiBfxSU3zMo+yGfAn6kTAzWdva XLPsitGsQ4pI+ErtK36n727F2grykji5pvDc+C0xINhdafWq216Z8AC8c6xgOLVgCQzU=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lm1mP-0003kr-Mx; Thu, 27 May 2021 00:13:35 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#48678: [PATCH] lex floats with trailing dot and exponent correctly References: <8A11B2EA-B278-4458-A5DB-05E3FB278570@acm.org> <83fsy99zii.fsf@gnu.org> X-Now-Playing: Tuxedomoon's _Live At The Palms (1978)_: "Ballad of the Coalminer" Date: Thu, 27 May 2021 00:13:33 +0200 In-Reply-To: <83fsy99zii.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 26 May 2021 20:27:17 +0300") Message-ID: <87sg299m9e.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: >> Obviously this doesn't apply to 1.e6 which any sane person agrees is >> the float 1.0e+6 (including Common Lisp). >> >> The attached patch fixes this bug. > > Brace for massive breakage. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48678 Cc: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= , 48678@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> Obviously this doesn't apply to 1.e6 which any sane person agrees is >> the float 1.0e+6 (including Common Lisp). >> >> The attached patch fixes this bug. > > Brace for massive breakage. Yes, it's a rather scary change -- people will have code that sloppily parses noisy things like "1foo" and expect to get a 1 out, and ".e6" could well be noise that they expect to have ignored. So I'm sceptical. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu May 27 03:32:58 2021 Received: (at 48678) by debbugs.gnu.org; 27 May 2021 07:32:59 +0000 Received: from localhost ([127.0.0.1]:50538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmAVm-0004w1-NN for submit@debbugs.gnu.org; Thu, 27 May 2021 03:32:58 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:57521) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmAVk-0004vs-Mj for 48678@debbugs.gnu.org; Thu, 27 May 2021 03:32:57 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4FrKKg2lDkz1qtQ6; Thu, 27 May 2021 09:32:55 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4FrKKg29Q2z1qsZ9; Thu, 27 May 2021 09:32:55 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id pEKEwVOWpnwg; Thu, 27 May 2021 09:32:54 +0200 (CEST) X-Auth-Info: SI7dxfaRFoYgF0zN4NfVSwf/zc1K8Dtw/96+SJye3DWr+55S0KUJwL3UHdQmi7e3 Received: from igel.home (ppp-46-244-171-119.dynamic.mnet-online.de [46.244.171.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 27 May 2021 09:32:54 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 0F4512C333E; Thu, 27 May 2021 09:32:54 +0200 (CEST) From: Andreas Schwab To: Lars Ingebrigtsen Subject: Re: bug#48678: [PATCH] lex floats with trailing dot and exponent correctly References: <8A11B2EA-B278-4458-A5DB-05E3FB278570@acm.org> <83fsy99zii.fsf@gnu.org> <87sg299m9e.fsf@gnus.org> X-Yow: Hey, waiter! I want a NEW SHIRT and a PONY TAIL with lemon sauce! Date: Thu, 27 May 2021 09:32:53 +0200 In-Reply-To: <87sg299m9e.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 27 May 2021 00:13:33 +0200") Message-ID: <87v974iqca.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 48678 Cc: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= , Eli Zaretskii , 48678@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) On Mai 27 2021, Lars Ingebrigtsen wrote: > Yes, it's a rather scary change -- people will have code that sloppily > parses noisy things like "1foo" and expect to get a 1 out, and ".e6" > could well be noise that they expect to have ignored. > > So I'm sceptical. But then 1.e6 should be parsed as a symbol. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Thu May 27 03:40:30 2021 Received: (at 48678) by debbugs.gnu.org; 27 May 2021 07:40:31 +0000 Received: from localhost ([127.0.0.1]:50548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmAd4-000580-N1 for submit@debbugs.gnu.org; Thu, 27 May 2021 03:40:30 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmAd2-00057k-WE for 48678@debbugs.gnu.org; Thu, 27 May 2021 03:40:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=wYuPiKOOjBrWmVERPFu7JUr/YsBq1dtYfJX0uM9ORt8=; b=Y+5Lh/x+diEEJV2ij6xu+HSQu4 8B3TvalilK3vShV2n6CT9axWMC7BoqKaRE/6HTAqlvvhUjTpIsD+7Xz/BSj/0oe8Mu+09kjZ5DV17 8KK3vfKwc8k5mRpY1ZXRpZ4dUIAJrBOiPRfQLUgohFnBZrWGQanqO+9kZC091MQkfuNk=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lmAct-0001wG-NR; Thu, 27 May 2021 09:40:22 +0200 From: Lars Ingebrigtsen To: Andreas Schwab Subject: Re: bug#48678: [PATCH] lex floats with trailing dot and exponent correctly References: <8A11B2EA-B278-4458-A5DB-05E3FB278570@acm.org> <83fsy99zii.fsf@gnu.org> <87sg299m9e.fsf@gnus.org> <87v974iqca.fsf@igel.home> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAKlBMVEUWEhAhHRokIR4w LCpFQT5BPTtRTUpwbm2ioaBiX12Cf33S0M5AP0D////jKYWoAAAAAWJLR0QN9rRh9QAAAAd0SU1F B+UFGwclOAAbAYMAAAEhSURBVDjL3VK9asMwEJZ8YNrtJJPOiQ2eZR9kLoSGjoW8QIhKoHMGpy9Q FOjQUHBT+gh9gYJerrJdWsexBg9Z+k06fafvfj4x9q/B0ccI75PBxDkxvP9A+Rjy1YiqKnx8WgMq LegIJpwJUd3JTnosBQo8bk04oJQTFL/DIK/OMo9jrCOXVBOCw41iPKGcZlXsvMtqKWCpniFL1hlt l41I0xKn/OE1Y6NyND48NdI/+4L7TMcUlG/RrdmLFuGaC4E07Myn2Sxggi1XQzVPV1NrjdlfIbbW D3fhcnr9Ya19WXSHngeP7wfzVWh9bBgPVVqyiNakuoZpQe1d/1kMOXdR3z+LkJ0HA3V5Y9opLoti 00tcGLPrf2G2z71EQG5lvu/9DcTpK8x/LFvbAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTA1LTI3 VDA3OjM3OjU2KzAwOjAwIYanRAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wNS0yN1QwNzozNzo1 NiswMDowMFDbH/gAAAAASUVORK5CYII= X-Now-Playing: Little Simz's _Grey Area_: "Therapy" Date: Thu, 27 May 2021 09:40:19 +0200 In-Reply-To: <87v974iqca.fsf@igel.home> (Andreas Schwab's message of "Thu, 27 May 2021 09:32:53 +0200") Message-ID: <87mtsg62vw.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Andreas Schwab writes: > On Mai 27 2021, Lars Ingebrigtsen wrote: > >> Yes, it's a rather scary change -- people will have code that sloppily >> parses noisy things like "1foo" and expect to get a 1 out, and ".e6" >> could [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48678 Cc: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= , Eli Zaretskii , 48678@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Andreas Schwab writes: > On Mai 27 2021, Lars Ingebrigtsen wrote: > >> Yes, it's a rather scary change -- people will have code that sloppily >> parses noisy things like "1foo" and expect to get a 1 out, and ".e6" >> could well be noise that they expect to have ignored. >> >> So I'm sceptical. > > But then 1.e6 should be parsed as a symbol. Oops, I thought this was about string-to-number, which it wasn't at all. Hm. Currently 1.e6 reads to 1? Weird. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu May 27 08:20:23 2021 Received: (at 48678) by debbugs.gnu.org; 27 May 2021 12:20:23 +0000 Received: from localhost ([127.0.0.1]:50813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmEzu-0005mi-PU for submit@debbugs.gnu.org; Thu, 27 May 2021 08:20:22 -0400 Received: from mail33c50.megamailservers.eu ([91.136.10.43]:52504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmEzr-0005mX-JJ for 48678@debbugs.gnu.org; Thu, 27 May 2021 08:20:21 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1622118017; bh=K6cBz/ZNZ+jdmDcE3ZMHX2ek47MbWyvwrqfU6E6g998=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=PkUjkCl/dSijWMesKjaZ803t2xmt44CIPjJTsaH+lHSdef7cnQaQmqvJEqKK2kS21 Fa86rbZo+8hEHLdm933qy0fqOE3NZT8bxZi5NACOQnqqtMnJehEPahF5cHYX4UKrHO ZChl5b1krXW3Nw4fZt3j8AQ0UYx5gecvXhZlhDC8= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-b952e353.032-75-73746f71.bbcust.telenor.se [83.227.82.185]) (authenticated bits=0) by mail33c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 14RCKFK0013708; Thu, 27 May 2021 12:20:17 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: bug#48678: [PATCH] lex floats with trailing dot and exponent correctly From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: <83fsy99zii.fsf@gnu.org> Date: Thu, 27 May 2021 14:20:14 +0200 Content-Transfer-Encoding: 7bit Message-Id: <60EEFB75-47FD-42D1-BF82-2797320CCC63@acm.org> References: <8A11B2EA-B278-4458-A5DB-05E3FB278570@acm.org> <83fsy99zii.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.3445.104.21) X-CTCH-RefID: str=0001.0A742F1B.60AF8E81.005B, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=Rbbu9Glv c=1 sm=1 tr=0 a=von4qPfY+hyqc0zmWf0tYQ==:117 a=von4qPfY+hyqc0zmWf0tYQ==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=mDV3o1hIAAAA:8 a=3IzYH2kQUjT1yyWQyCQA:9 a=CjuIK1q_8ugA:10 a=ncZ9vwaUYPMA:10 a=_FVE-zBwftR9WsbkzFJk:22 X-Origin-Country: SE X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 48678 Cc: 48678@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 26 maj 2021 kl. 19.27 skrev Eli Zaretskii : > Brace for massive breakage. Challenge accepted! Now in master. Bring it on! From debbugs-submit-bounces@debbugs.gnu.org Thu May 27 08:28:29 2021 Received: (at 48678) by debbugs.gnu.org; 27 May 2021 12:28:29 +0000 Received: from localhost ([127.0.0.1]:50823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmF7k-0005yZ-Qb for submit@debbugs.gnu.org; Thu, 27 May 2021 08:28:29 -0400 Received: from mail1451c50.megamailservers.eu ([91.136.14.51]:52040 helo=mail266c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmF7i-0005yH-Hq for 48678@debbugs.gnu.org; Thu, 27 May 2021 08:28:27 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1622118500; bh=GoUISSYJJ9GJPaE03dU9BNwJr2b7u84yIMKCt07m3r0=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=VFTWqbMUWgcCa8b9tntJIhOa1uW0WS6AHY4YT4F2EFmcIbd/x0ZLKZp8GwOtFK35B OF9LCPrRNimx7z/i1K9+VKTkZV66vFQvW5WrGGZn+niGIOa9BAgdujnyoe4knM6B9N e6rIQd3MkQckibYinmAUOTPgyw6yaZYuxun8iIG0= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-b952e353.032-75-73746f71.bbcust.telenor.se [83.227.82.185]) (authenticated bits=0) by mail266c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 14RCSHdW030643; Thu, 27 May 2021 12:28:19 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: bug#48678: [PATCH] lex floats with trailing dot and exponent correctly From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: <87mtsg62vw.fsf@gnus.org> Date: Thu, 27 May 2021 14:28:17 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <38C1D4A8-7C62-4DA4-8DC9-EB14C0CD59F6@acm.org> References: <8A11B2EA-B278-4458-A5DB-05E3FB278570@acm.org> <83fsy99zii.fsf@gnu.org> <87sg299m9e.fsf@gnus.org> <87v974iqca.fsf@igel.home> <87mtsg62vw.fsf@gnus.org> To: Lars Ingebrigtsen X-Mailer: Apple Mail (2.3445.104.21) X-CTCH-RefID: str=0001.0A742F16.60AF9064.0015, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=UeYvt5aN c=1 sm=1 tr=0 a=von4qPfY+hyqc0zmWf0tYQ==:117 a=von4qPfY+hyqc0zmWf0tYQ==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=OocQHUDgAAAA:8 a=MqZX-n03W-73ft79EoMA:9 a=CjuIK1q_8ugA:10 a=3fbLLLLNgwQA:10 a=xUZTl98r3Qw_uB5NK3jt:22 X-Origin-Country: SE X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 27 maj 2021 kl. 09.40 skrev Lars Ingebrigtsen : > Hm. Currently 1.e6 reads to 1? Weird. Yes, this behaviour was probably not intended at all. Such things happen; the best we can do is to put things right. Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.4 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-Debbugs-Envelope-To: 48678 Cc: 48678@debbugs.gnu.org, Eli Zaretskii , Andreas Schwab X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 27 maj 2021 kl. 09.40 skrev Lars Ingebrigtsen : > Hm. Currently 1.e6 reads to 1? Weird. Yes, this behaviour was probably not intended at all. Such things = happen; the best we can do is to put things right. From debbugs-submit-bounces@debbugs.gnu.org Thu May 27 08:37:07 2021 Received: (at 48678) by debbugs.gnu.org; 27 May 2021 12:37:07 +0000 Received: from localhost ([127.0.0.1]:50853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmFG7-0006Ds-B4 for submit@debbugs.gnu.org; Thu, 27 May 2021 08:37:07 -0400 Received: from mail-ot1-f44.google.com ([209.85.210.44]:44567) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmFG6-0006D1-07 for 48678@debbugs.gnu.org; Thu, 27 May 2021 08:37:06 -0400 Received: by mail-ot1-f44.google.com with SMTP id r26-20020a056830121ab02902a5ff1c9b81so23275otp.11 for <48678@debbugs.gnu.org>; Thu, 27 May 2021 05:37:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=t66sm1iD+nb8vUJ/btkjjB8ks+mLC1HBsXpYOKkn7IA=; b=C7QXPK9TG1gT5ZXsZG5A1OCWAihaZDQPEq/1XmvZ4YkS8oK4ftZQq0CNMkcIFNGpu0 RGVulsQI+5a5+aY/haywHDepdNBTwZn3RQFE0PDkfKNE5+C+ZjHLt7zcKT+AczYlxgnF lp+7kPSb2FLrBn4G7PgVH74DYQ25/VEF6KLM/CJ/ju2HZv/dHMAWUNscwC0LYeDrto18 nHlqVeY+aPHJx0pl24O4o7Gb3wkPzF23Mxeykjz6GyKej2/C8JF2ebUST8cw/FC8nrgL tcng6YHkHkqgX4U6cPQnWdxZypEqlUX04dykooSh4Nzdyq0uEPkdJyA9D6dOpRGgqgIq /PbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=t66sm1iD+nb8vUJ/btkjjB8ks+mLC1HBsXpYOKkn7IA=; b=SuiJQ+C9nB8k0fWk/RvbNBfdOLpsTvtCiVQwppBPg4jFh/q/f+6z2+FRnhpMydwMpv QHA+bi+D7u7ZicKD3iStpI4y3ONYbad3+Jtr6Mcf/SD1TcrBdu0R3HJH6inBNoURR33z tgagPTXerM1h3/56uI6Fms6oRT4LbELDcpzFwLBSO4ZktBx7GmS89WQ3A0Y5vDYErMcP dNnM/RuODIZI8BSLFAxAjUQYWcEdf/MRRJQAiTmEoSfGgTr73s9P/8sazlgyWXO2HY7L Ux/ScwcX1mhcvYja5EUIhGtLXBCtL8Q0Igxj4YEctYAedftXHPI94v6aD5nY0OGFPsST NPGA== X-Gm-Message-State: AOAM532NQqc3dDq7O1VH4ltvVlS27cWLF/5du3iSuXSaOMikoHxvpeYQ HVgCN+4uipB3CMirpzR0DY7z/WzhnyMvetmJC14= X-Google-Smtp-Source: ABdhPJwBVrmiNo1HeCUtXls+QvjnWh4G6FZWBqCD0uqPrXRAXjXCgpdGO7WWKnYCa/k9mhK2qSj56/WpzAlC4gj6QbM= X-Received: by 2002:a9d:585:: with SMTP id 5mr2704221otd.12.1622119020146; Thu, 27 May 2021 05:37:00 -0700 (PDT) MIME-Version: 1.0 References: <8A11B2EA-B278-4458-A5DB-05E3FB278570@acm.org> <83fsy99zii.fsf@gnu.org> <87sg299m9e.fsf@gnus.org> <87v974iqca.fsf@igel.home> <87mtsg62vw.fsf@gnus.org> In-Reply-To: <87mtsg62vw.fsf@gnus.org> From: Philipp Stephani Date: Thu, 27 May 2021 14:36:48 +0200 Message-ID: Subject: Re: bug#48678: [PATCH] lex floats with trailing dot and exponent correctly To: Lars Ingebrigtsen Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 48678 Cc: =?UTF-8?Q?Mattias_Engdeg=C3=A5rd?= , 48678@debbugs.gnu.org, Andreas Schwab X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Am Do., 27. Mai 2021 um 09:41 Uhr schrieb Lars Ingebrigtsen : > > Andreas Schwab writes: > > > On Mai 27 2021, Lars Ingebrigtsen wrote: > > > >> Yes, it's a rather scary change -- people will have code that sloppily > >> parses noisy things like "1foo" and expect to get a 1 out, and ".e6" > >> could well be noise that they expect to have ignored. > >> > >> So I'm sceptical. > > > > But then 1.e6 should be parsed as a symbol. > > Oops, I thought this was about string-to-number, which it wasn't at all. > > Hm. Currently 1.e6 reads to 1? Weird. At least for me it's parsed as a symbol. From debbugs-submit-bounces@debbugs.gnu.org Thu May 27 08:38:00 2021 Received: (at 48678) by debbugs.gnu.org; 27 May 2021 12:38:00 +0000 Received: from localhost ([127.0.0.1]:50856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmFGy-0006F2-KS for submit@debbugs.gnu.org; Thu, 27 May 2021 08:38:00 -0400 Received: from mail-ot1-f50.google.com ([209.85.210.50]:44666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmFGw-0006Eq-Nr for 48678@debbugs.gnu.org; Thu, 27 May 2021 08:37:59 -0400 Received: by mail-ot1-f50.google.com with SMTP id r26-20020a056830121ab02902a5ff1c9b81so25497otp.11 for <48678@debbugs.gnu.org>; Thu, 27 May 2021 05:37:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eqkeH3gbBx5XVowyDE96CGbQMD+leDDOftXS73pCZIU=; b=FbQExTZHYd6/i6SQv9Sa2fDkusLMuu0YOUYUIiWZD1XeMnxx7T1Kb7H/dlGGqaVRe0 FNxgU3pmKGYL02XJqqwih+zSEM/Uibst22r4Z3Bt0ptkTVmqeAVkDV6BQZn4KQmKcCf6 qWn5JdxdbYddWykS6QhlcHiQ12BrMgxhtl/R8URrHsT18UnytxTHdpUYcHCEsFoe/mBl VwZyCiiUipUeYx8zY7vY7sQtHb/ffkXEhnpFqTAVBzkrmLRLRJGwHjMHMAr5x0udC51M fBN5k7qN5ld2Y7P5HJHF7CV386+IqBRBNxY5I1juutYgvdSkRRoft9Smlt86+NTOBd7B SUXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eqkeH3gbBx5XVowyDE96CGbQMD+leDDOftXS73pCZIU=; b=A1hFLOSQyDAjopofduyYKCHyA1L3a3NhGs2HP0pvTyVqIoXGl1cdTnzSWet1/IEexv A1cOvl0TIf++uM0D72Cxm3yzEJLe+3MufdJwFLiHskOGsCadB5BtEh/vMoVP81D0pq0N RTnAtYiqhrGlevjW0GdfSS+k5bHZPOTgea01N7FqjETSt0Yzu+MAbK7fa1+iQwW0sIFu ldhBNRfs8jHxUKGMO0risfkw3xDqljnxfRAKuefPn0hV6zE5zp0q4RXucQc/P1rlLya4 e9BlYsQZApSv+pMcDYU8SgHpoWvhIV9QIBt/2l4TkQg6G8VgrA7u4ZQZa2nWKhuhAMZg ZBxg== X-Gm-Message-State: AOAM5303GNXhpTkgBqbNEGw+LRs4ql8eVwX8ZEjB6RBo1zqQ0sldtV++ +HDahI7UOHgWAjpNhhu3YwvaF4IsBWyLmUWFpCR3IMRyyPoLhg== X-Google-Smtp-Source: ABdhPJwKXcNbdQ8Hzus4YewOYkEqpcdjNJhyppNPs9ZsaaBmaS0fQT6WF6jmQ/FzO4sgQKV2XNSdecSqWaJlLwmHMTw= X-Received: by 2002:a05:6830:1209:: with SMTP id r9mr2580376otp.153.1622119073064; Thu, 27 May 2021 05:37:53 -0700 (PDT) MIME-Version: 1.0 References: <8A11B2EA-B278-4458-A5DB-05E3FB278570@acm.org> <83fsy99zii.fsf@gnu.org> <87sg299m9e.fsf@gnus.org> <87v974iqca.fsf@igel.home> <87mtsg62vw.fsf@gnus.org> In-Reply-To: From: Philipp Stephani Date: Thu, 27 May 2021 14:37:42 +0200 Message-ID: Subject: Re: bug#48678: [PATCH] lex floats with trailing dot and exponent correctly To: Lars Ingebrigtsen Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 48678 Cc: =?UTF-8?Q?Mattias_Engdeg=C3=A5rd?= , 48678@debbugs.gnu.org, Andreas Schwab X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Am Do., 27. Mai 2021 um 14:36 Uhr schrieb Philipp Stephani : > > Am Do., 27. Mai 2021 um 09:41 Uhr schrieb Lars Ingebrigtsen : > > > > Andreas Schwab writes: > > > > > On Mai 27 2021, Lars Ingebrigtsen wrote: > > > > > >> Yes, it's a rather scary change -- people will have code that sloppily > > >> parses noisy things like "1foo" and expect to get a 1 out, and ".e6" > > >> could well be noise that they expect to have ignored. > > >> > > >> So I'm sceptical. > > > > > > But then 1.e6 should be parsed as a symbol. > > > > Oops, I thought this was about string-to-number, which it wasn't at all. > > > > Hm. Currently 1.e6 reads to 1? Weird. > > At least for me it's parsed as a symbol. Oops, taking that back, I checked 1e.6 instead of 1.e6. From debbugs-submit-bounces@debbugs.gnu.org Sat May 29 02:03:54 2021 Received: (at 48678) by debbugs.gnu.org; 29 May 2021 06:03:54 +0000 Received: from localhost ([127.0.0.1]:55785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lms4g-0007Ms-5F for submit@debbugs.gnu.org; Sat, 29 May 2021 02:03:54 -0400 Received: from quimby.gnus.org ([95.216.78.240]:35496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lms4d-0007Mc-Jn for 48678@debbugs.gnu.org; Sat, 29 May 2021 02:03:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=FdatT0iyp2ZuUeWxE5/bOLqkn71ATs1rn06S1JpxGo0=; b=Honoya+oVw5x1wcjEuJIiVZpOm Kf3igmPLM+EDAgNOf/TX29n00w+qB82ZTRo1eObsVVBocbU2NEsGxBZaiHOW1h1053j+sljH1kBMb 0XZe4ZCmABBc0tlfttMUzPL1kkrXlhJJq6CHjWWIhc5ZgI/LBiEjZSSHGVlliWfNpKPs=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lms4U-0002DW-N4; Sat, 29 May 2021 08:03:45 +0200 From: Lars Ingebrigtsen To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= Subject: Re: bug#48678: [PATCH] lex floats with trailing dot and exponent correctly References: <8A11B2EA-B278-4458-A5DB-05E3FB278570@acm.org> <83fsy99zii.fsf@gnu.org> <60EEFB75-47FD-42D1-BF82-2797320CCC63@acm.org> X-Now-Playing: Joni Mitchell's _The Hissing Of Summer Lawns_: "Edith And The Kingpin" Date: Sat, 29 May 2021 08:03:42 +0200 In-Reply-To: <60EEFB75-47FD-42D1-BF82-2797320CCC63@acm.org> ("Mattias =?utf-8?Q?Engdeg=C3=A5rd=22's?= message of "Thu, 27 May 2021 14:20:14 +0200") Message-ID: <878s3yrs8x.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Mattias Engdegård writes: > 26 maj 2021 kl. 19.27 skrev Eli Zaretskii : > >> Brace for massive breakage. > > Challenge accepted! Now in master. Bring it on! :-) Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48678 Cc: Eli Zaretskii , 48678@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Mattias Engdeg=C3=A5rd writes: > 26 maj 2021 kl. 19.27 skrev Eli Zaretskii : > >> Brace for massive breakage. > > Challenge accepted! Now in master. Bring it on! :-) There didn't seem to be any reported breakages from this yet. It does seem quite NEWS-worthy, though, so I've added an entry, and I'm closing this bug report. If serious breakages do happen, we should consider backing out the change. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat May 29 02:03:59 2021 Received: (at control) by debbugs.gnu.org; 29 May 2021 06:03:59 +0000 Received: from localhost ([127.0.0.1]:55788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lms4l-0007N8-DN for submit@debbugs.gnu.org; Sat, 29 May 2021 02:03:59 -0400 Received: from quimby.gnus.org ([95.216.78.240]:35512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lms4j-0007Mj-Rq for control@debbugs.gnu.org; Sat, 29 May 2021 02:03:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xlGRJiRbNhm20rgIP7m+mPVIP4kxSQGUJY+cI/Ntap0=; b=Q/S+9KA0zJi56M42DXrLHJoioX i9h4pNFoT0K6ZxbfzpAKzKXgVgGNFkv8YCdpBXIMk0isJp32mFaRIAbk1ubHL+oUDGxQ+R8HcPgL7 OrVSkqY+frF/Mx8TXEWExky2A8ngQRCqBHkNlv5XumNnH0+a2eBSy9++229o2wo7wJQw=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lms4c-0002Df-Fl for control@debbugs.gnu.org; Sat, 29 May 2021 08:03:52 +0200 Date: Sat, 29 May 2021 08:03:50 +0200 Message-Id: <877djirs8p.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #48678 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 48678 fixed close 48678 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 48678 fixed close 48678 28.1 quit From debbugs-submit-bounces@debbugs.gnu.org Sat May 29 03:47:55 2021 Received: (at 48678) by debbugs.gnu.org; 29 May 2021 07:47:55 +0000 Received: from localhost ([127.0.0.1]:55902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmthK-0005tw-Fd for submit@debbugs.gnu.org; Sat, 29 May 2021 03:47:54 -0400 Received: from mail1435c50.megamailservers.eu ([91.136.14.35]:54506 helo=mail263c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmthF-0005td-9Q for 48678@debbugs.gnu.org; Sat, 29 May 2021 03:47:53 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1622274462; bh=JfkClxbqPvvgLPH7NuGAShHfdOAo3yzBaiOu6bk2BbU=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=HufJaIVVYW7G4qpehE/Ta6d7zg82OpjtrfNYDKxxr2PZnzIDioeCFxE0+lDcsIinY AfVNjP3dqcw6iG1tETAQxdF0jsAd7z49TPIUiaL+SomiN3ChZujps+tqTFH1qiqZrb kFzvTQ9yAflN9jjg5tbLQy6dqNEFueq0OHEJDN4Q= Feedback-ID: mattiase@acm.or Received: from [192.168.0.4] (c188-150-171-71.bredband.tele2.se [188.150.171.71]) (authenticated bits=0) by mail263c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 14T7leMp004290; Sat, 29 May 2021 07:47:41 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: bug#48678: [PATCH] lex floats with trailing dot and exponent correctly From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: <878s3yrs8x.fsf@gnus.org> Date: Sat, 29 May 2021 09:47:39 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <8A11B2EA-B278-4458-A5DB-05E3FB278570@acm.org> <83fsy99zii.fsf@gnu.org> <60EEFB75-47FD-42D1-BF82-2797320CCC63@acm.org> <878s3yrs8x.fsf@gnus.org> To: Lars Ingebrigtsen X-Mailer: Apple Mail (2.3445.104.21) X-CTCH-RefID: str=0001.0A742F1B.60B1F19E.001A, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=St3uF8G0 c=1 sm=1 tr=0 a=SF+I6pRkHZhrawxbOkkvaA==:117 a=SF+I6pRkHZhrawxbOkkvaA==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=OocQHUDgAAAA:8 a=v-XMdJexvj9_00VeNeUA:9 a=CjuIK1q_8ugA:10 a=xUZTl98r3Qw_uB5NK3jt:22 X-Origin-Country: SE X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 48678 Cc: Eli Zaretskii , 48678@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 29 maj 2021 kl. 08.03 skrev Lars Ingebrigtsen : > There didn't seem to be any reported breakages from this yet. It does > seem quite NEWS-worthy, though, so I've added an entry, and I'm = closing > this bug report. Excellent! I was going to write a NEWS entry, so thank you for forcing = my hand. I took the liberty to make a few minor changes to it for = precision; if it isn't to your liking, do tell. > If serious breakages do happen, we should consider > backing out the change. Most certainly, but I'm confident in the change. It wasn't done without = serious preparation: I scanned hundreds of Emacs packages, and checked = all boolean combinations in the reader condition to guarantee = correctness (which showed that a flag in the condition was redundant and = could be removed). There is now a serious test. Looking for the origin I also ran Maclisp on a PDP-10 and can confirm = that it does not have the bug, so it must have been endogenous to Emacs. From debbugs-submit-bounces@debbugs.gnu.org Sun May 30 00:08:00 2021 Received: (at 48678) by debbugs.gnu.org; 30 May 2021 04:08:01 +0000 Received: from localhost ([127.0.0.1]:58045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnCk4-0007LQ-Ot for submit@debbugs.gnu.org; Sun, 30 May 2021 00:08:00 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnCk2-0007LD-Ub for 48678@debbugs.gnu.org; Sun, 30 May 2021 00:07:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=SDuZ87dFAoDd7nU5seD98SFJHc5zG2YnDv1kOupJ8as=; b=WKi+Rqolf/lE9x+vKTJZxS+AUo /UE4aWDv+7fQzWV/snWOV8f6Pq/C41eu5hpfiRF4TEnXIYeTLUIaimpH82LrZCZztNFdjn+8Ttb5w wkeLtRo7NVFRY+PanK4SZDFx0z3yW0S/LZTC3ijsrt1JNctkUfqkjP4c2xvTrtD24f3I=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lnCju-0005W4-Pi; Sun, 30 May 2021 06:07:53 +0200 From: Lars Ingebrigtsen To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= Subject: Re: bug#48678: [PATCH] lex floats with trailing dot and exponent correctly References: <8A11B2EA-B278-4458-A5DB-05E3FB278570@acm.org> <83fsy99zii.fsf@gnu.org> <60EEFB75-47FD-42D1-BF82-2797320CCC63@acm.org> <878s3yrs8x.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEVNHBlwSymUXCQz GRLAk0r///+AteMNAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UFHgM5NN8NSBsAAAGVSURBVDjLrZTb dcMwCEBBLCAkD2DTDIDDBHG1/0wFO/IjTT56TvlwZF/xhgD8SfL65I88jQRQcAQhQJz0ADzJWERy EkkgfujAzyOWFaY8+cvJ3Pjm5IJ7JPjifhoxM/AI5QWIsMjk5svVwymrfxF5Y34NdLm1K8DfGrk/ 7c09FwsBrzCQ2VHbeDuL4gXoDg4f272up6BXYNSBdfD8Ej/wdHHSCKn6FRoD5F0jbgKS1lAb1sg3 jeJMGw/tYYaN6x6vuM4s0lozGlqqW5ZItni4cymt3SpJS71lNi92r6kMt1zyzLspsiI1kcrAdP/W oY1T1wAlJsOSLX0RC49HtZQ55lbnGhXpIJLDoIiYATnvGl4Ot2bRI87MPSiESH1to49jLvhMA8LK XLObosJAiD3xrb5Y3Qcvrox0BqA16AqO79HXFcyPML3Pw9aNyXulD4/uGKbnEKivZ3a6Aw9ntWWl dNA7qOF+Jl+sHM1HmQ6gkMDurO4YpT2OKfF/ADKOSH2vb5epZ2RmzH6/LS8bEgX04n7Yny4/6PdH 7AKsn3wAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMDUtMzBUMDM6NTc6NTIrMDA6MDCHmhC0AAAA JXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1LTMwVDAzOjU3OjUyKzAwOjAw9seoCAAAAABJRU5ErkJg gg== X-Now-Playing: Crosby, Stills, Nash & Young's =?utf-8?B?X0TDqWrDoA==?= Vu_: "Helpless" Date: Sun, 30 May 2021 06:07:50 +0200 In-Reply-To: ("Mattias =?utf-8?Q?Engdeg=C3=A5rd=22's?= message of "Sat, 29 May 2021 09:47:39 +0200") Message-ID: <878s3w7tk9.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Mattias Engdegård writes: > Excellent! I was going to write a NEWS entry, so thank you for forcing > my hand. I took the liberty to make a few minor changes to it for > precision; if it isn't to your liking, do tell. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48678 Cc: Eli Zaretskii , 48678@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Mattias Engdeg=C3=A5rd writes: > Excellent! I was going to write a NEWS entry, so thank you for forcing > my hand. I took the liberty to make a few minor changes to it for > precision; if it isn't to your liking, do tell. Looks good to me; thanks. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sun Jun 15 08:30:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 27 Jun 2021 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator