emacs-devel
[Top][All Lists]
Advanced

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

Re: elisp test-and-set?


From: Stephen Leake
Subject: Re: elisp test-and-set?
Date: Sat, 26 May 2018 02:53:52 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (windows-nt)

Eli Zaretskii <address@hidden> writes:

>> From: Stephen Leake <address@hidden>
>> Date: Fri, 25 May 2018 16:00:04 -0500
>>
>> In ada-mode, I'm using a parser running in an external process to
>> compute faces and indentation.
>>
>> Since faces are computed by font-lock, which runs on a timer in the
>> background, it can try to run when indent is running in the foreground.
>
> Do you have evidence of this?

I thought I did, but it turned out there was a different problem.

> Emacs is single-threaded, so only one Lisp function can run at any
> given time.

Ok, I'll add a comment to this effect in the code.

Thanks.

--
-- Stephe



reply via email to

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