> > How does the mouse move trigger the sequence? > > Sorry, I should have covered that before. This is a hover test, so I > use test_setmouse followed by: > > feedkeys("\<MouseMove>\<Ignore>", "xt") > > It's then the balloonexpr function that triggers the ch_evalexpr in > point 1 above.
OK, so the whole sequence is triggered by the balloon eval functionality. This happens in check_due_timer(). That's a fairly normal way a callback is invoked, in this case evaluating 'balloonexpr'. > I've attached the channel log file - that's probably more useful than > me attaching snippets. > > You'll see that govim calls into Vim to schedule work (s:schedule > call); when it is safe to run that work, Vim calls back to govim > ("schedule"). All of the "s:schedule" calls (with their respective ID) > are matched by "schedule" calls, apart from the last one: > > 0.700121 RECV on 0(sock): '[0,[47,"call","s:schedule",4]] > > which is why we see things lock up. You can see in line 409: 0.181045 : safe state reset That's why it stops triggering SafeStateAgain. This is after a call to s:define(), that is that doing? Somehow it doesn't go back to the main loop to check the state. -- Facepalm statement #6: "Estland is a fantasy place, just like Middle Earth and Madagaskar" /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/201909181142.x8IBglIW017714%40masaka.moolenaar.net.