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

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

bug#51572: [PATCH] tree-sitter-lock-mode


From: Lars Ingebrigtsen
Subject: bug#51572: [PATCH] tree-sitter-lock-mode
Date: Thu, 04 Nov 2021 19:47:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

dick <dick.r.chiang@gmail.com> writes:

> FWIW, fontification of xdisp.c under tree-sitter is under a
> second versus 17s for jit-lock (on my 10yo Thinkpad).

That's really cool.

Skimming the patch is rather difficult, though, because it contains so
many changes that seem irrelevant.  Like:

> -     (when (null (cdr elt))
> +     (unless (cdr elt)

And just snarky bits:

> +  "This was better embedded in a minor mode, obviously."

And a bunch of commentary that's been removed:

> -;; Rather than the function, e.g., `font-lock-fontify-region' containing the
> -;; code to fontify a region, the function runs the function whose name is the
> -;; value of the variable, e.g., `font-lock-fontify-region-function'.  
> Normally,

So I'm not sure where we're going with this.  Anybody got an opinion?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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