Re: Tab autocommand inconsistencies?

2006-06-17 Thread Bram Moolenaar
Hari Krishna Dara wrote: I am observing what might be inconsistency in the order in which vim fires autocommands. First, ovserving the order of buffer and window events, - Using :new: WinLeave WinEnter BufLeave BufEnter - Using :wincmd w BufLeave WinLeave WinEnter BufEnter

Re: Tab autocommand inconsistencies?

2006-05-16 Thread Eric Arnold
I'm not sure I fully get what's going on, but I think is has to do with the window that is automatically cloned to start the tab, which is then converted to an empty buffer window. On 5/15/06, Hari Krishna Dara [EMAIL PROTECTED] wrote: Just wanted to send the script that I used, in case

Tab autocommand inconsistencies?

2006-05-15 Thread Hari Krishna Dara
I am observing what might be inconsistency in the order in which vim fires autocommands. First, ovserving the order of buffer and window events, - Using :new: WinLeave WinEnter BufLeave BufEnter - Using :wincmd w BufLeave WinLeave WinEnter BufEnter When combined with tab operations, -

Re: Tab autocommand inconsistencies?

2006-05-15 Thread Hari Krishna Dara
Just wanted to send the script that I used, in case anyone is interested to repeat: let g:auCount = 0 aug TT au! au WinEnter * :call Au('WinEnter') au WinLeave * :call Au('WinLeave') au TabEnter * :call Au('TabEnter') au TabLeave * :call Au('TabLeave') au BufEnter * :call