From: Lars Ingebrigtsen <larsi@gnus.org>
To: dick <dick.r.chiang@gmail.com>
Cc: 51572@debbugs.gnu.org
Subject: bug#51572: [PATCH] tree-sitter-lock-mode
Date: Thu, 04 Nov 2021 19:47:16 +0100 [thread overview]
Message-ID: <87a6ijrc5n.fsf@gnus.org> (raw)
In-Reply-To: <87v91a4bxc.fsf@dick> (dick's message of "Tue, 02 Nov 2021 15:03:59 -0400")
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
next prev parent reply other threads:[~2021-11-04 18:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-02 19:03 bug#51572: [PATCH] tree-sitter-lock-mode dick
2021-11-04 18:47 ` Lars Ingebrigtsen [this message]
2021-11-04 19:31 ` Eli Zaretskii
2021-11-07 17:21 ` Fu Yuan
2021-12-18 6:26 ` Yuan Fu
2021-12-18 7:38 ` Eli Zaretskii
2021-12-19 6:56 ` bug#51572: Yuan Fu
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=87a6ijrc5n.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=51572@debbugs.gnu.org \
--cc=dick.r.chiang@gmail.com \
/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).