Re: [notmuch] Notmuch command interface
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 14 Mar 2010 18:15:45 +0000 (19:15 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:36:23 +0000 (09:36 -0800)
ec/e28ffba3013fd530c8e0b4bac4baede4ed2eb7 [new file with mode: 0644]

diff --git a/ec/e28ffba3013fd530c8e0b4bac4baede4ed2eb7 b/ec/e28ffba3013fd530c8e0b4bac4baede4ed2eb7
new file mode 100644 (file)
index 0000000..a975912
--- /dev/null
@@ -0,0 +1,98 @@
+Return-Path: <sojkam1@fel.cvut.cz>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 36E444048EE\r
+       for <notmuch@notmuchmail.org>; Sun, 14 Mar 2010 11:15:56 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -1.335\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-1.335 tagged_above=-999 required=5\r
+       tests=[AWL=-0.225, BAYES_05=-1.11] autolearn=ham\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 5D1HlFbsZGba for <notmuch@notmuchmail.org>;\r
+       Sun, 14 Mar 2010 11:15:55 -0700 (PDT)\r
+Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
+       by olra.theworths.org (Postfix) with ESMTP id 22F0A454968\r
+       for <notmuch@notmuchmail.org>; Sun, 14 Mar 2010 11:15:55 -0700 (PDT)\r
+Received: from localhost (unknown [192.168.200.4])\r
+       by max.feld.cvut.cz (Postfix) with ESMTP id 02A9219F35FE;\r
+       Sun, 14 Mar 2010 19:15:54 +0100 (CET)\r
+X-Virus-Scanned: IMAP AMAVIS\r
+Received: from max.feld.cvut.cz ([192.168.200.1])\r
+       by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
+       port 10044)\r
+       with ESMTP id 2EWC4fWul4ht; Sun, 14 Mar 2010 19:15:52 +0100 (CET)\r
+Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
+       by max.feld.cvut.cz (Postfix) with ESMTP id 0E90B19F3388;\r
+       Sun, 14 Mar 2010 19:15:52 +0100 (CET)\r
+Received: from steelpick.localdomain (unknown [213.29.198.144])\r
+       (Authenticated sender: sojkam1)\r
+       by imap.feld.cvut.cz (Postfix) with ESMTPSA id BDF53FA003;\r
+       Sun, 14 Mar 2010 19:15:51 +0100 (CET)\r
+Received: from wsh by steelpick.localdomain with local (Exim 4.71)\r
+       (envelope-from <sojkam1@fel.cvut.cz>)\r
+       id 1NqsLp-0001sD-Nl; Sun, 14 Mar 2010 19:15:45 +0100\r
+From: Michal Sojka <sojkam1@fel.cvut.cz>\r
+To: Sebastian Spaeth <Sebastian@SSpaeth.de>, David A Benjamin\r
+       <davidben@MIT.EDU>, Ben Gamari <bgamari.foss@gmail.com>\r
+In-Reply-To: <87k4thplxj.fsf@SSpaeth.de>\r
+References: <4b990b7b.0e67f10a.073c.0686@mx.google.com>\r
+       <alpine.DEB.1.10.1003111748020.9755@dr-wily.mit.edu>\r
+       <87eijqlz54.fsf@steelpick.localdomain> <877hphtx6h.fsf@SSpaeth.de>\r
+       <87fx45eg55.fsf@steelpick.localdomain> <87k4thplxj.fsf@SSpaeth.de>\r
+Date: Sun, 14 Mar 2010 19:15:45 +0100\r
+Message-ID: <87mxyabwha.fsf@steelpick.localdomain>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+Cc: notmuch <notmuch@notmuchmail.org>\r
+Subject: Re: [notmuch] Notmuch command interface\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 14 Mar 2010 18:15:56 -0000\r
+\r
+On Fri, 12 Mar 2010 17:03:04 +0100, "Sebastian Spaeth" <Sebastian@SSpaeth.de> wrote:\r
+> On Fri, 12 Mar 2010 16:03:34 +0100, Michal Sojka <sojkam1@fel.cvut.cz> wrote:\r
+> > On Fri, 12 Mar 2010, Sebastian Spaeth wrote:\r
+> > > > Unfortunately, I didn't make much progress in implementating this, but\r
+> > > > it's definitely a priority for me because I want to get rid of slow\r
+> > > > notmuchsync.\r
+> > > \r
+> > > notmuchsync master is now using the json output, by the way. I think\r
+> > > that suppressing the output of msg bodies in notmuch show will help\r
+> > > notmuchsync performance *a lot*.\r
+> > \r
+> > I've just tried it :-(\r
+> >   File "/usr/lib/pymodules/python2.5/simplejson/decoder.py", line 353, in raw_decode\r
+> >     raise ValueError("No JSON object could be decoded")\r
+> > ValueError: No JSON object could be decoded\r
+> \r
+> Wow, that is bad. All it does is taking "nomuch show" output and feeding\r
+> it to the json parser. That probably means that the json was not valid\r
+> (which would be bad).\r
+\r
+Yes. I found that the problem is caused by emails with an empty body.\r
+I'll post a patch to fix this in a while.\r
+\r
+> Having said that, I remember that I got that when I used a notmuch that\r
+> doesn't include the notmuch tags in the json output, ie you need notmuch\r
+> from current master less than 26h ago. Do you use that?\r
+> \r
+> Also Python 2.6 is a requirement, but I see you used that already...\r
+\r
+Strange, I use default python from Debian which is 2.5.5 and current\r
+notmuchsync master runs without problems.\r
+\r
+-Michal\r