GNU bug report logs - #60691
29.0.60; Slow tree-sitter font-lock in ruby-ts-mode

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Mon, 9 Jan 2023 17:36:02 UTC

Severity: normal

Found in version 29.0.60

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Yuan Fu <casouri <at> gmail.com>
Cc: juri <at> linkov.net, 60691 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca,
 dgutov <at> yandex.ru
Subject: Re: bug#60691: 29.0.60; Slow tree-sitter font-lock in ruby-ts-mode
Date: Sat, 14 Jan 2023 10:01:12 +0200
> From: Yuan Fu <casouri <at> gmail.com>
> Date: Fri, 13 Jan 2023 23:51:05 -0800
> Cc: dgutov <at> yandex.ru,
>  60691 <at> debbugs.gnu.org,
>  juri <at> linkov.net,
>  monnier <at> iro.umontreal.ca
> 
> > Yes, DEFSYM is better in such cases.  The C name can be QCquestion and
> > QCasterix, for example.
> 
> My worry is that they will conflict with, eg, symbol `question’ and `asterix’, if someone ever defines them in the C codebase. Is that not possible?

It's possible, but how can a symbol conflict in that case? it will
just be reused.

But if you want to have treesit-specific symbols, you can use names
like QCasterix_treesit.




This bug report was last modified 2 years and 110 days ago.

Previous Next


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