[PATCH] Syncing gmail labels for gmail accounts
Abdó Roig-Maranges
abdo.roig at gmail.com
Wed Nov 28 17:58:17 GMT 2012
Hi Dimitrii,
> 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
https://groups.google.com/d/topic/mu-discuss/W4ys4ZGkP1E/discussion
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
https://github.com/aroig/offlineimap
Abdó.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xlabel.patch
Type: text/x-patch
Size: 7089 bytes
Desc: the patch
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20121128/56d599f3/attachment-0003.bin>
More information about the OfflineIMAP-project
mailing list