Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / d7 / 102df3c49354e10dd91de7ba3002865f7f71e1
1 Return-Path: <thomas@schwinge.name>\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 2A4EA431FD0\r
6         for <notmuch@notmuchmail.org>; Sat, 22 Oct 2011 10:09:01 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_NONE=-0.0001] 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 9fTrmI1dbc7t for <notmuch@notmuchmail.org>;\r
16         Sat, 22 Oct 2011 10:08:59 -0700 (PDT)\r
17 Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de\r
18         [80.67.31.30])\r
19         by olra.theworths.org (Postfix) with ESMTP id 2C209431FB6\r
20         for <notmuch@notmuchmail.org>; Sat, 22 Oct 2011 10:08:59 -0700 (PDT)\r
21 Received: from [87.180.87.168] (helo=stokes.schwinge.homeip.net)\r
22         by smtprelay03.ispgateway.de with esmtpa (Exim 4.68)\r
23         (envelope-from <thomas@schwinge.name>) id 1RHf43-0004iY-WC\r
24         for notmuch@notmuchmail.org; Sat, 22 Oct 2011 19:08:56 +0200\r
25 Received: (qmail 22365 invoked from network); 22 Oct 2011 17:08:51 -0000\r
26 Received: from kepler.schwinge.homeip.net (192.168.111.7)\r
27         by stokes.schwinge.homeip.net with QMQP; 22 Oct 2011 17:08:51 -0000\r
28 Received: (nullmailer pid 32381 invoked by uid 1000);\r
29         Sat, 22 Oct 2011 17:08:51 -0000\r
30 From: Thomas Schwinge <thomas@schwinge.name>\r
31 To: david@tethera.net, notmuch@notmuchmail.org\r
32 Subject: Re: [PATCH] cli: change argument parsing convention for subcommands\r
33 In-Reply-To: <1319199557-16888-1-git-send-email-david@tethera.net>\r
34 References: <1319199557-16888-1-git-send-email-david@tethera.net>\r
35 User-Agent: Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/23.3.1\r
36         (i486-pc-linux-gnu)\r
37 Date: Sat, 22 Oct 2011 19:08:50 +0200\r
38 Message-ID: <87sjmlgdi5.fsf@kepler.schwinge.homeip.net>\r
39 MIME-Version: 1.0\r
40 Content-Type: multipart/signed; boundary="=-=-=";\r
41         micalg=pgp-sha1; protocol="application/pgp-signature"\r
42 X-Df-Sender: dGhvbWFzQHNjaHdpbmdlLm5hbWU=\r
43 Cc: David Bremner <bremner@debian.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: Sat, 22 Oct 2011 17:09:01 -0000\r
57 \r
58 --=-=-=\r
59 Content-Type: text/plain; charset=utf-8\r
60 Content-Transfer-Encoding: quoted-printable\r
61 \r
62 Hi!\r
63 \r
64 On Fri, 21 Oct 2011 09:19:17 -0300, david@tethera.net wrote:\r
65 > previously we deleted the subcommand name from argv before passing to\r
66 > the subcommand. In this version, the deletion is done in the actual\r
67 > subcommands. Although this causes some duplication of code, it allows\r
68 > us to be more flexible about how we parse command line arguments in\r
69 > the subcommand, including possibly using off-the-shelf routines like\r
70 > getopt_long that expect the name of the command in argv[0].\r
71 \r
72 Ack.  Like when the C library startup passes control to the main\r
73 function, where argv[0] is the invoked executable.\r
74 \r
75 It seems that notmuch.c:notmuch_help_command also needs to be adapted?\r
76 \r
77 notmuch-setup.c:notmuch_setup_command does not need to be adapted (and\r
78 hasn't been) for it doesn't look at its argv.  (It should bail out if\r
79 there are any arguments passed, but that's for another patch.)\r
80 \r
81 \r
82 Gr=C3=BC=C3=9Fe,\r
83  Thomas\r
84 \r
85 --=-=-=\r
86 Content-Type: application/pgp-signature\r
87 \r
88 -----BEGIN PGP SIGNATURE-----\r
89 Version: GnuPG v1.4.11 (GNU/Linux)\r
90 \r
91 iQEcBAEBAgAGBQJOoviiAAoJEGe3hdm9kOii/gsH/Aoa6g23Cw85HKbVIjWSfn3W\r
92 oIgqzcImpJgHilKXV/XayUjqkWualIhUuPPFz6qq1dwuJYbZw+02vit7uXYemSai\r
93 m53ObfnOlFxsMjmm0gccnd4rqcLRdGgOJlWcxaSOqqdSCJJPy4E1sEHbNzUbZvDs\r
94 s4Z6cUnCauWxCUJEDY7cwZB4P1CUxH04gl4Fh2nmTCqobX6AFgYA/Pvn63NFtxcl\r
95 c75200SRnWFd99uDqkpaHN9ca/q/HQfWleCziaDVkz4+jnUj3+cfEW3oNVeVwvgy\r
96 WegS+h95oLbPx7gAMMYODOQj0e79pwzZNTT1D1sHbWODnmJaoidlX+x37I6vPzQ=\r
97 =rg5Z\r
98 -----END PGP SIGNATURE-----\r
99 --=-=-=--\r