GNU bug report logs - #72311
[PATCH] Treat period as a symbol constituent in cc-mode

Previous Next

Package: emacs;

Reported by: Vladislav Yegorov <vlad <at> yegorov.org>

Date: Fri, 26 Jul 2024 20:00:03 UTC

Severity: wishlist

Tags: patch

Merged with 72310

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Vladislav Yegorov <vlad <at> yegorov.org>
Subject: bug#72311: closed (Re: bug#72311: [PATCH] Treat period as a
 symbol constituent in cc-mode)
Date: Sun, 23 Feb 2025 00:50:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#72311: [PATCH] Treat period as a symbol constituent in cc-mode

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 72311 <at> debbugs.gnu.org.

-- 
72311: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72311
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Kangas <stefankangas <at> gmail.com>
To: Dmitry Gutov <dmitry <at> gutov.dev>
Cc: Alan Mackenzie <acm <at> muc.de>, Eli Zaretskii <eliz <at> gnu.org>,
 Vladislav Yegorov <vlad <at> yegorov.org>, Jeremy Bryant <jb <at> jeremybryant.net>,
 72311-done <at> debbugs.gnu.org
Subject: Re: bug#72311: [PATCH] Treat period as a symbol constituent in cc-mode
Date: Sun, 23 Feb 2025 00:49:49 +0000
Dmitry Gutov <dmitry <at> gutov.dev> writes:

> 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.

It sounds like this is not a change that we want to make, so I'm closing
this now.

Nevertheless, thanks for the patch, Vladislav.

[Message part 3 (message/rfc822, inline)]
From: Vladislav Yegorov <vlad <at> yegorov.org>
To: Vladislav Yegorov <vlad <at> yegorov.org>
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: [PATCH] Treat period as a symbol constituent in cc-mode
Date: Fri, 26 Jul 2024 21:26:34 +0200
[Message part 4 (text/plain, inline)]
I am sorry, I forgot the actual patch.

[0001-Treat-period-as-a-symbol-constituent-in-cc-mode.patch (text/patch, attachment)]

This bug report was last modified 146 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.