Re: [PATCH] How to improve the mail handling workflow?
[notmuch-archives.git] / b4 / e37ed829b62a1281d3d35e775ccb3fccd73ab6
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 630624196F3\r
6         for <notmuch@notmuchmail.org>; Wed, 14 Apr 2010 00:44:21 -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: -0.001\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5\r
12         tests=[BAYES_20=-0.001] autolearn=ham\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 adZ0A+u7idWA for <notmuch@notmuchmail.org>;\r
16         Wed, 14 Apr 2010 00:44:20 -0700 (PDT)\r
17 Received: from homiemail-a13.g.dreamhost.com (caiajhbdcbef.dreamhost.com\r
18         [208.97.132.145])\r
19         by olra.theworths.org (Postfix) with ESMTP id 7EF96431FC1\r
20         for <notmuch@notmuchmail.org>; Wed, 14 Apr 2010 00:44:20 -0700 (PDT)\r
21 Received: from sspaeth.de (unknown [195.190.188.219])\r
22         by homiemail-a13.g.dreamhost.com (Postfix) with ESMTPA id 88C416A805F; \r
23         Wed, 14 Apr 2010 00:44:18 -0700 (PDT)\r
24 Received: by sspaeth.de (sSMTP sendmail emulation);\r
25         Wed, 14 Apr 2010 09:44:16 +0200\r
26 From: "Sebastian Spaeth" <Sebastian@SSpaeth.de>\r
27 To: Carl Worth <cworth@cworth.org>, Notmuch list <notmuch@notmuchmail.org>\r
28 Subject: Re: [PATCH] RFC: User-Agent header\r
29 In-Reply-To: <87bpdnl02k.fsf@yoom.home.cworth.org>\r
30 References: <87iq821hba.fsf@SSpaeth.de> <87hbnhprk0.fsf@SSpaeth.de>\r
31         <87y6gtnkch.fsf@SSpaeth.de> <87bpdnl02k.fsf@yoom.home.cworth.org>\r
32 Date: Wed, 14 Apr 2010 09:44:16 +0200\r
33 Message-ID: <87iq7ubhrj.fsf@SSpaeth.de>\r
34 User-Agent: notmuch version 0.1-107-g553feae (Emacs\r
35  23.1.1/x86_64-pc-linux-gnu)\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain; charset=us-ascii\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: Wed, 14 Apr 2010 07:44:21 -0000\r
51 \r
52 On 2010-04-13, Carl Worth wrote:\r
53 > > OK, final post from me on this issue.\r
54 > No, wait! I want more from you. :-)\r
55 \r
56 Sigh, they always want more :-)\r
57  \r
58 > Would you care to put together a solution that does this from within\r
59 > notmuch*.el ? I really want things usable by default without people\r
60 > having to hack up their .emacs files.\r
61 \r
62 See the "sister mail" to this thread, in which I simply added the whole\r
63 shebang to notmuch.el (not using a lambda function). Is that what you\r
64 had in mind. Mind you, my elisp knowledge borders close to 0, so I would\r
65 be surprised if I did not botch up things. However, I have tested the\r
66 patch, and the User-Agent header got inserted.\r
67  \r
68 > Of course, we could also easily add a variable to make this not happen,\r
69 > (but that can be added in a follow-on patch by anyone).\r
70 \r
71 Some don't want it, but it cannot be disabled in this patch, so that\r
72 would indeed need to be a followup patch.\r
73 \r
74 This gets now inserted (message mode automatically wrapped the header\r
75 like this):\r
76 User-Agent: notmuch version 0.1-107-g553feae (Emacs\r
77         23.1.1/x86_64-pc-linux-gnu)\r
78 \r
79 Is that an acceptable format? I would have preferred to not include the\r
80 "version" string, but notmuch --version spits that out, and it was just\r
81 easier to leave it in. \r
82 \r
83 Is that "version" really needed, BTW? Why can't notmuch --version not just say:\r
84 notmuch 0.1-107-g553feae\r
85 \r
86 Sebastian\r