bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#60691: 29.0.60; Slow tree-sitter font-lock in ruby-ts-mode


From: Eli Zaretskii
Subject: 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@gmail.com>
> Date: Fri, 13 Jan 2023 23:51:05 -0800
> Cc: dgutov@yandex.ru,
>  60691@debbugs.gnu.org,
>  juri@linkov.net,
>  monnier@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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]