[PATCH] Syncing gmail labels for gmail accounts

Rainer M Krug r.m.krug at gmail.com
Thu Nov 29 08:53:00 GMT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 28/11/12 18:58, Abdó Roig-Maranges wrote:
> 
> 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.

This is a risky assumption - I have quite a few labels with spaces. I personally would prefer the
"labels have no '" rule and comma separated - but I assume this is configurable?

Rainer


> 
> 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ó.
> 
> 
> 
> _______________________________________________ OfflineIMAP-project mailing list 
> OfflineIMAP-project at lists.alioth.debian.org 
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project
> 
> OfflineIMAP homepage: http://software.complete.org/offlineimap
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlC3ImAACgkQoYgNqgF2egqBwQCfQ1EgPrZ8R5E3zkiSBSX3RB6P
l/EAnRg1mDUXcGxT2L45TEfm2Vhs+29G
=Li2x
-----END PGP SIGNATURE-----




More information about the OfflineIMAP-project mailing list