[PATCH] Syncing gmail labels for gmail accounts
abdo.roig at gmail.com
Wed Nov 28 17:58:17 GMT 2012
> Another question about this patch: how easy it to change it to use
> X-Label rather than X-Keywords?
> (There are minor differences in format between them).
I attach a patch that handles X-Label and Keywords as a space separated
list, following what is discussed in this thread
and what mu does. I went the easy route and assumes labels have no
spaces. This is documented on the sample offlineimap.conf.
Could you confirm that mutt will be happy with that? Right now this
patch assumes there is only one header for labels (either X-Label, or
X-Keywords or whatever). Is that ok or is it possible that a message
might have the labels spread in multiple X-Label headers?
You can get the code from github at
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7089 bytes
Desc: the patch
More information about the OfflineIMAP-project