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 7F7774196F0 for ; Thu, 15 Apr 2010 09:03:30 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 zeU3MfnYOxjC for ; Thu, 15 Apr 2010 09:03:28 -0700 (PDT) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by olra.theworths.org (Postfix) with ESMTP id 9AB7D431FC1 for ; Thu, 15 Apr 2010 09:03:28 -0700 (PDT) Received: by wyj26 with SMTP id 26so738003wyj.26 for ; Thu, 15 Apr 2010 09:03:28 -0700 (PDT) Received: by 10.216.85.135 with SMTP id u7mr297737wee.51.1271347407882; Thu, 15 Apr 2010 09:03:27 -0700 (PDT) Received: from ut.hh.sledj.net (gmp-ea-fw-1b.sun.com [192.18.8.1]) by mx.google.com with ESMTPS id x1sm12824696wbx.7.2010.04.15.09.03.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 15 Apr 2010 09:03:22 -0700 (PDT) Received: by ut.hh.sledj.net (Postfix, from userid 1000) id DF4385941D9; Thu, 15 Apr 2010 17:03:23 +0100 (BST) To: notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: Re-arrange message sending code In-Reply-To: <1271346627-25310-1-git-send-email-dme@dme.org> References: <1271346627-25310-1-git-send-email-dme@dme.org> User-Agent: notmuch version 0.1-136-g031c7b1 (Emacs 23.1.1/x86_64-pc-linux-gnu) From: David Edmondson Date: Thu, 15 Apr 2010 17:03:23 +0100 Message-ID: <871veg3dpw.fsf@ut.hh.sledj.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Thu, 15 Apr 2010 16:03:30 -0000 On Thu, 15 Apr 2010 16:50:27 +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. I meant to add that this was a proposal in response to Sebastian's User-Agent related patch (id:87y6gtnkch.fsf@SSpaeth.de). Setting `mail-user-agent' in notmuch.el is a bit aggressive, but without requiring some configuration on the part of the user (which Carl appeared to want to avoid) it's not obvious how to make things as simple as the existing approach. dme. -- David Edmondson, http://dme.org