From: Tomi Ollila Date: Wed, 28 Nov 2012 11:11:18 +0000 (+0200) Subject: Re: gmail label support patch available for oflineimap X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d8849437f5d9d7fb6385493af57e9c3507c22ce3;p=notmuch-archives.git Re: gmail label support patch available for oflineimap --- diff --git a/cf/0b760d33e641674cba75a5ac310b8bbed28d4a b/cf/0b760d33e641674cba75a5ac310b8bbed28d4a new file mode 100644 index 000000000..32809c90c --- /dev/null +++ b/cf/0b760d33e641674cba75a5ac310b8bbed28d4a @@ -0,0 +1,123 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 86D1E431FAF + for ; Wed, 28 Nov 2012 03:11:23 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id O7jzOmVKyMkJ for ; + Wed, 28 Nov 2012 03:11:22 -0800 (PST) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id B1611431FAE + for ; Wed, 28 Nov 2012 03:11:22 -0800 (PST) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id F3A141000E5; + Wed, 28 Nov 2012 13:11:18 +0200 (EET) +From: Tomi Ollila +To: Michal Nazarewicz , Rainer M Krug +Subject: Re: gmail label support patch available for oflineimap +In-Reply-To: +References: <87zk24ctko.fsf@convex-new.cs.unb.ca> + <50B3871B.2050509@gmail.com> <87r4ngcl00.fsf@convex-new.cs.unb.ca> + <50B48627.9040409@gmail.com> + + +User-Agent: Notmuch/0.14+116~g29fcdb5 (http://notmuchmail.org) Emacs/24.2.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: quoted-printable +Cc: notmuch@notmuchmail.org +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Wed, 28 Nov 2012 11:11:23 -0000 + +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 better, not much more difficult, option, than sure, +> but otherwise, I think it's a good solution. + +I could not find it in the docs (looked wiki mainly) but one of the=20 +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. + +I don't think this is going to change in pure notmuch cli... + +I personally find this feature specially handy as I store my emails +to files named by the md5sum of the file content -- I can check integrity +by the files easily if those are never modified.=20 + +Example poll "log" at the end of this mail to show my usage +in action... + +Tomi + +> --=20 +> Best regards, _ _ +> .o. | Liege of Serenely Enlightened Majesty of o' \,=3D./ `o +> ..o | Computer Science, Micha=C5=82 =E2=80=9Cmina86=E2=80=9D Nazarewicz = + (o o) +> ooo +------------------ooO--(_)--Ooo--_____ + +--8<----8<----8<----8<----8<----8<----8<----8<----8<----8<-- + +$ mm new ++ ./nottoomuch/mbox-to-md5names.sh movemail +Using MDA /home/too/mail/nottoomuch/maildeliver-md5names.sh +Using formail /usr/bin/formail +Using movemail /data/uswa/x86_64-linux/a/emacs/24.2/libexec/emacs/24.2/x86_= +64-unknown-linux-gnu/movemail +Using mail file /var/spool/mail/too +Working directory: /home/too/mail +2012-11-28 (Wed) 10:11:31: Added 'received/d2/6aacb8723e1416afaa18b02f21532= +f' +2012-11-28 (Wed) 10:11:31: Added 'received/9e/686b18691ea4ee0adaf9bf6445ac4= +8' +2012-11-28 (Wed) 10:11:31: Added 'received/f5/14c94c806d91608e4b5eba5179484= +8' +Mbox content backupped in 'wip/mbox-50b5c733,SIda' ++ notmuch new --verbose +1/0: /home/too/mail/mails/received/9e/686b18691ea4ee0adaf9bf6445ac48 +2/0: /home/too/mail/mails/received/d2/6aacb8723e1416afaa18b02f21532f +3/0: /home/too/mail/mails/received/f5/14c94c806d91608e4b5eba51794848 +4/0: /home/too/mail/mails/sent/cur/1354089625.21484_505843_2.guru.guru-grou= +p.fi:2,S +5/0: /home/too/mail/mails/sent/cur/1354089659.21484_967518_3.guru.guru-grou= +p.fi:2,S +6/0: /home/too/mail/mails/sent/cur/1354089912.21484_891554_4.guru.guru-grou= +p.fi:2,S +Processed 6 total files in almost no time. +Added 3 new messages to the database. +0.146s user 0.157s system 54.95% cpu 0.551s total ++ exit