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 96AFB40DBFA for ; Tue, 16 Nov 2010 11:57:33 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.89 X-Spam-Level: X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01] autolearn=ham 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 6psgiuejDrJ1; Tue, 16 Nov 2010 11:57:23 -0800 (PST) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 6291640DBC8; Tue, 16 Nov 2010 11:57:23 -0800 (PST) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id EF8B925412B; Tue, 16 Nov 2010 11:57:22 -0800 (PST) From: Carl Worth To: David Edmondson , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: Avoid regexp overflow when tidying citations. In-Reply-To: <1289566202-24148-1-git-send-email-dme@dme.org> References: <1289566202-24148-1-git-send-email-dme@dme.org> User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.2.1 (i486-pc-linux-gnu) Date: Tue, 16 Nov 2010 11:57:22 -0800 Message-ID: <87eialdot9.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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: Tue, 16 Nov 2010 19:57:33 -0000 --=-=-= On Fri, 12 Nov 2010 12:50:02 +0000, David Edmondson wrote: > Declare `notmuch-wash-tidy-citations-max', which is the largest region > that `notmuch-wash-tidy-citations' will attempt to improve. Hi David, Could you add a test case for whatever bug is being fixed here? I'm a little concerned about giving the user a tuning knob which appears to have a somewhat arbitrary default, and also without providing much guidance to the user on how to set that particular knob. I'd feel better if the code could somehow "know" when it needs to stop tidying well enough that we would feel fine just not offering the knob at all. Thanks, -Carl --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFM4uIi6JDdNq8qSWgRAhAsAKCdHuT7YJ91TFtWRbeeP1xoxv4aGACfY1gs cibmzARtOeunsOXa2j/wXJI= =pwn+ -----END PGP SIGNATURE----- --=-=-=--