Re: [PATCH] Fix typo in Message.maildir_flags_to_tags
[notmuch-archives.git] / 9e / 006a50486c869ed0f8ec72c3ed71abb0701bf3
1 Return-Path: <jani@nikula.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 CFEF9431FD0\r
6         for <notmuch@notmuchmail.org>; Fri, 23 Sep 2011 12:03:51 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"\r
9 X-Spam-Flag: NO\r
10 X-Spam-Score: -0.7\r
11 X-Spam-Level: \r
12 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
13         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id 7c8GUFhfmH06 for <notmuch@notmuchmail.org>;\r
17         Fri, 23 Sep 2011 12:03:51 -0700 (PDT)\r
18 Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com\r
19         [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 28DB5431FB6\r
22         for <notmuch@notmuchmail.org>; Fri, 23 Sep 2011 12:03:51 -0700 (PDT)\r
23 Received: by bkbzt12 with SMTP id zt12so4504112bkb.26\r
24         for <notmuch@notmuchmail.org>; Fri, 23 Sep 2011 12:03:49 -0700 (PDT)\r
25 Received: by 10.204.128.130 with SMTP id k2mr2985381bks.322.1316804629569;\r
26         Fri, 23 Sep 2011 12:03:49 -0700 (PDT)\r
27 Received: from localhost (dsl-hkibrasgw4-fe5cdc00-23.dhcp.inet.fi.\r
28         [80.220.92.23])\r
29         by mx.google.com with ESMTPS id x4sm2723202fad.1.2011.09.23.12.03.47\r
30         (version=SSLv3 cipher=OTHER); Fri, 23 Sep 2011 12:03:48 -0700 (PDT)\r
31 From: Jani Nikula <jani@nikula.org>\r
32 To: notmuch@notmuchmail.org\r
33 Subject: [PATCH 2/2] emacs: Fix notmuch-mua-user-agent defcustom\r
34 Date: Fri, 23 Sep 2011 22:03:42 +0300\r
35 Message-Id:\r
36  <4f5151bf4b16ca977c6cfe7e4bf2bf909281675b.1316804530.git.jani@nikula.org>\r
37 X-Mailer: git-send-email 1.7.4.1\r
38 In-Reply-To:\r
39  <864e58d004c991bcb823e0f61f33eb8cbbbb5b76.1316804530.git.jani@nikula.org>\r
40 References:\r
41  <864e58d004c991bcb823e0f61f33eb8cbbbb5b76.1316804530.git.jani@nikula.org>\r
42 In-Reply-To:\r
43  <864e58d004c991bcb823e0f61f33eb8cbbbb5b76.1316804530.git.jani@nikula.org>\r
44 References:\r
45  <864e58d004c991bcb823e0f61f33eb8cbbbb5b76.1316804530.git.jani@nikula.org>\r
46 X-BeenThere: notmuch@notmuchmail.org\r
47 X-Mailman-Version: 2.1.13\r
48 Precedence: list\r
49 List-Id: "Use and development of the notmuch mail system."\r
50         <notmuch.notmuchmail.org>\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
54 List-Post: <mailto:notmuch@notmuchmail.org>\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
58 X-List-Received-Date: Fri, 23 Sep 2011 19:03:52 -0000\r
59 \r
60 The :options keyword is not meaningful for function type. Also, it was not\r
61 possible to enter nil value, contrary to the notmuch-mua-user-agent\r
62 defcustom documentation. Specify the alternatives using choice type, taking\r
63 nil into account.\r
64 \r
65 Signed-off-by: Jani Nikula <jani@nikula.org>\r
66 ---\r
67  emacs/notmuch-mua.el |   10 ++++++----\r
68  1 files changed, 6 insertions(+), 4 deletions(-)\r
69 \r
70 diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el\r
71 index 8824b08..8b95bd4 100644\r
72 --- a/emacs/notmuch-mua.el\r
73 +++ b/emacs/notmuch-mua.el\r
74 @@ -35,10 +35,12 @@\r
75    "Function used to generate a `User-Agent:' string. If this is\r
76  `nil' then no `User-Agent:' will be generated."\r
77    :group 'notmuch\r
78 -  :type 'function\r
79 -  :options '(notmuch-mua-user-agent-full\r
80 -            notmuch-mua-user-agent-notmuch\r
81 -            notmuch-mua-user-agent-emacs))\r
82 +  :type '(choice (const :tag "No user agent string" nil)\r
83 +                (const :tag "Full" notmuch-mua-user-agent-full)\r
84 +                (const :tag "Notmuch" notmuch-mua-user-agent-notmuch)\r
85 +                (const :tag "Emacs" notmuch-mua-user-agent-emacs)\r
86 +                (function :tag "Custom user agent function"\r
87 +                          :value notmuch-mua-user-agent-full)))\r
88  \r
89  (defcustom notmuch-mua-hidden-headers '("^User-Agent:")\r
90    "Headers that are added to the `message-mode' hidden headers\r
91 -- \r
92 1.7.4.1\r
93 \r