gmail label support in offlineimap - update

2012-11-29 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/11/12 19:47, Michal Nazarewicz wrote: > On Wed, Nov 28 2012, Jeremy Nickurak wrote: >> 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

gmail label support in offlineimap - update

2012-11-29 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/11/12 19:09, David Bremner wrote: > Jeremy Nickurak 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

Re: gmail label support in offlineimap - update

2012-11-29 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/11/12 19:09, David Bremner wrote: Jeremy Nickurak not-m...@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

Re: gmail label support in offlineimap - update

2012-11-29 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/11/12 19:47, Michal Nazarewicz wrote: On Wed, Nov 28 2012, Jeremy Nickurak wrote: 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

Re: gmail label support in offlineimap - update

2012-11-29 Thread Michal Nazarewicz
On Thu, Nov 29 2012, Rainer M Krug wrote: I think a tag changed hook could solve both problems - when there would be an additional messge changed hook: How would you make the “message changed” hook work? What if I do “$EDITOR some-mail”? What is supposed to trigger the hook? -- Best regards,

Re: gmail label support in offlineimap - update

2012-11-29 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29/11/12 14:33, Michal Nazarewicz wrote: On Thu, Nov 29 2012, Rainer M Krug wrote: I think a tag changed hook could solve both problems - when there would be an additional messge changed hook: How would you make the ?message changed? hook

gmail label support in offlineimap - update

2012-11-28 Thread Michal Nazarewicz
On Wed, Nov 28 2012, Jeremy Nickurak wrote: > 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? One could parse the X-Labels header and compare it with

gmail label support in offlineimap - update

2012-11-28 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there is a patched version of offlineimap available which is synching gmail labels to x-keywords. More information can be found here: http://thread.gmane.org/gmane.mail.imap.offlineimap.general/5943/focus=5970 and

gmail label support in offlineimap - update

2012-11-28 Thread David Bremner
Jeremy Nickurak 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.

gmail label support in offlineimap - update

2012-11-28 Thread Peter Portante
+1

gmail label support in offlineimap - update

2012-11-28 Thread Jeremy Nickurak
As far as syncing flags to notmuch, it sounds like this would be easy to achieve with an independent 3rd tool, or even a small script: 1) Find files in the maildir modified since the last check 2) Read their keywords headers 3) Update the notmuch tags accordingnly. The other direction sounds like

gmail label support in offlineimap - update

2012-11-28 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there is a patched version of offlineimap available which is synching gmail labels to x-keywords. More information can be found here: http://thread.gmane.org/gmane.mail.imap.offlineimap.general/5943/focus=5970 and

Re: gmail label support in offlineimap - update

2012-11-28 Thread Peter Portante
+1 ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch

Re: gmail label support in offlineimap - update

2012-11-28 Thread Jeremy Nickurak
As far as syncing flags to notmuch, it sounds like this would be easy to achieve with an independent 3rd tool, or even a small script: 1) Find files in the maildir modified since the last check 2) Read their keywords headers 3) Update the notmuch tags accordingnly. The other direction sounds like

Re: gmail label support in offlineimap - update

2012-11-28 Thread David Bremner
Jeremy Nickurak not-m...@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;

Re: gmail label support in offlineimap - update

2012-11-28 Thread Michal Nazarewicz
On Wed, Nov 28 2012, Jeremy Nickurak wrote: 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? One could parse the X-Labels header and compare it with