emacs-devel
[Top][All Lists]
Advanced

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

Re: The annotated example of a complete working Flymake backend leaves p


From: Manuel Uberti
Subject: Re: The annotated example of a complete working Flymake backend leaves process buffers around
Date: Sat, 23 Oct 2021 09:43:23 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 23/10/21 09:17, Rudolf Adamkovič wrote:
The backend kills the process buffer on `'exit' but not on `'signal', which 
happens when Flymake kills an obsolete in-progress check. I fixed the problem 
locally with

┌────
│ (let ((status (process-status proc)))
│   (when (or (eq status 'exit) (eq status 'signal))
│     …
└────

Hi Rudolf,

thank you for this tip, I've applied it to a couple of Flymake backends I worked on (namely flymake-proselint and flymake-kondor).


Regards

--
Manuel Uberti
www.manueluberti.eu



reply via email to

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