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 E89796DE173B
\r
6 for <notmuch@notmuchmail.org>; Fri, 10 Apr 2015 17:03:20 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=0.375 tagged_above=-999 required=5 tests=[AWL=0.375]
\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 1ir_tc0wu8IY for <notmuch@notmuchmail.org>;
\r
16 Fri, 10 Apr 2015 17:03:18 -0700 (PDT)
\r
17 Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net
\r
19 by arlo.cworth.org (Postfix) with ESMTPS id A9E1B6DE15E7
\r
20 for <notmuch@notmuchmail.org>; Fri, 10 Apr 2015 17:03:18 -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 1YgisF-0006oY-HO; Sat, 11 Apr 2015 00:02:11 +0000
\r
24 Received: (nullmailer pid 21856 invoked by uid 1000); Sat, 11 Apr 2015
\r
26 From: David Bremner <david@tethera.net>
\r
27 To: guyzmo <guyzmo+notmuch@m0g.net>
\r
28 Subject: Re: argument parsing refactoring round3
\r
29 In-Reply-To: <87oamy41nv.fsf@maritornes.cs.unb.ca>
\r
30 References: <871tjws8w8.fsf@qmul.ac.uk>
\r
31 <1428435042-16503-1-git-send-email-david@tethera.net>
\r
32 <20150408143147.GD5218@vilya.online.net>
\r
33 <87oamy41nv.fsf@maritornes.cs.unb.ca>
\r
34 User-Agent: Notmuch/0.19+96~g703c8f9 (http://notmuchmail.org) Emacs/24.4.1
\r
35 (x86_64-pc-linux-gnu)
\r
36 Date: Sat, 11 Apr 2015 09:01:54 +0900
\r
37 Message-ID: <87mw2fwn0t.fsf@maritornes.cs.unb.ca>
\r
39 Content-Type: text/plain
\r
40 Cc: notmuch@notmuchmail.org
\r
41 X-BeenThere: notmuch@notmuchmail.org
\r
42 X-Mailman-Version: 2.1.18
\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: Sat, 11 Apr 2015 00:03:21 -0000
\r
55 David Bremner <david@tethera.net> writes:
\r
57 > guyzmo <guyzmo+notmuch@m0g.net> writes:
\r
59 >> I was wondering whether you had considered actually using `docopt` to
\r
60 >> generate the CLI parser from the output.
\r
62 > As it stands, I'm not particularly annoyed with the notmuch argument
\r
63 > parsing code, so I mainly see negative issues about your proposal.
\r
65 On the other hand, I do find the config handling code annoying, so if
\r
66 people have some ideas about that, I am interested to hear them. There
\r
67 is now almost 1000 lines of C in notmuch-config.c, and despite some
\r
68 efforts to streamline things, there is a lot of copying and pasting
\r
69 every time someone wants to add a configuration option.
\r