>> You can selectively supress autocommands at vimscript level with noautocmd 
>> and eventignore. Can you do that at the C level? Do you think it's 
>> undesirable to do so? I'm not able to think of a listener interested in this 
>> particular buffer switch as it's more of a subproduct of a particular 
>> implementation than of an intentional switch.
>>
>
> I have autocmds to set certain options on the preview window; for example, 
> "nowrap".

I was thinking just about the focus related events. It's fine to react
to the preview window creation event but I see no point reacting to a
permanent flow of focus in/out events triggered by the autocomplete
mechanism.

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