unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#72310: [PATCH] Treat period as a symbol constituent in cc-mode
@ 2024-07-26 19:20 Vladislav Yegorov
  2024-07-26 19:26 ` bug#72311: " Vladislav Yegorov
  0 siblings, 1 reply; 7+ messages in thread
From: Vladislav Yegorov @ 2024-07-26 19:20 UTC (permalink / raw)
  To: 72310

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





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-07-28 23:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-26 19:20 bug#72310: [PATCH] Treat period as a symbol constituent in cc-mode Vladislav Yegorov
2024-07-26 19:26 ` bug#72311: " Vladislav Yegorov
2024-07-26 21:37   ` Jeremy Bryant via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-27  5:55   ` Eli Zaretskii
2024-07-27  9:22     ` Vladislav Yegorov
2024-07-27 11:26       ` Alan Mackenzie
2024-07-28 23:59         ` Dmitry Gutov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).