On Wed, Nov 12, 2008 at 10:45 PM, Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > Xavier de Gaye wrote: > >> >> OK. So a ":quit" will not cause a "killed" event. >> > >> > ...unless, maybe, the result is to exit Vim? (But this case ought to be >> > covered by BufDelete.) >> >> Actually, when ":quit" causes Vim to exit, "killed" events are >> currently sent for each buffer known by netbeans, before the final >> "disconnect" event that warns the application that netbeans is >> terminating. > > Yes, I was thinking of ":quit" just closing a buffer, possibly unloading > it. It's also possible that 'bufhidden' is set to "delete" or "wipe". > So generally: unloading doesn't trigger killed, deleting or wiping out > the buffer does.
Right. I will propose a patch that sends a "killed" events for all these cases, plus for backward compatibily, when processing a "stopDocumentListen" netbeans command and the buffer is marked as a "netbeansBuffer" buffer. Xavier --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
