Charles Campbell wrote: > I've found something peculiar. When I put :echomsg "GOT HERE" into > autoload/netrw.vim just before the "if v:version < 704..." test (line#25 > with v153), no output appears. No output appears with a subsequent > :messages. > > This difficulty means that an echomsg will show no output inside that > test, either. Consequently, a vim system with 7.4.52 showed no error > message when the user attempted to use netrw, even though a message via > echomsg was attempted by netrw. Its easy enough to simulate this issue > without reverting back to an old vim, by the way -- simply change the > test in line#25 to > > if v:version < 704 && !has("patch999")
When these lines are executed the "silent" flag is set, which means that we got here with a command marked with ":silent" or a mapping with <silent> You can use :unsilent echomsg "GOT HERE" to have the message anyway. -- hundred-and-one symptoms of being an internet addict: 75. You start wondering whether you could actually upgrade your brain with a Pentium Pro microprocessor 80. The upgrade works just fine. /// 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. For more options, visit https://groups.google.com/d/optout.