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 95A054196F3 for ; Thu, 3 Jun 2010 17:06:25 -0700 (PDT) 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 MuEJCBwSDfKr; Thu, 3 Jun 2010 17:06:15 -0700 (PDT) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 699F9431FC1; Thu, 3 Jun 2010 17:06:15 -0700 (PDT) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 1C879568F2D; Thu, 3 Jun 2010 17:06:15 -0700 (PDT) From: Carl Worth To: Sebastian Spaeth , Notmuch developer list Subject: Re: [PATCH v2] emacs: Reuse rather than reinvent message header filtering In-Reply-To: <1272532201-8742-1-git-send-email-Sebastian@SSpaeth.de> References: <87eihyy6od.fsf@ut.hh.sledj.net> <1272532201-8742-1-git-send-email-Sebastian@SSpaeth.de> User-Agent: Notmuch/0.3.1-22-g1d528f8 (http://notmuchmail.org) Emacs/23.1.1 (i486-pc-linux-gnu) Date: Thu, 03 Jun 2010 17:06:14 -0700 Message-ID: <871vcnfyq1.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: Fri, 04 Jun 2010 00:06:25 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Thu, 29 Apr 2010 11:10:01 +0200, Sebastian Spaeth = wrote: > In notmuch-mua-reply we were filtering out the Subject and To headers > manually in a loop, but message mode offers a nice function for > exactly that. Simplify the code by using it. Also, as notmuch-mua-mail > already sorts and hides headers that we want sorted and hidden, we can > safely remove those 2 functions from here as well. Also remove the > (require 'cl), the only reason for its existence was the now removed > "loop" function. >=20 > Signed-off-by: Sebastian Spaeth > --- > Also removed (require 'cl) as per dme's suggestion. Lovely. Thanks for the patch, Sebastian, (and for the review, David). I've committed this and expect to push it soon. =2DCarl =2D-=20 carl.d.worth@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFMCEN26JDdNq8qSWgRAltMAJ4y4hbnJcy9EmcMPGLgoXIyFVr6LwCgiH0l h9B9MjppkgNWRSpUBTsnde0= =jSjg -----END PGP SIGNATURE----- --=-=-=--