gmail label support patch available for oflineimap

2012-11-29 Thread Michal Nazarewicz
On Thu, Nov 29 2012, Felipe Contreras wrote: > I think it would be trivial to add Gmail-style folders to notmuch. > Maybe a configuration that maps directories with tags. This in fact > wouldn't even be Gmail specific, and would help the people coming from > procmail, and other ways of organizing

gmail label support patch available for oflineimap

2012-11-29 Thread Michal Nazarewicz
> On Wed, Nov 28, 2012 at 1:53 PM, Michal Nazarewicz > wrote: >> Go nag developers of whatever you are using to implement fetching labels >> from Gmail. Or write another tool that does that. On Thu, Nov 29 2012, Felipe Contreras wrote: > Why do that when I can do it in notmuch? Because you

gmail label support patch available for oflineimap

2012-11-29 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/11/12 19:39, Michal Nazarewicz wrote: > On Wed, Nov 28 2012, David Bremner wrote: >> Right. But without that, the whole thing could be scripted pretty easily I >> think, just parse >> the x-labels header and use notmuch-deliver or something

gmail label support patch available for oflineimap

2012-11-29 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29/11/12 08:18, Felipe Contreras wrote: > On Thu, Nov 29, 2012 at 6:01 AM, Jeremy Nickurak > wrote: >> Doing this on a directory basis is a non-starter for me. The reason that >> Notmuch and gmail >> are a natural fit is that they both operate

gmail label support patch available for oflineimap

2012-11-29 Thread Felipe Contreras
On Thu, Nov 29, 2012 at 6:01 AM, Jeremy Nickurak wrote: > Doing this on a directory basis is a non-starter for me. The reason that > Notmuch and gmail are a natural fit is that they both operate on labels/tags > instead of folders. There's no simpler way if you are using IMAP and Maildir, and

gmail label support patch available for oflineimap

2012-11-29 Thread Felipe Contreras
On Wed, Nov 28, 2012 at 1:53 PM, Michal Nazarewicz wrote: > On Wed, Nov 28 2012, Felipe Contreras wrote: >> Not everybody uses offlineimap. > > Go nag developers of whatever you are using to implement fetching labels > from Gmail. Or write another tool that does that. Why do that when I can do

gmail label support patch available for oflineimap

2012-11-29 Thread Felipe Contreras
On Wed, Nov 28, 2012 at 12:29 PM, Jani Nikula wrote: > > On Nov 28, 2012 12:10 PM, "Felipe Contreras" > wrote: >> >> On Wed, Nov 28, 2012 at 8:32 AM, Rainer M Krug wrote: >> >> >> I just want to say that having notmuch communicate with Gmail is >> >> terrible idea, since this >> >> would mean

Re: gmail label support patch available for oflineimap

2012-11-29 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/11/12 19:39, Michal Nazarewicz wrote: On Wed, Nov 28 2012, David Bremner wrote: Right. But without that, the whole thing could be scripted pretty easily I think, just parse the x-labels header and use notmuch-deliver or something like that.

Re: gmail label support patch available for oflineimap

2012-11-29 Thread Michal Nazarewicz
On Wed, Nov 28, 2012 at 1:53 PM, Michal Nazarewicz min...@mina86.com wrote: Go nag developers of whatever you are using to implement fetching labels from Gmail. Or write another tool that does that. On Thu, Nov 29 2012, Felipe Contreras felipe.contre...@gmail.com wrote: Why do that when I

Re: gmail label support patch available for oflineimap

2012-11-29 Thread Michal Nazarewicz
On Thu, Nov 29 2012, Felipe Contreras wrote: I think it would be trivial to add Gmail-style folders to notmuch. Maybe a configuration that maps directories with tags. This in fact wouldn't even be Gmail specific, and would help the people coming from procmail, and other ways of organizing

gmail label support patch available for oflineimap

2012-11-28 Thread Jeremy Nickurak
Doing this on a directory basis is a non-starter for me. The reason that Notmuch and gmail are a natural fit is that they both operate on labels/tags instead of folders. -- next part -- An HTML attachment was scrubbed... URL:

