Closed dbarrosop closed 5 years ago
Also, if I try to configure to run neomake on "TextChanged" with a delay, the option seems to be ignored (or at least it's run nonetheless immediately)
Reverting to "Dec 13, 2018" seems to fix the issue.
I've refactored list processing recently, and just fixed two issues with it. I still plan to improve/fix "re-use list with automake".
So please first try current master, and if it still fails, please consider git-bisecting it to a specific commit.
Also please provide the actual debug log.
(will investigate later, but any additional info would help me already)
automake: Buffer was changed (TextChanged), restarting make: 3.
Looks like this autocommand might not be cleared properly - it is meant to abort the make from BufWritePost
in case you edit/change the file while the buffer is running.
What is :au TextChanged
and :au TextChangedI
when this happens?
Could reproduce it, will hopefully push a fix shortly.
The problem is that the make info gets not cleaned properly (w:neomake_make_ids
is not cleaned).
It is not really easy to reproduce, but have an idea about how to fix it.
Figured it out finally. It was related to make info not properly cleaned on cancellation with serialized jobs (the python maker is one of those).
Thanks for the report, that was a tricky one.
Thanks to you for the quick response and the fix :)
Expected behavior
Run makers according to my configuration.
Steps to reproduce
After updating neomake I started noticing this strange behavior where the following events happen (this didn't happen prior to the update):
call neomake#configure#automake('w')
. I can confirm the configuration withNeomakeInfo
:BufWritePost
. However, once the makers trigger the location list, neomake starts running the makers onTextChanged
as well. I can verify that on the logs with the following line:Output from (verbose) NeomakeInfo
Neomake debug information
Async support: 1 Current filetype: python Windows: 0 [shell, shellcmdflag, shellslash]:['/bin/zsh', '-c', 0]
Enabled makers
For the current filetype ("python", used with :Neomake):
For the project (used with :Neomake!):
makeprg
'']%f'',%X%*\a[%*\d]: Leaving directory %*[
'']%f'',%D%\a: Entering directory %['']%f'',%X%*\a: Leaving directory %*[
'']%f'',%DMaking %*\a in %f,%f|%l| %m'version information (/usr/bin/make --version): GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0 NOTE: you can define g:neomake_enabled_makers to configure it.
Default maker settings:
Settings
New-style (dict, overrides old-style)
Old-style
makeprg=make
:version
:messages