weechat.el icon indicating copy to clipboard operation
weechat.el copied to clipboard

Support company idle completion

Open aspiwack opened this issue 8 years ago • 2 comments

It seems that company-mode doesn't automatically start completion in the input field of a chat buffer. (it would be useful, for instance, with company-math and company-emoji).

Launching M-x company-complete manually works. But the completion menu never open on its own (I start company with global-company-mode). So something in weechat.el seems to be blocking the automatic "idle completion" of company-mode.

I'm lacking understanding of either mode inner workings for further diagnostic.

aspiwack avatar Oct 26 '16 18:10 aspiwack

I'm not using company-mode personally, so I'm not too familiar with how it works. Can you give me a short link or introduction on how to reproduce your issue?

Also, sorry for not coming back to you earlier.

the-kenny avatar Jan 23 '17 09:01 the-kenny

company-mode has a few whitelisted commands it will run completion automatically after, such as self-insert-command and org-self-insert-command, but weechat-self-insert-command is not included. To solve it, add

(add-to-list 'company-begin-commands 'weechat-self-insert-command)

to your config.

talyz avatar Nov 03 '20 15:11 talyz