gmail label support patch available for oflineimap

2012-11-28 Thread Michal Nazarewicz
On Wed, Nov 28 2012, David Bremner wrote: > Right. But without that, the whole thing could be scripted pretty easily > I think, just parse the x-labels header and use notmuch-deliver or > something like that. You're saying to get offlineimap to add the x-labels header and than have another simple

gmail label support patch available for oflineimap

2012-11-28 Thread Michal Nazarewicz
On Wed, Nov 28 2012, Tomi Ollila wrote: > I could not find it in the docs (looked wiki mainly) but one of the > principles notmuch currently operates that the *contents* of the email > files it reads are not ever modified. i.e. the email files are read-only > from notmuch (cli) point of view.

gmail label support patch available for oflineimap

2012-11-28 Thread Michal Nazarewicz
On Wed, Nov 28 2012, Felipe Contreras wrote: > Not everybody uses offlineimap. Go nag developers of whatever you are using to implement fetching labels from Gmail. Or write another tool that does that. Either way, communicating with Gmail is not notmuch's job. -- Best regards,

gmail label support patch available for oflineimap

2012-11-28 Thread Jani Nikula
On Nov 28, 2012 12:10 PM, "Felipe Contreras" wrote: > > On Wed, Nov 28, 2012 at 8:32 AM, Rainer M Krug wrote: > > >> I just want to say that having notmuch communicate with Gmail is terrible idea, since this > >> would mean duplicating of jobs that offlineimap and notmuch do. > > > > My

gmail label support patch available for oflineimap

2012-11-28 Thread Tomi Ollila
On Tue, Nov 27 2012, Michal Nazarewicz wrote: > On Tue, Nov 27 2012, Rainer M Krug wrote: ... >> Well - it is ust my feeling that the lesser changes are done to the >> email and its headers, the better. > > Sure, but I don't think it's such a big issue, as it may be presented. > If there was

gmail label support patch available for oflineimap

2012-11-28 Thread David Bremner
Michal Nazarewicz writes: > On Wed, Nov 28 2012, Tomi Ollila wrote: >> I could not find it in the docs (looked wiki mainly) but one of the >> principles notmuch currently operates that the *contents* of the email >> files it reads are not ever modified. i.e. the email files are read-only >>

gmail label support patch available for oflineimap

2012-11-28 Thread Felipe Contreras
On Wed, Nov 28, 2012 at 8:32 AM, Rainer M Krug wrote: >> I just want to say that having notmuch communicate with Gmail is terrible >> idea, since this >> would mean duplicating of jobs that offlineimap and notmuch do. > > My sentiments, notmuch is doing realy good what it is doing, and adding

gmail label support patch available for oflineimap

2012-11-28 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27/11/12 21:01, Michal Nazarewicz wrote: > On Tue, Nov 27 2012, Rainer M Krug wrote: >> I saw on the offlineimap mailing list, that somebody is using this approach >> (x-header) to >> sync the gmail labels and to use them in his email client - so

Re: gmail label support patch available for oflineimap

2012-11-28 Thread Felipe Contreras
On Wed, Nov 28, 2012 at 8:32 AM, Rainer M Krug r.m.k...@gmail.com wrote: I just want to say that having notmuch communicate with Gmail is terrible idea, since this would mean duplicating of jobs that offlineimap and notmuch do. My sentiments, notmuch is doing realy good what it is doing,

Re: gmail label support patch available for oflineimap

2012-11-28 Thread Tomi Ollila
On Tue, Nov 27 2012, Michal Nazarewicz wrote: On Tue, Nov 27 2012, Rainer M Krug wrote: ... Well - it is ust my feeling that the lesser changes are done to the email and its headers, the better. Sure, but I don't think it's such a big issue, as it may be presented. If there was some

Re: gmail label support patch available for oflineimap

2012-11-28 Thread Michal Nazarewicz
On Wed, Nov 28 2012, Felipe Contreras wrote: Not everybody uses offlineimap. Go nag developers of whatever you are using to implement fetching labels from Gmail. Or write another tool that does that. Either way, communicating with Gmail is not notmuch's job. -- Best regards,

