unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dmitry@gutov.dev>
To: Alan Mackenzie <acm@muc.de>, Vladislav Yegorov <vlad@yegorov.org>
Cc: Eli Zaretskii <eliz@gnu.org>, Jeremy Bryant <jb@jeremybryant.net>,
	72311@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	[thread overview]
Message-ID: <f9dd955c-ab53-470a-a8a2-1b4d3a1aa03c@gutov.dev> (raw)
In-Reply-To: <ZqTZeaCVeDbsP1j6@ACM>

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.





      reply	other threads:[~2024-07-28 23:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f9dd955c-ab53-470a-a8a2-1b4d3a1aa03c@gutov.dev \
    --to=dmitry@gutov.dev \
    --cc=72311@debbugs.gnu.org \
    --cc=acm@muc.de \
    --cc=eliz@gnu.org \
    --cc=jb@jeremybryant.net \
    --cc=vlad@yegorov.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).