Re: notmuch for documents
[notmuch-archives.git] / 4b / 3313c1b2c5463acdf8200e904f877f562e2aa9
1 Return-Path: <cworth@cworth.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 25ED0431FBD;\r
6         Fri, 11 Dec 2009 09:40:25 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id SS8++RefHYMg; Fri, 11 Dec 2009 09:40:24 -0800 (PST)\r
11 Received: from yoom.home.cworth.org (localhost [127.0.0.1])\r
12         by olra.theworths.org (Postfix) with ESMTP id 76A20431FAE;\r
13         Fri, 11 Dec 2009 09:40:24 -0800 (PST)\r
14 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
15         id 17A1C2542F8; Fri, 11 Dec 2009 09:40:24 -0800 (PST)\r
16 From: Carl Worth <cworth@cworth.org>\r
17 To: Dirk Hohndel <hohndel@infradead.org>, notmuch@notmuchmail.org\r
18 In-Reply-To: <874onx4gyl.fsf@yoom.home.cworth.org>\r
19 References: <1260511813.3341.22.camel@dhohndel-mobl.amr.corp.intel.com>\r
20         <874onx4gyl.fsf@yoom.home.cworth.org>\r
21 Date: Fri, 11 Dec 2009 09:40:23 -0800\r
22 Message-ID: <87y6l92yuw.fsf@yoom.home.cworth.org>\r
23 MIME-Version: 1.0\r
24 Content-Type: multipart/signed; boundary="=-=-=";\r
25         micalg=pgp-sha1; protocol="application/pgp-signature"\r
26 Subject: Re: [notmuch] emacs mode performance issue\r
27 X-BeenThere: notmuch@notmuchmail.org\r
28 X-Mailman-Version: 2.1.12\r
29 Precedence: list\r
30 List-Id: "Use and development of the notmuch mail system."\r
31         <notmuch.notmuchmail.org>\r
32 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
33         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
34 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
35 List-Post: <mailto:notmuch@notmuchmail.org>\r
36 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
37 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
38         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
39 X-List-Received-Date: Fri, 11 Dec 2009 17:40:25 -0000\r
40 \r
41 --=-=-=\r
42 Content-Transfer-Encoding: quoted-printable\r
43 \r
44 On Fri, 11 Dec 2009 08:24:02 -0800, Carl Worth <cworth@cworth.org> wrote:\r
45 > In the meantime, if I could get my hands on a message that triggers this\r
46 > bug, that would be useful. (Here's a case where it would be nice to have\r
47 > the "notmuch search --output=3Dmaildir" command I had talked about so that\r
48 > we could export the results of a particular search.)\r
49 \r
50 Without a nice command to export a search as a maildir, here are some\r
51 things you can do in the meantime, Dirk. Consider this a free tutorial\r
52 in using the notmuch command line.\r
53 \r
54 First, run a notmuch search to isolate the thread. This might be exactly\r
55 the search you were using within your notmuch emacs buffer, plus maybe a\r
56 keyword or two from the subject of the particular thread. So perhaps\r
57 something like:\r
58 \r
59         notmuch search tag:lkml subject:"some phrase here"\r
60 \r
61 From=20that you should be able to see the thread ID of interest, so you\r
62 can display the whole thread, (for reading it without hitting the emacs\r
63 infinite-loop bug), by just copy-and-paste of the thread ID to "notmuch\r
64 show":\r
65 \r
66         notmuch show thread:thread-id-here\r
67 \r
68 And at that point you could manually archive the thread with:\r
69 \r
70         notmuch tag -inbox thread:thread-id-here\r
71 \r
72 So that should let you workaround the bug to at least read the thread.\r
73 \r
74 As for debugging, we don't yet have any mechanism in the emacs code to\r
75 view a single message without viewing the entire thread, so there's not\r
76 an easy way for you to isolate which message is triggering the bug. But\r
77 you can at least get the list of filenames from the notmuch show output:\r
78 \r
79         notmuch show thread:thread-id-here | grep message{ | sed 's/.*filename:\(.=\r
80 *\)/\1/'\r
81 \r
82 Which should let you tar these up and you can send them to me privately\r
83 and I'll try to replicate and fix the bug.\r
84 \r
85 I hope that's helpful,\r
86 \r
87 =2DCarl\r
88 \r
89 \r
90 --=-=-=\r
91 Content-Type: application/pgp-signature\r
92 \r
93 -----BEGIN PGP SIGNATURE-----\r
94 Version: GnuPG v1.4.10 (GNU/Linux)\r
95 \r
96 iD8DBQFLIoQH6JDdNq8qSWgRAl+PAJ9Q5JU/fyQLDtuX1tb78PY45OgXawCfUCMp\r
97 qUH45QZj6pQqShX4MVchyCQ=\r
98 =07Ra\r
99 -----END PGP SIGNATURE-----\r
100 --=-=-=--\r