Re: gmail label support patch available for oflineimap

2012-11-28 Thread Michal Nazarewicz
On Wed, Nov 28 2012, Tomi Ollila wrote: I could not find it in the docs (looked wiki mainly) but one of the principles notmuch currently operates that the *contents* of the email files it reads are not ever modified. i.e. the email files are read-only from notmuch (cli) point of view. This

Re: gmail label support patch available for oflineimap

2012-11-28 Thread David Bremner
Michal Nazarewicz min...@mina86.com writes: On Wed, Nov 28 2012, Tomi Ollila wrote: I could not find it in the docs (looked wiki mainly) but one of the principles notmuch currently operates that the *contents* of the email files it reads are not ever modified. i.e. the email files are

Re: gmail label support patch available for oflineimap

2012-11-28 Thread Michal Nazarewicz
On Wed, Nov 28 2012, David Bremner wrote: Right. But without that, the whole thing could be scripted pretty easily I think, just parse the x-labels header and use notmuch-deliver or something like that. You're saying to get offlineimap to add the x-labels header and than have another simple

Re: gmail label support patch available for oflineimap

2012-11-28 Thread Felipe Contreras
On Wed, Nov 28, 2012 at 1:53 PM, Michal Nazarewicz min...@mina86.com wrote: On Wed, Nov 28 2012, Felipe Contreras wrote: Not everybody uses offlineimap. Go nag developers of whatever you are using to implement fetching labels from Gmail. Or write another tool that does that. Why do that

Re: gmail label support patch available for oflineimap

2012-11-28 Thread Jeremy Nickurak
Doing this on a directory basis is a non-starter for me. The reason that Notmuch and gmail are a natural fit is that they both operate on labels/tags instead of folders. ___ notmuch mailing list notmuch@notmuchmail.org

Re: gmail label support patch available for oflineimap

2012-11-28 Thread Felipe Contreras
On Thu, Nov 29, 2012 at 6:01 AM, Jeremy Nickurak not-m...@trk.nickurak.ca wrote: Doing this on a directory basis is a non-starter for me. The reason that Notmuch and gmail are a natural fit is that they both operate on labels/tags instead of folders. There's no simpler way if you are using

gmail label support patch available for oflineimap

2012-11-27 Thread Michal Nazarewicz
On Tue, Nov 27 2012, Rainer M Krug wrote: > I saw on the offlineimap mailing list, that somebody is using this approach > (x-header) to sync the gmail labels and to use them in his email client - > so I thought, why not read them as tags into notmuch and sync tgs back, so > one would have a sync

gmail label support patch available for oflineimap

2012-11-27 Thread Rainer M Krug
On 27 November 2012 20:24, Michal Nazarewicz wrote: > On Tue, Nov 27 2012, Rainer M Krug wrote: > > Yes - offlineimap is not needed actually, but I personally I see > > notmuch as an indexing / tagging program for a mailabox in maildir > > format, which means local. So all changes are done

gmail label support patch available for oflineimap

