[PATCH v2] emacs: Reuse rather than reinvent message header filtering

Carl Worth cworth at cworth.org
Thu Jun 3 17:06:14 PDT 2010


On Thu, 29 Apr 2010 11:10:01 +0200, Sebastian Spaeth <Sebastian at SSpaeth.de> 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.
> 
> Signed-off-by: Sebastian Spaeth <Sebastian at SSpaeth.de>
> ---
>  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.

-Carl

-- 
carl.d.worth at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100603/62ed9b0d/attachment.pgp>


More information about the notmuch mailing list