[Users] Use python-plugin to force tab-completion for adress-search
ricardo at mones.org
Wed Nov 5 16:27:29 CET 2014
On Wed, Sep 24, 2014 at 09:28:04PM +0200, Stephan Holl wrote:
> Dear devs,
> while playing arround with pycarddav I am searching for an option
> using my carddav-contacts within claws adress-completion.
> I am thinking about using the python-plugin, but cannot find a way of
> doing it.
> Is there an option using this similar to mutts query_command somewhere?
> Can anybody give some hints?
You can write a plugin to extend the completion list with the addresses
you want hooking on ADDDRESS_COMPLETION_BUILD_ADDRESS_LIST_HOOKLIST.
I don't think python plugin allows to provide python methods as callbacks
for those hooks, though. Maybe I'm wrong here, or maybe the python plugin
developer is willing to extend it to allow this.
This could in fact represent a major feature, allowing to write whole
plugins in python only :)
bash: ./signature: No such file or directory /bin/bash
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the Users