2012-11-27 Thread Michal Nazarewicz
On Tue, Nov 27 2012, Rainer M Krug wrote: > Yes - offlineimap is not needed actually, but I personally I see > notmuch as an indexing / tagging program for a mailabox in maildir > format, which means local. So all changes are done locally, and not > bad on an imap server (or synching tags with an

gmail label support patch available for oflineimap

2012-11-27 Thread Rainer M Krug
On 27 November 2012 18:00, Michal Nazarewicz wrote: > On Tue, Nov 27 2012, Rainer M Krug wrote: > > So from your point of view - what would be the best / most consistent > > approach with gmail? Sync All Mail folder (and Inbox) with offlineimap > > and sync the label information via notmuch?

gmail label support patch available for oflineimap

2012-11-27 Thread Michal Nazarewicz
On Tue, Nov 27 2012, Rainer M Krug wrote: > So from your point of view - what would be the best / most consistent > approach with gmail? Sync All Mail folder (and Inbox) with offlineimap > and sync the label information via notmuch? Would definitely seem to > make sense, as it deals with labels on

gmail label support patch available for oflineimap

2012-11-27 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 26/11/12 18:49, David Bremner wrote: > Rainer M Krug writes: > >> Adding a layer to communicate with a remote server (gmail in this case) >> would defy the >> purpose of having notmuch. In my opinion, Synching from gmail to local >> maildir

Re: gmail label support patch available for oflineimap

2012-11-27 Thread Michal Nazarewicz
On Tue, Nov 27 2012, Rainer M Krug wrote: So from your point of view - what would be the best / most consistent approach with gmail? Sync All Mail folder (and Inbox) with offlineimap and sync the label information via notmuch? Would definitely seem to make sense, as it deals with labels on the

Re: gmail label support patch available for oflineimap

2012-11-27 Thread Rainer M Krug
On 27 November 2012 18:00, Michal Nazarewicz min...@mina86.com wrote: On Tue, Nov 27 2012, Rainer M Krug wrote: So from your point of view - what would be the best / most consistent approach with gmail? Sync All Mail folder (and Inbox) with offlineimap and sync the label information via

Re: gmail label support patch available for oflineimap

2012-11-27 Thread Rainer M Krug
On 27 November 2012 20:24, Michal Nazarewicz min...@mina86.com wrote: On Tue, Nov 27 2012, Rainer M Krug wrote: Yes - offlineimap is not needed actually, but I personally I see notmuch as an indexing / tagging program for a mailabox in maildir format, which means local. So all changes are

Re: gmail label support patch available for oflineimap

2012-11-27 Thread Michal Nazarewicz
On Tue, Nov 27 2012, Rainer M Krug wrote: I saw on the offlineimap mailing list, that somebody is using this approach (x-header) to sync the gmail labels and to use them in his email client - so I thought, why not read them as tags into notmuch and sync tgs back, so one would have a sync

Re: gmail label support patch available for oflineimap

2012-11-27 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27/11/12 21:01, Michal Nazarewicz wrote: On Tue, Nov 27 2012, Rainer M Krug wrote: I saw on the offlineimap mailing list, that somebody is using this approach (x-header) to sync the gmail labels and to use them in his email client - so I

gmail label support patch available for oflineimap

2012-11-26 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 26/11/12 15:44, David Bremner wrote: > Rainer M Krug writes: > >> there is a patch available for synching gmail labels to X-Keywords in the >> message (full >> thread see http://article.gmane.org/gmane.mail.imap.offlineimap.general/5943 >> ).

gmail label support patch available for oflineimap

2012-11-26 Thread David Bremner
Rainer M Krug writes: > Adding a layer to communicate with a remote server (gmail in this > case) would defy the purpose of having notmuch. In my opinion, > Synching from gmail to local maildir should be done by another tool, > and this synching includes the synching of the gmail labels. Well,

gmail label support patch available for oflineimap

2012-11-26 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there is a patch available for synching gmail labels to X-Keywords in the message (full thread see http://article.gmane.org/gmane.mail.imap.offlineimap.general/5943 ). Would notmuch be able to translate these X-Keywords into tags, so that one

gmail label support patch available for oflineimap

2012-11-26 Thread David Bremner
Rainer M Krug writes: > there is a patch available for synching gmail labels to X-Keywords in > the message (full thread see > http://article.gmane.org/gmane.mail.imap.offlineimap.general/5943 ). > > Would notmuch be able to translate these X-Keywords into tags, so that > one could use notmuch

Re: gmail label support patch available for oflineimap

2012-11-26 Thread David Bremner
Rainer M Krug r.m.k...@gmail.com writes: there is a patch available for synching gmail labels to X-Keywords in the message (full thread see http://article.gmane.org/gmane.mail.imap.offlineimap.general/5943 ). Would notmuch be able to translate these X-Keywords into tags, so that one could

Re: gmail label support patch available for oflineimap

2012-11-26 Thread David Bremner
Rainer M Krug r.m.k...@gmail.com writes: Adding a layer to communicate with a remote server (gmail in this case) would defy the purpose of having notmuch. In my opinion, Synching from gmail to local maildir should be done by another tool, and this synching includes the synching of the gmail