Rick Howe wrote:

> Thank you for your question.
> > Can you give reproduction steps?  I tried this:
> > 
> >         vim foo
> >         [add some text]
> >         split bar
> >         [add some text]
> >         :1q
> >         Get E37
> >         :2q
> >         Get E37
> 
> vim foo.txt
> :split
> :new
> [add some text]
> :3wincmd w
> :1q
> 
> then the 1st window is quitted without E37 warning.

Glad you found this.  I'll add a test.

> And QuitPre event is passed to the 1st (current) buffer, not 2nd.

That should be fixed now.

-- 
ARTHUR:  Well, I can't just call you `Man'.
DENNIS:  Well, you could say `Dennis'.
ARTHUR:  Well, I didn't know you were called `Dennis.'
DENNIS:  Well, you didn't bother to find out, did you?
                                  The Quest for the Holy Grail (Monty Python)

 /// Bram Moolenaar -- [email protected] -- 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui