all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Manuel Uberti <manuel.uberti@inventati.org>
To: emacs-devel@gnu.org
Subject: Re: The annotated example of a complete working Flymake backend leaves process buffers around
Date: Sat, 23 Oct 2021 09:43:23 +0200	[thread overview]
Message-ID: <17d30200-1546-3de4-f93a-f5aa4731402e@inventati.org> (raw)
In-Reply-To: <m2sfws2osp.fsf@me.com>

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	other threads:[~2021-10-23  7:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-23  7:17 The annotated example of a complete working Flymake backend leaves process buffers around Rudolf Adamkovič
2021-10-23  7:43 ` Manuel Uberti [this message]
2021-10-23  7:47 ` Stefan Kangas
2021-10-24 20:05   ` Rudolf Adamkovič
2021-10-25  8:23     ` João Távora

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17d30200-1546-3de4-f93a-f5aa4731402e@inventati.org \
    --to=manuel.uberti@inventati.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.