Dear vim users, TL;DR: during sourcing of scripts 'echom' messages sometimes display and sometimes don't. Putting 'redraw' somewhere during the sourcing process makes them appear deterministically. Why they don't show up consistently?
-- I was writing a function to help me debug one of my plugins and it took me a lot of hours to finally narrow down what was causing my issue. By toggling a variable that defines a debug flag some messages were supposed to be 'echom' to the screen. However they did not. I was struggling with this random behavior trying thousands of combinations until I finally got a consistent behavior by putting redraw in just before some of the 'echom' messages. Why is that the case? Best, -- -- You received this message from the "vim_use" 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_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
