[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Flymake refactored
From: |
Stefan Monnier |
Subject: |
Re: Flymake refactored |
Date: |
Thu, 05 Oct 2017 09:11:02 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>> :sentinel
>> (lambda (p _ev)
> One of the things you must do here is check if your process is obsolete,
> i.e. if Flymake decided to launch another one in the meantime. A good
> way to do this is to check if 'p' is 'eq' to the buffer-local value of
> clang-flymake--procress.
While I agree that it should check whether `p` is obsolete (just in case
something went wrong elsewhere), `p` should have been killed when the
other process was launched, so this sentinel should only be called with
an obsolete `p` in response to such a kill.
BTW, it should also check `ev` in case the event is just that someone
suspended/resumed the background process.
Stefan
- Re: Flymake refactored, (continued)
- Re: Flymake refactored, João Távora, 2017/10/01
- Re: Flymake refactored, Simen Heggestøyl, 2017/10/04
- Re: Flymake refactored, João Távora, 2017/10/04
- Re: Flymake refactored, Mark Oteiza, 2017/10/04
- Re: Flymake refactored, João Távora, 2017/10/05
- Re: Flymake refactored,
Stefan Monnier <=
- Re: Flymake refactored, João Távora, 2017/10/05
- Re: Flymake refactored, João Távora, 2017/10/05
- Re: Flymake refactored, Mark Oteiza, 2017/10/05
- Re: Flymake refactored, João Távora, 2017/10/05
- Re: Flymake refactored, Stefan Monnier, 2017/10/05
- Re: Flymake refactored, Lele Gaifax, 2017/10/06
- Re: Flymake refactored, Eli Zaretskii, 2017/10/06
- Re: Flymake refactored, Lele Gaifax, 2017/10/06
- Re: Flymake refactored, Eli Zaretskii, 2017/10/06
- Re: Flymake refactored, Lele Gaifax, 2017/10/06