[PATCH] configure: add --without-api-docs option
[notmuch-archives.git] / 74 / 703a1d778197010b0f3cf5f97b9e40a1771436
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 491E7431FBD;\r
6         Fri, 11 Dec 2009 08:24:16 -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 T4FcuN9-N1Go; Fri, 11 Dec 2009 08:24:15 -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 970FA431FAE;\r
13         Fri, 11 Dec 2009 08:24:15 -0800 (PST)\r
14 Received: by yoom.home.cworth.org (Postfix, from userid 1000)\r
15         id 45E462542F8; Fri, 11 Dec 2009 08:24:15 -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: <1260511813.3341.22.camel@dhohndel-mobl.amr.corp.intel.com>\r
19 References: <1260511813.3341.22.camel@dhohndel-mobl.amr.corp.intel.com>\r
20 Date: Fri, 11 Dec 2009 08:24:02 -0800\r
21 Message-ID: <874onx4gyl.fsf@yoom.home.cworth.org>\r
22 MIME-Version: 1.0\r
23 Content-Type: multipart/signed; boundary="=-=-=";\r
24         micalg=pgp-sha1; protocol="application/pgp-signature"\r
25 Subject: Re: [notmuch] emacs mode performance issue\r
26 X-BeenThere: notmuch@notmuchmail.org\r
27 X-Mailman-Version: 2.1.12\r
28 Precedence: list\r
29 List-Id: "Use and development of the notmuch mail system."\r
30         <notmuch.notmuchmail.org>\r
31 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
32         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
33 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
34 List-Post: <mailto:notmuch@notmuchmail.org>\r
35 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
36 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
37         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
38 X-List-Received-Date: Fri, 11 Dec 2009 16:24:16 -0000\r
39 \r
40 --=-=-=\r
41 Content-Transfer-Encoding: quoted-printable\r
42 \r
43 On Thu, 10 Dec 2009 22:10:13 -0800, Dirk Hohndel <hohndel@infradead.org> wr=\r
44 ote:\r
45 > I'm in the search results window in Emacs, on an LKML thread with 140+\r
46 > messages. I hit return to view this thread - Emacs consumes 100% CPU\r
47 > but even after waiting 3 minutes it doesn't display the result (this is\r
48 > on a fast system Lenovo x200s).=20\r
49 >=20\r
50 > C-g stops the process and gets me dumped into a clearly partially\r
51 > processed buffer.\r
52 >=20\r
53 > Is there a good way to collect more profiling information to figure out\r
54 > why this is so slow?\r
55 \r
56 My guess is that it's not a problem of being slow.\r
57 \r
58 It sounds much more likely that some of our lame emacs lisp code has\r
59 gotten itself into an infinite loop.\r
60 \r
61 We've got a bunch of silly, ad-hoc code for jumping around the emacs\r
62 buffer looking for various things. And then we have invisible characters\r
63 in the emacs buffer which make some of the movement commands behave\r
64 differently, and unreliably. So there's some ugliness here.\r
65 \r
66 The right fix is to move more of the parsing logic into the C code where\r
67 I can actually comprehend things, and then emit some fully-quoted\r
68 structure that we can walk with simple, reliable emacs code.\r
69 \r
70 In the meantime, if I could get my hands on a message that triggers this\r
71 bug, that would be useful. (Here's a case where it would be nice to have\r
72 the "notmuch search --output=3Dmaildir" command I had talked about so that\r
73 we could export the results of a particular search.)\r
74 \r
75 =2DCarl\r
76 \r
77 --=-=-=\r
78 Content-Type: application/pgp-signature\r
79 \r
80 -----BEGIN PGP SIGNATURE-----\r
81 Version: GnuPG v1.4.10 (GNU/Linux)\r
82 \r
83 iD8DBQFLInIi6JDdNq8qSWgRAkM9AJ4mnHAn6D1CygjWlusz+EGV/87DegCdErWM\r
84 x9LBWz0Pqw7v1jVUmxaAw2Y=\r
85 =dkr3\r
86 -----END PGP SIGNATURE-----\r
87 --=-=-=--\r