From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#48678: [PATCH] lex floats with trailing dot and exponent correctly Date: Thu, 27 May 2021 14:36:48 +0200 Message-ID: References: <8A11B2EA-B278-4458-A5DB-05E3FB278570@acm.org> <83fsy99zii.fsf@gnu.org> <87sg299m9e.fsf@gnus.org> <87v974iqca.fsf@igel.home> <87mtsg62vw.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23442"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Andreas Schwab , 48678@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 27 14:57:15 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lmFZa-0005ul-L5 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 May 2021 14:57:14 +0200 Original-Received: from localhost ([::1]:45286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmFZZ-0003P6-ME for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 May 2021 08:57:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmFH4-0007C5-H8 for bug-gnu-emacs@gnu.org; Thu, 27 May 2021 08:38:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39310) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmFH0-0007Rg-HN for bug-gnu-emacs@gnu.org; Thu, 27 May 2021 08:38:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lmFH0-0006FJ-Ej for bug-gnu-emacs@gnu.org; Thu, 27 May 2021 08:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 May 2021 12:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48678 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 48678-submit@debbugs.gnu.org id=B48678.162211902723928 (code B ref 48678); Thu, 27 May 2021 12:38:02 +0000 Original-Received: (at 48678) by debbugs.gnu.org; 27 May 2021 12:37:07 +0000 Original-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 Original-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 Original-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) In-Reply-To: <87mtsg62vw.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:207373 Archived-At: 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.