From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#72311: [PATCH] Treat period as a symbol constituent in cc-mode Date: Mon, 29 Jul 2024 02:59:44 +0300 Message-ID: References: <87h6ccm02t.fsf@yegorov.org> <871q3g3qfp.fsf@yegorov.org> <86ikwr2xbo.fsf@gnu.org> <87wml78a0s.fsf@yegorov.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17990"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: Eli Zaretskii , Jeremy Bryant , 72311@debbugs.gnu.org To: Alan Mackenzie , Vladislav Yegorov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 29 02:01:20 2024 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 1sYDpG-0004Ti-Vb for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Jul 2024 02:01:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sYDou-0003wd-Mv; Sun, 28 Jul 2024 20:00:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sYDop-0003vl-7V for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2024 20:00:53 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sYDoo-00013e-Tj for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2024 20:00:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=RrSKdhxsSi9Tgxg1LVEtiFhbTqLhdHaFlaTdNK3GG7w=; b=J9dw39UkmA3Yr5O+5HOhU50va31IdrJWrq8qF5WahOJqrvmK5xXNP3N44H1o6ei8Z0I1vlUdzdR0b6lbbvhknJj12TfOKWNYl4Do5SGluQzUZaR2P+gY6gbGXU0SoP+GlP2k2VRQY11MWa1/nhyaSjIAldL1tIUhHiSymrko6nb6nvdO9KdzBE8yLwySb9upDgaXRjUvKH8HJZY66w+++yKl+IxIkSbfZStYBRvh/+BQ2sZzPvGX9q6b3Q5kS32nHDxQjCqD4KnMGnQKtwWW267v2YTtEeTmJEj93iGZKZjlpY9r6jyFO9M+tc4BCyFoj9wlOk5/pEyfVHXjVhYU4w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sYDoz-0008PB-Qy for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2024 20:01:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Jul 2024 00:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72311 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 72311-submit@debbugs.gnu.org id=B72311.172221120832230 (code B ref 72311); Mon, 29 Jul 2024 00:01:01 +0000 Original-Received: (at 72311) by debbugs.gnu.org; 29 Jul 2024 00:00:08 +0000 Original-Received: from localhost ([127.0.0.1]:44606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYDo7-0008Mp-Nm for submit@debbugs.gnu.org; Sun, 28 Jul 2024 20:00:08 -0400 Original-Received: from fout2-smtp.messagingengine.com ([103.168.172.145]:50057) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sYDo5-0008Li-2e for 72311@debbugs.gnu.org; Sun, 28 Jul 2024 20:00:06 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfout.nyi.internal (Postfix) with ESMTP id DAA95138015C; Sun, 28 Jul 2024 19:59:47 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 28 Jul 2024 19:59:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1722211187; x=1722297587; bh=RrSKdhxsSi9Tgxg1LVEtiFhbTqLhdHaFlaTdNK3GG7w=; b= C7UFeFiGGwsqtYm23bHsTaFcRcz+H9n+YbcV11JalOmHLD4AACvpavaiemtHKEhR 4qWF4XqDNkvT76Zh8GuWLHd1nP7OF7Eu+qpkDO32D3sHzCXUQ/8uxxrKmd7BePge 1UCbrWdw0zw+tMPrI+mUCFwEG3B3E7bpGfNE9BmtKpa5rTlrkqs8R7DwjibGXn8+ 9YIUhtLff35PywHjpKhn+Ffl2xySf1YbLhsJ0NAfXPCjIGtlpDrRRpuT3t4EE4Cb kQdLzx1JywQ2QAW5q9p8sHJCszhAvISZx2zp7OFbSaLOpcwbj4qWK8EM5YonWzHP dR0J7Wyiifxm2jBljAJBXA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1722211187; x= 1722297587; bh=RrSKdhxsSi9Tgxg1LVEtiFhbTqLhdHaFlaTdNK3GG7w=; b=S OPZOauzb0+YXUIuuASWRoNpS5QoXCxeWa4v3JJ32BtfA6DXZ4BSFrRhCQIeYj6Ur k5jRZK5jfIaymrSKFtEZSZkG9XH8V7GXMKAj1nnJ7Ru02VtK6APturnw78qOBg7f +oXOj3WzzjqIKvFlTxeKktQA4T+kIrkLZprUdmorvPEbUQE8D4bjlnAxAJhXVN+5 x5ZikDQQPDA+Q4mAGWFjrk9O8l83Sgs7pGNN6hvRKo67k9RmAnD2BQsQwvIrNDc6 tQ0kXBkn1wD4os0BNrQcaOZ2sK4f/5ZRpsHgYwIKOKko2+igwcoK9DlpmVfvceGA c5XPHg8nAGeMfCWodJvbA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrjedugddvlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomhepffhmihht rhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtth gvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeufedtvddtveefhfdvveegudej heenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumh hithhrhiesghhuthhovhdruggvvhdpnhgspghrtghpthhtoheptd X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 28 Jul 2024 19:59:46 -0400 (EDT) Content-Language: en-US In-Reply-To: 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:289500 Archived-At: On 27/07/2024 14:26, Alan Mackenzie wrote: > It would be possible to put a syntax-table text property on a '.' when > it is followed directly by a decimal digit, with no space between. > Maybe we could also check that there's a valid number character before > the . (space, BOL, 0-9, -, ...?), but that might be over engineering. That sounds like the better choice indeed, but given the increase in complexity maybe the minor improvement in behavior is not really worth the effort.