[PATCH 05/11] test: move emacs-tree test into mainline
[notmuch-archives.git] / 1c / aac3e65bd125c63e97f3d623048cfe0eed0ff5
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 4C981429E28\r
6         for <notmuch@notmuchmail.org>; Tue, 20 Dec 2011 11:53:27 -0800 (PST)\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 017rmHkJu8Dv for <notmuch@notmuchmail.org>;\r
17         Tue, 20 Dec 2011 11:53:26 -0800 (PST)\r
18 Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com\r
19  [74.125.83.53])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
20  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
21  BB45C431FD0    for <notmuch@notmuchmail.org>; Tue, 20 Dec 2011 11:53:23 -0800\r
22  (PST)\r
23 Received: by mail-ee0-f53.google.com with SMTP id d41so8138952eek.26\r
24         for <notmuch@notmuchmail.org>; Tue, 20 Dec 2011 11:53:23 -0800 (PST)\r
25 Received: by 10.213.13.207 with SMTP id d15mr3921150eba.108.1324410803168;\r
26         Tue, 20 Dec 2011 11:53:23 -0800 (PST)\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 z43sm10818637eef.7.2011.12.20.11.53.20\r
30         (version=SSLv3 cipher=OTHER); Tue, 20 Dec 2011 11:53:21 -0800 (PST)\r
31 From: Jani Nikula <jani@nikula.org>\r
32 To: notmuch@notmuchmail.org\r
33 Subject: [PATCH v2 1/2] emacs: Fix notmuch-hello-tag-list-make-query defcustom\r
34 Date: Tue, 20 Dec 2011 21:53:13 +0200\r
35 Message-Id:\r
36  <8c69566692e6e7c36e3c3cfcfba2c1122e5c10b1.1324410479.git.jani@nikula.org>\r
37 X-Mailer: git-send-email 1.7.5.4\r
38 In-Reply-To: <cover.1324410479.git.jani@nikula.org>\r
39 References:\r
40  <864e58d004c991bcb823e0f61f33eb8cbbbb5b76.1316804530.git.jani@nikula.org>\r
41         <cover.1324410479.git.jani@nikula.org>\r
42 In-Reply-To: <cover.1324410479.git.jani@nikula.org>\r
43 References: <cover.1324410479.git.jani@nikula.org>\r
44 X-BeenThere: notmuch@notmuchmail.org\r
45 X-Mailman-Version: 2.1.13\r
46 Precedence: list\r
47 List-Id: "Use and development of the notmuch mail system."\r
48         <notmuch.notmuchmail.org>\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
52 List-Post: <mailto:notmuch@notmuchmail.org>\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
56 X-List-Received-Date: Tue, 20 Dec 2011 19:53:27 -0000\r
57 \r
58 It was not possible to define custom filters or filter functions because\r
59 the types were const. Remove const to allow editing.\r
60 \r
61 Signed-off-by: Jani Nikula <jani@nikula.org>\r
62 ---\r
63  emacs/notmuch-hello.el |    5 +++--\r
64  1 files changed, 3 insertions(+), 2 deletions(-)\r
65 \r
66 diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el\r
67 index 81b2605..7dd0f85 100644\r
68 --- a/emacs/notmuch-hello.el\r
69 +++ b/emacs/notmuch-hello.el\r
70 @@ -86,8 +86,9 @@ Finally this can be a function that will be called for each tag and\r
71  should return a filter for that tag, or nil to hide the tag."\r
72    :type '(choice (const :tag "All messages" nil)\r
73                  (const :tag "Unread messages" "tag:unread")\r
74 -                (const :tag "Custom filter" string)\r
75 -                (const :tag "Custom filter function" function))\r
76 +                (string :tag "Custom filter"\r
77 +                        :value "tag:unread")\r
78 +                (function :tag "Custom filter function"))\r
79    :group 'notmuch)\r
80  \r
81  (defcustom notmuch-hello-hide-tags nil\r
82 -- \r
83 1.7.5.4\r
84 \r