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 67CDB431FBD; Fri, 11 Dec 2009 16:02:08 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org 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 UXUIzxDR5r3l; Fri, 11 Dec 2009 16:02:07 -0800 (PST) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 770D3431FAE; Fri, 11 Dec 2009 16:02:07 -0800 (PST) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 31C7E254306; Fri, 11 Dec 2009 16:02:07 -0800 (PST) From: Carl Worth To: Dirk Hohndel , notmuch@notmuchmail.org In-Reply-To: <87y6l92yuw.fsf@yoom.home.cworth.org> References: <1260511813.3341.22.camel@dhohndel-mobl.amr.corp.intel.com> <874onx4gyl.fsf@yoom.home.cworth.org> <87y6l92yuw.fsf@yoom.home.cworth.org> Date: Fri, 11 Dec 2009 16:02:06 -0800 Message-ID: <87r5r12h6p.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: Re: [notmuch] emacs mode performance issue X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 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: Sat, 12 Dec 2009 00:02:08 -0000 --=-=-= On Fri, 11 Dec 2009 09:40:23 -0800, Carl Worth wrote: > Which should let you tar these up and you can send them to me privately > and I'll try to replicate and fix the bug. Thanks for passing on the messages, Dirk. If anyone's curious the message that triggered the bug is a public mail on the Linux Kernel Mailing List: id:alpine.LFD.2.00.0912081304070.3560@localhost.localdomain (It does have to be viewed in thread context---indented at least 13 columns to trigger the bug.) The bug was an infinite loop add the button for a hidden citation, (where our emacs lisp code got a bit confused about where the next line was and infinitely looped on the same citation adding a never ending sequence of "[1-line citation]" buttons). I fixed the infinite loop and while in the area made a few other minor improvements to the citation-hiding code: * No longer consider '>' as introducing a citation if not in first column. * No longer insert an the extra blank line after the citation button. * Add text to the citation button to tell new users that they can click or press Enter on the button to show the citation. I'd still like to add one more feature which is a keybinding to make all the citations for the current message visible. (It could even do the whole thread like the button we used to have, but *only* if it ensured that the current position of point within the current buffer and the current window remained unchanged.) I hope that's helpful, -Carl --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFLIt1/6JDdNq8qSWgRAj93AKCRoyVUbcAfpEHEE1zuVZzxJCqnEwCfSa1d vVX1WZmd1aAS99L/Nh/+FP0= =GYah -----END PGP SIGNATURE----- --=-=-=--