Re: [PATCH] NEWS: Consolidate nmbug-status and notmuch-report sections
[notmuch-archives.git] / 6a / 84554ae6c5c1a7b498a802596de44391c996e0
1 Return-Path: <david@tethera.net>\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 arlo.cworth.org (Postfix) with ESMTP id A0F626DE1989\r
6  for <notmuch@notmuchmail.org>; Tue,  7 Apr 2015 03:22:27 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.443\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.443 tagged_above=-999 required=5 tests=[AWL=0.443]\r
12  autolearn=disabled\r
13 Received: from arlo.cworth.org ([127.0.0.1])\r
14  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
15  with ESMTP id 5yTA_CVGVWVX for <notmuch@notmuchmail.org>;\r
16  Tue,  7 Apr 2015 03:22:25 -0700 (PDT)\r
17 Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net\r
18  [87.98.215.224])\r
19  by arlo.cworth.org (Postfix) with ESMTPS id 5DA6E6DE1950\r
20  for <notmuch@notmuchmail.org>; Tue,  7 Apr 2015 03:22:25 -0700 (PDT)\r
21 Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim\r
22  4.80) (envelope-from <david@tethera.net>)\r
23  id 1YfQcq-0000QS-QS; Tue, 07 Apr 2015 10:20:56 +0000\r
24 Received: (nullmailer pid 25482 invoked by uid 1000); Tue, 07 Apr 2015\r
25  10:20:38 -0000\r
26 From: David Bremner <david@tethera.net>\r
27 To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org\r
28 Subject: Re: [Patch v2 4/4] cli: add standard option processing to config and\r
29  setup\r
30 In-Reply-To: <87vbh8qu2s.fsf@qmul.ac.uk>\r
31 References: <87d23ixnr7.fsf@maritornes.cs.unb.ca>\r
32  <1428322958-2887-1-git-send-email-david@tethera.net>\r
33  <1428322958-2887-5-git-send-email-david@tethera.net>\r
34  <87vbh8qu2s.fsf@qmul.ac.uk>\r
35 User-Agent: Notmuch/0.19+96~g703c8f9 (http://notmuchmail.org) Emacs/24.4.1\r
36  (x86_64-pc-linux-gnu)\r
37 Date: Tue, 07 Apr 2015 19:20:38 +0900\r
38 Message-ID: <87vbh8gryh.fsf@maritornes.cs.unb.ca>\r
39 MIME-Version: 1.0\r
40 Content-Type: text/plain\r
41 X-BeenThere: notmuch@notmuchmail.org\r
42 X-Mailman-Version: 2.1.18\r
43 Precedence: list\r
44 List-Id: "Use and development of the notmuch mail system."\r
45  <notmuch.notmuchmail.org>\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
47  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
49 List-Post: <mailto:notmuch@notmuchmail.org>\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
52  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
53 X-List-Received-Date: Tue, 07 Apr 2015 10:22:27 -0000\r
54 \r
55 Mark Walters <markwalters1009@gmail.com> writes:\r
56 \r
57 >\r
58 > Why "setup" here rather than argv[0] or similar? It seems inconsistent\r
59 > with the other cases.\r
60 >\r
61 > Best wishes\r
62 >\r
63 > Mark\r
64 \r
65 You're right this deserves a comment. notmuch_setup_command is actually\r
66 called with argv=NULL (hence the unused (char * argv). The argument\r
67 types are constrained by the fact we use a table of function pointers to\r
68 dispatch.\r
69 \r
70 d\r