Subject: bug#6967: flymake not cleaning after itself (kill-buffer)

From: S Boucher <[email-masked]>
Date: Wed, 1 Sep 2010 12:19:02 -0700 (PDT)

That's with emacs 23.2

flymake-kill-buffer-hook does not actually kill the flymake process.  So, if flymake is used in conjunction with semantic, it gets problematic.

When semantic does background parsing, it may find-file/kill-buffer for files not already in memory.  If semantic proceeds to kill-buffer while a flymake process is running, then a window pops up asking whether the buffer's process should be killed (because kill-buffer asks before killing processes).

It seems like flymake-kill-buffer-hook should kill the buffer, so that by the time semantic calls kill-buffer, there won't be a process to query about.