1 Return-Path: <Sebastian@SSpaeth.de>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 9C5F4431FC1
\r
6 for <notmuch@notmuchmail.org>; Sat, 10 Apr 2010 07:00:55 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5
\r
12 tests=[BAYES_20=-0.001] autolearn=unavailable
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id AfJkFVebqgHf for <notmuch@notmuchmail.org>;
\r
16 Sat, 10 Apr 2010 07:00:54 -0700 (PDT)
\r
17 Received: from homiemail-a17.g.dreamhost.com (caiajhbdccac.dreamhost.com
\r
19 by olra.theworths.org (Postfix) with ESMTP id EBC594196F2
\r
20 for <notmuch@notmuchmail.org>; Sat, 10 Apr 2010 07:00:53 -0700 (PDT)
\r
21 Received: from sspaeth.de (unknown [195.190.188.219])
\r
22 by homiemail-a17.g.dreamhost.com (Postfix) with ESMTPA id D695D7A805C;
\r
23 Sat, 10 Apr 2010 07:00:51 -0700 (PDT)
\r
24 Received: by sspaeth.de (sSMTP sendmail emulation);
\r
25 Sat, 10 Apr 2010 16:00:49 +0200
\r
26 From: "Sebastian Spaeth" <Sebastian@SSpaeth.de>
\r
27 To: Carl Worth <cworth@cworth.org>, Dirk Hohndel <hohndel@infradead.org>,
\r
28 Notmuch list <notmuch@notmuchmail.org>
\r
29 Subject: Re: RFC: User-Agent header
\r
30 In-Reply-To: <874ojkf23u.fsf@yoom.home.cworth.org>
\r
31 References: <87iq821hba.fsf@SSpaeth.de> <m3r5mqgeq8.fsf@x200.gr8dns.org>
\r
32 <874ojkf23u.fsf@yoom.home.cworth.org>
\r
33 Date: Sat, 10 Apr 2010 16:00:49 +0200
\r
34 Message-ID: <87wrwf9zla.fsf@SSpaeth.de>
\r
36 Content-Type: text/plain; charset=us-ascii
\r
37 X-BeenThere: notmuch@notmuchmail.org
\r
38 X-Mailman-Version: 2.1.13
\r
40 List-Id: "Use and development of the notmuch mail system."
\r
41 <notmuch.notmuchmail.org>
\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
43 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
45 List-Post: <mailto:notmuch@notmuchmail.org>
\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
49 X-List-Received-Date: Sat, 10 Apr 2010 14:00:55 -0000
\r
51 On 2010-04-10, Carl Worth wrote:
\r
52 > So I propose something like:
\r
54 > User-Agent: Notmuch/0.2 (http://notmuchmail.org) Emacs/23.1.1 (gnu/linux)
\r
56 That looks good to me. So I assume the correct strategy here would be
\r
59 1) have notmuch reply insert a header:
\r
61 User-Agent: Notmuch/0.2 (http://notmuchmail.org)
\r
63 2) have notmuch-reply.el (or whatever) add a setup mail hook that
\r
64 searches for an existing User-Agent header and appends " Emacs/23.1.1
\r
67 One issue is again, such a hook would be message mode
\r
68 specific, so gnus users might not appreciate that. Also when composing a
\r
69 message via c-x m this would not work. So perhaps an all lisp solution?
\r
70 Again, can we hijack message mode to add our own promotion header?
\r
71 Or has the time come for a notmuch-message-mode that somehow inherits
\r
72 from message mode? bremner said something about dynamic bindings that
\r