[Users] Use python-plugin to force tab-completion for adress-search
Ricardo Mones
ricardo at mones.org
Wed Nov 5 16:27:29 CET 2014
Hi Stephan,
On Wed, Sep 24, 2014 at 09:28:04PM +0200, Stephan Holl wrote:
> Dear devs,
>
> while playing arround with pycarddav[1] 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 :)
regards,
--
Ricardo Mones
~
bash: ./signature: No such file or directory /bin/bash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20141105/848efdc6/attachment.sig>
More information about the Users
mailing list