GNU bug report logs -
#43558
[PATCH]: Fix (forward-comment 1) when end delimiter is escaped.
Previous Next
Full log
Message #79 received at 43558 <at> debbugs.gnu.org (full text, mbox):
Hello, Stefan.
On Sun, Nov 22, 2020 at 10:20:32 -0500, Stefan Monnier wrote:
> > Because syntax-table text properties are already used for so many
> > different things in CC Mode (I think the count is five in C++ Mode).
> > Adding another one would mean having to scan for this rare construct at
> > every buffer change, and this would slow things down, possibly a lot.
> The fact that you already have 5 other such uses implies that the slow
> down from this one cannot possibly be larger than 20% (since the scan
> for it is very simple, I doubt any of the other 5 is simpler).
The fact remains that an implementation at the C level is objectively
better than one at the Lisp level.
> Most major modes have such things and we live just fine with them.
> This is a non-issue.
Really? Are there any other programming language modes whose comments
syntax.c cannot handle without syntax-table text properties?
> Stefan
--
Alan Mackenzie (Nuremberg, Germany).
This bug report was last modified 3 years and 48 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.