[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-----
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
> 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?
> 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
> _______________________________________________ OfflineIMAP-project mailing list
> OfflineIMAP-project at lists.alioth.debian.org
> 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/
-----END PGP SIGNATURE-----
More information about the OfflineIMAP-project