emacs-devel
[Top][All Lists]
Advanced

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

Re: new flymake bug: error in process sentinel: Invalid function: flymak


From: João Távora
Subject: Re: new flymake bug: error in process sentinel: Invalid function: flymake-log
Date: Fri, 20 Oct 2017 01:13:51 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)

Yuta Yamada <address@hidden> writes:

> Sorry if I'm not conforming right place (I saw this 
> https://github.com/nicferrier/emacs-contributor-guide#testing,
> so I thought it's ok to discuss new flymake's bug)
>
> How to reproduce:
> 1. open emacs with -Q option
> 2. on scratch buffer, invoke M-x flymake-mode
> 3. C-x 3, and then C-x b return (switched message buffer)
> 4. edit something on scratch buffer 
> 5. and then immediately switch to another buffer (I used C-x o and then 
> switch message buffer by opend at 3)
> 6. got `error in process sentinel: Invalid function: flymake-log` on
> message buffer

I can't reproduce it. flymake-log is a(n autoloaded) lisp macro, not a
function, and it's only invoked in the elisp-flymake-byte-compile
backend's sentinel in elisp-mode.el that sentinel detects an obsolete
check (BTW your report is still helpful because it shows a case where
that detection was a false positive)

How did you compile your emacs-26? The error you get could be caused by
the fact that the autoload didn't kick in when it should, but it's also
a bit confusing to me how it should work at all since it's a macro (that
expands to flymake--log-1) and elisp-mode.el is preloaded. Comment from
more knowledgeable folk is welcome at this point.

I've just pushed a fix the false detection problem in the emacs-26
branch. The fix will (perhaps unfortunately) shoosh your error as well,
so take note of the git HEAD you were in, and try to "make bootstrap".

João





reply via email to

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