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: Dmitry Gutov <dmitry <at> gutov.dev>
To: Alan Mackenzie <acm <at> muc.de>, Vladislav Yegorov <vlad <at> yegorov.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Jeremy Bryant <jb <at> jeremybryant.net>, 72311 <at> debbugs.gnu.org
Subject: bug#72311: [PATCH] Treat period as a symbol constituent in cc-mode
Date: Mon, 29 Jul 2024 02:59:44 +0300
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.




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.