BTW I can't find any documentation about :[count]q in the Vim help (in
particular editing.txt, last change 2017 Aug 21; and version8.txt,
last change 2017 Apr 23). :[range]wq refers to the lines to be
written, which is obviously not what this thread is about. Is this a
new feature? Or was it a bug which is evolving to an undocumented
feature, hopefully to be documented someday?

Best regards,
Tony.

On Thu, Oct 19, 2017 at 5:06 PM, Bram Moolenaar <[email protected]> wrote:
>
> 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.

-- 
-- 
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