emacs-devel
[Top][All Lists]
Advanced

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

Re: Speeding up Flymake in emacs-lisp-mode


From: Stefan Monnier
Subject: Re: Speeding up Flymake in emacs-lisp-mode
Date: Fri, 02 Nov 2018 10:25:11 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>>     (let ((proc async--eager-process))
>>       (async--transmit-sexp proc ...)
>>       (setq async--eager-process (async-start-process ...)))
>
> Yeah, but I don't see why I need to restart async--eager-process
> (assuming that's what async-start-process does).

Because the process that was in async--eager-process has been "consumed"
for the current sexp, so you need to create a new one which will be used
for the next request.

But indeed, if the problem is that async-start-process takes a long
*synchronous* time, then swapping the two won't help.

> Is async.el in ELPA?

Yes, and more specifically in GNU ELPA.


        Stefan



reply via email to

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