[Top][All Lists]

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

Re: Using incremental parsing in Emacs

From: Eli Zaretskii
Subject: Re: Using incremental parsing in Emacs
Date: Sun, 05 Jan 2020 21:36:32 +0200

> From: Stefan Monnier <address@hidden>
> Cc: address@hidden,  address@hidden
> Date: Sun, 05 Jan 2020 14:18:55 -0500
> > How do you give the syntax-processing thread access to buffer text, if
> > it's running asynchronously?
> That's indeed one of the questions that I think we should answer as part
> of such a new design.
> In the case of LSP this is done by maintaining a copy of our buffer's
> content in the LSP server process.

That's exactly the issue: if we need to make a copy just to run the
parser asynchronously, then there's no advantage significant in having
such asynchronous processing inside the Emacs process, we might as
well communicate to an external process and pass it that copy.

reply via email to

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