This patch will trigger WinEnter events twice:
vim -u NONE -N -S <(echo $'tabnew\nau WinEnter * :echom "HERE"\nredir! >
/tmp/redir\ntabclose\nredir END\nqa')
will show you two HERE strings in /tmp/redir (trigger_autocmds argument is not
passed down to win_enter_ext). Strange nobody noticed it. It is also skipping
BufEnter autocommads:
vim -u NONE -N -S <(echo $'tabnew\nau BufEnter * :echom "HERE"\nredir! >
/tmp/redir\ntabclose\nredir END\nqa')
(tested on vim-7.3.905, but I believe this patch is the case). Found when
exploring a way to not trigger autocommands for various set*var functions.
--
--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.