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 2E4A44196F3 for ; Fri, 23 Apr 2010 13:25:23 -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 YUBsurLRbo16; Fri, 23 Apr 2010 13:25:22 -0700 (PDT) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 7908B431FC1; Fri, 23 Apr 2010 13:25:22 -0700 (PDT) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 247A5568DE4; Fri, 23 Apr 2010 13:25:22 -0700 (PDT) From: Carl Worth To: David Edmondson , notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: Re-arrange message sending code In-Reply-To: <1271927012-10062-1-git-send-email-dme@dme.org> References: <1271927012-10062-1-git-send-email-dme@dme.org> User-Agent: Notmuch/0.2-164-g57926bc (http://notmuchmail.org) Emacs/23.1.1 (i486-pc-linux-gnu) Date: Fri, 23 Apr 2010 13:25:22 -0700 Message-ID: <87pr1pvrv1.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, 23 Apr 2010 20:25:23 -0000 --=-=-= On Thu, 22 Apr 2010 10:03:32 +0100, David Edmondson wrote: > Define a new `mail-user-agent' (`notmuch-user-agent') and use it by > default. Re-arrange various routines that send mail to use this > (compose, reply, forward). Insert a `User-Agent:' header by default. Very nice! I've pushed this out now. And I'm hoping that this new support makes it easier for people to hook in the Fcc code. Does this mean there's now a single place to add that that will make it work for messages composed from 'm', 'f', or 'r'? The one unpleasantry I've noticed is that in the case of 'm' the headers are being put into the buffer in the following order: User-Agent: To: Subject: From: where I would prefer them in the following order: From: To: Subject: User-Agent: Thanks, -Carl --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFL0gIy6JDdNq8qSWgRAjgkAJ9tA5OQVAOW/OlXIyRls1hYDODEpQCfTxfb eLzLvdXfgR4p/Fg6waqlel4= =0T/6 -----END PGP SIGNATURE----- --=-=-=--