GNU bug report logs - #72310
[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:02 UTC

Severity: wishlist

Tags: patch

Merged with 72311

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72310 in the body.
You can then email your comments to 72310 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#72310; Package emacs. (Fri, 26 Jul 2024 20:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vladislav Yegorov <vlad <at> yegorov.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 26 Jul 2024 20:00:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vladislav Yegorov <vlad <at> yegorov.org>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Treat period as a symbol constituent in cc-mode
Date: Fri, 26 Jul 2024 21:20:58 +0200
I am not sure if this is intended behavior or not, but as it's just a
small change I am directly submitting a patch.

I would expect c-mode to treat numbers with a decimal point as one
symbol instead of two separate.  The same thing can be said about
designated initializers (i.e. {.pi = 3.14}).  I quickly checked the
behavior in emacs-lisp-mode and it works as I would expect there
(forward-symbol skips a decimal point number as a whole).




Forcibly Merged 72310 72311. Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 05 Oct 2024 01:16:02 GMT) Full text and rfc822 format available.

Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 11 Feb 2025 19:25:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 23 Mar 2025 11:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 89 days ago.

Previous Next


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