emacs-devel
[Top][All Lists]
Advanced

[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: Tue, 07 Jan 2020 18:19:45 +0200

> From: arthur miller <address@hidden>
> CC: "address@hidden" <address@hidden>, HaiJun Zhang
>       <address@hidden>, "address@hidden" <address@hidden>,
>       "address@hidden" <address@hidden>
> Date: Mon, 6 Jan 2020 16:45:51 +0000
> 
> Can I ask another related think: if I would to break the buffer
> in chunks to send it to different threads, how can I find an
> 'edge' (in absence of better term) of an expression?

You could use the syntax-related features we have.

> Say I happened to make a split in the middle of a comment, or some
> expression, is there already something I can use to figure out
> how to adjust split so I break on whole expressions, and not in
> the middle?

Look up syntax-ppss.



reply via email to

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