emacs-devel
[Top][All Lists]
Advanced

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

Re: Tracking buffer positions across time, without markers (was Re: PL s


From: Stefan Monnier
Subject: Re: Tracking buffer positions across time, without markers (was Re: PL support)
Date: Sun, 10 May 2020 23:19:01 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> This is all possible, of course, but I don't (yet) see why it would be
> necessary.  We survive without this complexity when using JIT
> font-lock, and any alternative back-end for the same job should be
> able to reuse the same basic architecture.

His context is very different from JIT font-lock since it's
not synchronous.  He basically sends the buffer to some external
processs which replies a minute(!) later with some highlighting
instructions.  Those instructions obviously refer to the buffer as it was
a minute ago.  Jit-lock works "between buffer updates", so it doesn't
have to deal with this problem.


        Stefan




reply via email to

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