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: normal

Tags: patch

Merged with 72311

To reply to this bug, email your comments to 72310 AT debbugs.gnu.org.

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.

This bug report was last modified 49 days ago.

Previous Next


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