"snoozing" with notmuch?
[notmuch-archives.git] / 1e / 4763d94cd79cb369b8465f4ac46e0437bf8304
1 Return-Path: <BATV+4e390206964dc3ee67bd+2421+infradead.org+hohndel@bombadil.srs.infradead.org>\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 EBB45431FC1\r
6         for <notmuch@notmuchmail.org>; Sat, 10 Apr 2010 07:45:05 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -4.2\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] 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 oHFf-5aD17Zk for <notmuch@notmuchmail.org>;\r
16         Sat, 10 Apr 2010 07:45:05 -0700 (PDT)\r
17 Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34])\r
18         by olra.theworths.org (Postfix) with ESMTP id 2F4C54196F2\r
19         for <notmuch@notmuchmail.org>; Sat, 10 Apr 2010 07:45:05 -0700 (PDT)\r
20 Received: from localhost ([::1] helo=localhost.localdomain)\r
21         by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux))\r
22         id 1O0bvk-000475-9z; Sat, 10 Apr 2010 14:45:04 +0000\r
23 Received: by localhost.localdomain (Postfix, from userid 500)\r
24         id D5A92C00E1; Sat, 10 Apr 2010 07:45:02 -0700 (PDT)\r
25 From: Dirk Hohndel <hohndel@infradead.org>\r
26 To: Sebastian Spaeth <Sebastian@SSpaeth.de>, Carl Worth <cworth@cworth.org>,\r
27         Notmuch list <notmuch@notmuchmail.org>\r
28 Subject: Re: RFC: User-Agent header\r
29 In-Reply-To: <87wrwf9zla.fsf@SSpaeth.de>\r
30 References: <87iq821hba.fsf@SSpaeth.de> <m3r5mqgeq8.fsf@x200.gr8dns.org>\r
31         <874ojkf23u.fsf@yoom.home.cworth.org> <87wrwf9zla.fsf@SSpaeth.de>\r
32 Date: Sat, 10 Apr 2010 07:45:02 -0700\r
33 Message-ID: <m3iq7z74ep.fsf@x200.gr8dns.org>\r
34 MIME-Version: 1.0\r
35 Content-Type: text/plain; charset=us-ascii\r
36 X-SRS-Rewrite: SMTP reverse-path rewritten from <hohndel@infradead.org> by\r
37         bombadil.infradead.org See http://www.infradead.org/rpr.html\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Sat, 10 Apr 2010 14:45:06 -0000\r
51 \r
52 On Sat, 10 Apr 2010 16:00:49 +0200, "Sebastian Spaeth" <Sebastian@SSpaeth.de> wrote:\r
53 > On 2010-04-10, Carl Worth wrote:\r
54 > > So I propose something like:\r
55 > > \r
56 > >   User-Agent: Notmuch/0.2 (http://notmuchmail.org) Emacs/23.1.1 (gnu/linux)\r
57\r
58 > That looks good to me. So I assume the correct strategy here would be\r
59 > to:\r
60\r
61 > 1) have notmuch reply insert a header:\r
62\r
63 > User-Agent: Notmuch/0.2 (http://notmuchmail.org)\r
64\r
65 > 2) have notmuch-reply.el (or whatever) add a setup mail hook that\r
66 > searches for an existing User-Agent header and appends " Emacs/23.1.1\r
67 > (gnu/linux)"  \r
68\r
69 > One issue is again, such a hook would be message mode\r
70 > specific, so gnus users might not appreciate that. Also when composing a\r
71 > message via c-x m this would not work. So perhaps an all lisp solution?\r
72 > Again, can we hijack message mode to add our own promotion header?\r
73 > Or has the time come for a notmuch-message-mode that somehow inherits\r
74 > from message mode? bremner said something about dynamic bindings that\r
75 > would allow that.\r
76 \r
77 I really think we need to investigate having a notmuch-message-mode as\r
78 there are now a number of reasons to be able to customize things when\r
79 the user is running notmuch.\r
80 \r
81 BTW: I don't think these are "promotion headers" - I relatively\r
82 frequently want to check which email client someone else is using when\r
83 I'm trying to figure out why things go wrong (incorrect mail headers,\r
84 mangled spacing (in patches, for example), incorrect HTML messages, etc)\r
85 \r
86 /D\r
87 \r
88 -- \r
89 Dirk Hohndel\r
90 Intel Open Source Technology Center\r