[PATCH 2/2] doc: build and install doxygen api docs
[notmuch-archives.git] / bc / 06d28f57cb27fd48022636a56cc70f8b9c3c0d
1 Return-Path: <amdragon@mit.edu>\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 65F79421197\r
6         for <notmuch@notmuchmail.org>; Tue, 17 Jan 2012 12:32:26 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\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 Wvl7vAKTDnQZ for <notmuch@notmuchmail.org>;\r
16         Tue, 17 Jan 2012 12:32:25 -0800 (PST)\r
17 Received: from dmz-mailsec-scanner-7.mit.edu (DMZ-MAILSEC-SCANNER-7.MIT.EDU\r
18         [18.7.68.36])\r
19         by olra.theworths.org (Postfix) with ESMTP id A2CA0421192\r
20         for <notmuch@notmuchmail.org>; Tue, 17 Jan 2012 12:32:25 -0800 (PST)\r
21 X-AuditID: 12074424-b7fae6d000000906-63-4f15dad9095b\r
22 Received: from mailhub-auth-3.mit.edu ( [18.9.21.43])\r
23         by dmz-mailsec-scanner-7.mit.edu (Symantec Messaging Gateway) with SMTP\r
24         id E2.B7.02310.9DAD51F4; Tue, 17 Jan 2012 15:32:25 -0500 (EST)\r
25 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])\r
26         by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id q0HKWOi2010782; \r
27         Tue, 17 Jan 2012 15:32:24 -0500\r
28 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91])\r
29         (authenticated bits=0)\r
30         (User authenticated as amdragon@ATHENA.MIT.EDU)\r
31         by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q0HKWMQM017195\r
32         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
33         Tue, 17 Jan 2012 15:32:23 -0500 (EST)\r
34 Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77)\r
35         (envelope-from <amdragon@mit.edu>)\r
36         id 1RnFhT-00085o-Al; Tue, 17 Jan 2012 15:32:11 -0500\r
37 Date: Tue, 17 Jan 2012 15:32:11 -0500\r
38 From: Austin Clements <amdragon@MIT.EDU>\r
39 To: David Edmondson <dme@dme.org>\r
40 Subject: Re: [PATCH v2 3/3] search: Support automatic tag exclusions\r
41 Message-ID: <20120117203211.GQ16740@mit.edu>\r
42 References: <1326258173-21163-1-git-send-email-amdragon@mit.edu>\r
43         <1326496024-14403-1-git-send-email-amdragon@mit.edu>\r
44         <1326496024-14403-4-git-send-email-amdragon@mit.edu>\r
45         <87wr8tsvit.fsf@servo.finestructure.net>\r
46         <cunfwfg57uh.fsf@hotblack-desiato.hh.sledj.net>\r
47         <20120116192836.GC16740@mit.edu>\r
48         <CA+eQo_3xxuhgUUXWXWyVD1LFhvhkw2psbA3ZnFnZk=BjjHXy8w@mail.gmail.com>\r
49         <cunpqeir912.fsf@hotblack-desiato.hh.sledj.net>\r
50 MIME-Version: 1.0\r
51 Content-Type: text/plain; charset=us-ascii\r
52 Content-Disposition: inline\r
53 In-Reply-To: <cunpqeir912.fsf@hotblack-desiato.hh.sledj.net>\r
54 User-Agent: Mutt/1.5.21 (2010-09-15)\r
55 X-Brightmail-Tracker:\r
56  H4sIAAAAAAAAA+NgFupjleLIzCtJLcpLzFFi42IR4hTV1r15S9TfYMtpNot9d7YwWbR+vsRs\r
57         cf3mTGYHZo9dz/8yeUx92cfi8WzVLeYA5igum5TUnMyy1CJ9uwSujN8Hb7AUrOWsmPxzO1MD\r
58         YzN7FyMnh4SAicTH6duYIGwxiQv31rN1MXJxCAnsY5RYP/8nE4SzgVHia+cbdgjnJJPEm6az\r
59         LBDOEkaJTYceM4P0swioSlx+vBTMZhPQkNi2fzkjiC0ioCjx/9sKsH3MAo4Sr19cBxrLwSEs\r
60         4CKxoVMPJMwroCPx5dtCqG3LmSUmNd9mgkgISpyc+YQFoldL4sa/l2C9zALSEsv/cYCEOQVs\r
61         JB7u6gBbKyqgIjHl5Da2CYxCs5B0z0LSPQuhewEj8ypG2ZTcKt3cxMyc4tRk3eLkxLy81CJd\r
62         c73czBK91JTSTYygYGd3UdnB2HxI6RCjAAejEg+vxAZRfyHWxLLiytxDjJIcTEqivLNuAIX4\r
63         kvJTKjMSizPii0pzUosPMUpwMCuJ8F66DJTjTUmsrEotyodJSXOwKInzami98xMSSE8sSc1O\r
64         TS1ILYLJynBwKEnwHroJ1ChYlJqeWpGWmVOCkGbi4AQZzgM0fBdIDW9xQWJucWY6RP4Uo6KU\r
65         OO98kIQASCKjNA+uF5aMXjGKA70izPsNpIoHmMjgul8BDWYCGpzTKgQyuCQRISXVwMi++c32\r
66         Ve53NwRUivLUfFSctX17elSGn/WGew9VFnT8+HpNdX1tkE3/971JlVwnDuZI337VesHjoJIy\r
67         w9GkM40/Prs9nn0l5NFNz/7/voWTJnt3JtxfrqrS7+C1Xipuou6m6RaHL/zLU9517vM9+WUJ\r
68         k/8/XPLm46N13yZFTbNdXdF34ZGpVdMuJZbijERDLeai4kQAsaVwSiEDAAA=\r
69 Cc: notmuch@notmuchmail.org, Jeremy Nickurak <jeremy@nickurak.ca>\r
70 X-BeenThere: notmuch@notmuchmail.org\r
71 X-Mailman-Version: 2.1.13\r
72 Precedence: list\r
73 List-Id: "Use and development of the notmuch mail system."\r
74         <notmuch.notmuchmail.org>\r
75 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
76         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
77 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
78 List-Post: <mailto:notmuch@notmuchmail.org>\r
79 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
80 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
81         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
82 X-List-Received-Date: Tue, 17 Jan 2012 20:32:26 -0000\r
83 \r
84 Quoth David Edmondson on Jan 17 at  9:08 am:\r
85 > On Mon, 16 Jan 2012 15:16:24 -0700, Jeremy Nickurak <jeremy@nickurak.ca> wrote:\r
86 > > On Mon, Jan 16, 2012 at 12:28, Austin Clements <amdragon@mit.edu> wrote:\r
87 > > >> Having "deleted" and "spam" as default settings in the configuration\r
88 > > >> file might be more reasonable.\r
89 > > \r
90 > > If I read correctly:\r
91 > > \r
92 > > 1) If no exclude options are in the config file, none should be used.\r
93\r
94 > Yes.\r
95\r
96 > > 2) On notmuch setup, "deleted" and "spam" should be added to .notmuch-config\r
97\r
98 > I might argue between 'should' and 'could', but the sense is correct.\r
99 \r
100 Oh, I think I see.  I don't know if I can do precisely that, since the\r
101 config code doesn't know if it's being called from setup, but is\r
102 something like this essentially what you're suggesting?\r
103 \r
104     if (notmuch_config_get_auto_exclude_tags (config, &tmp) == NULL) {\r
105         if (is_new) {\r
106             const char *tags[] = { "deleted", "spam" };\r
107             notmuch_config_set_auto_exclude_tags (config, tags, 2);\r
108         } else {\r
109             notmuch_config_set_auto_exclude_tags (config, NULL, 0);\r
110         }\r
111     }\r
112 \r
113 (where is_new is TRUE if this is a brand-new config file)\r