gmail label support in offlineimap - update
Rainer M Krug
R.M.Krug at gmail.com
Thu Nov 29 00:57:45 PST 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 28/11/12 19:09, David Bremner wrote:
> Jeremy Nickurak <not-much at trk.nickurak.ca> writes:
>
>
>> The other direction sounds like it would be trickier though, since there's no obvious way to
>> say "what notmuch tags have changed since time X?". Is this something that notmuch could
>> provide?
>
> Not currently, but there have been patches proposed; see e.g.
>
> id:1323796305-28789-1-git-send-email-schnouki at schnouki.net
>
>> Alternatively, would it be a good idea to give notmuch a tags-changed hook, so that an
>> external tool could be called on a tag change? That sounds like would solve this problem,
>> keep the gmail/imap logic safely away from notmuch, and probably provide some really
>> interesting other opportunities for automation of things by tags.
>
> See the thread at
>
> id:1342503373-16979-1-git-send-email-dominik at with-h.at
>
> for some patches and discussion.
I think a "tag changed hook" could solve both problems - when there would be an additional "messge
changed" hook: the "message changed" hook could be used to add the x-headers to the notmuch
database, and the "tag changed" hook could do the inverse, i.e. update the x-headers in the message.
This would be a clean approach, which could be used for many things.
Cheers,
Rainer
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlC3I4kACgkQoYgNqgF2egoanQCfV8OL1qhXWMfV5lMOqKf6szPM
zKoAn0sZzi3f/z0r4lgH0/s19z9f1ozr
=/fc1
-----END PGP SIGNATURE-----
More information about the notmuch
mailing list