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: arthur miller
Subject: Re: Using incremental parsing in Emacs
Date: Wed, 8 Jan 2020 08:43:59 +0000

Eli Zaretskii <address@hidden> writes:

>> 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.

Very thanks
/a



reply via email to

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