I'm puzzled by the following:

gvim with gvim -N -u NONE

:autocmd WinEnter * let test=test.'.'

:let test=""
:new
:echo test
:close

:let test=""
:copen
:echo test
:cclose

:let test=""
:pedit some_file.txt
:echo test
:pclose

:let test=""
:options
:echo test
:close

The first two echos act as expected: test is set to a single dot
character when opening a new window using :new or using :copen.

The last two cases are interesting. Opening a single preview window
apparently fires off _two_ WinEnter events. Opening an options window
fires off a whole bunch of them.

What's going on? Is this understood behavior, or is it a bug?
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to