Re: [RFC PATCH 2/3] cli: add support for limiting the number of search results
[notmuch-archives.git] / a1 / ad2ff6240b8023f7b82a49de751fecaaa50cb1
1 Return-Path: <daniel@schoepe.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 801ED431FB6\r
6         for <notmuch@notmuchmail.org>; Sat, 29 Oct 2011 13:15:55 -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.79\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.79 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         RCVD_IN_DNSWL_LOW=-0.7, T_MIME_NO_TEXT=0.01] 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 cEu1c5Bydv5b for <notmuch@notmuchmail.org>;\r
17         Sat, 29 Oct 2011 13:15:55 -0700 (PDT)\r
18 Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com\r
19         [209.85.161.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id B6F99429E25\r
22         for <notmuch@notmuchmail.org>; Sat, 29 Oct 2011 13:15:54 -0700 (PDT)\r
23 Received: by faai28 with SMTP id i28so5098910faa.26\r
24         for <notmuch@notmuchmail.org>; Sat, 29 Oct 2011 13:15:53 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=schoepe.org; s=google;\r
26         h=from:to:cc:subject:in-reply-to:references:user-agent:date\r
27         :message-id:mime-version:content-type;\r
28         bh=jtdSYasflf1QMgZI+ikwpVeajJMrqtcGi7TRI/a4y6E=;\r
29         b=gut41iqxeoVzmmVas9H89wtK/89AmP80BxF8wC2uUoE7q6DJuLcooKATLARPVO9gWt\r
30         YqXWfNJ6wqwJLTIHLZfMHBxU7s7Sc1VCQmydoXvH4LeIT4Xvm4JPkyRgQv0E0nh1Ssh0\r
31         umGZIVpIbWx+FbPFUvHalntfzZfA2kFFwuK5k=\r
32 Received: by 10.223.76.135 with SMTP id c7mr16100230fak.14.1319919352245;\r
33         Sat, 29 Oct 2011 13:15:52 -0700 (PDT)\r
34 Received: from localhost (dslb-178-004-066-018.pools.arcor-ip.net.\r
35         [178.4.66.18])\r
36         by mx.google.com with ESMTPS id n25sm26383726fah.15.2011.10.29.13.15.50\r
37         (version=TLSv1/SSLv3 cipher=OTHER);\r
38         Sat, 29 Oct 2011 13:15:51 -0700 (PDT)\r
39 From: Daniel Schoepe <daniel@schoepe.org>\r
40 To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org\r
41 Subject: Re: [RFC PATCH 2/3] cli: add support for limiting the number of\r
42         search results\r
43 In-Reply-To: <878vo3r26z.fsf@nikula.org>\r
44 References: <cover.1319833617.git.jani@nikula.org>\r
45         <f16c7983a8a639ea2ed1178a3190afb9620153e2.1319833617.git.jani@nikula.org>\r
46         <87mxcjk8mt.fsf@gilead.invalid> <878vo3r26z.fsf@nikula.org>\r
47 User-Agent: Notmuch/0.9+57~gead43c9 (http://notmuchmail.org) Emacs/23.3.1\r
48         (x86_64-pc-linux-gnu)\r
49 Date: Sat, 29 Oct 2011 22:15:43 +0200\r
50 Message-ID: <87hb2rk100.fsf@gilead.invalid>\r
51 MIME-Version: 1.0\r
52 Content-Type: multipart/signed; boundary="=-=-=";\r
53         micalg=pgp-sha1; protocol="application/pgp-signature"\r
54 Cc: amdragon@mit.edu\r
55 X-BeenThere: notmuch@notmuchmail.org\r
56 X-Mailman-Version: 2.1.13\r
57 Precedence: list\r
58 List-Id: "Use and development of the notmuch mail system."\r
59         <notmuch.notmuchmail.org>\r
60 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
62 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
63 List-Post: <mailto:notmuch@notmuchmail.org>\r
64 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
65 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
66         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
67 X-List-Received-Date: Sat, 29 Oct 2011 20:15:55 -0000\r
68 \r
69 --=-=-=\r
70 \r
71 On Sat, 29 Oct 2011 23:08:04 +0300, Jani Nikula <jani@nikula.org> wrote:\r
72 > strtoul() won't touch the data pointed to by p (it only modifies p), so\r
73 > in that sense it could be const, but you're right in that it really\r
74 > should be 'char *', just for a more complicated reason. Thanks for\r
75 > making me look it up: http://c-faq.com/ansi/constmismatch.html (not the\r
76 > best of explanations, perhaps, but gives an idea why the 2nd parameter\r
77 > of strtoul() can't be 'const char **').\r
78 \r
79 Oh, right, thanks for the clarification. As I often do in situations\r
80 such as this, I confused "const char *" and "char const *".\r
81 \r
82 --=-=-=\r
83 Content-Type: application/pgp-signature\r
84 \r
85 -----BEGIN PGP SIGNATURE-----\r
86 Version: GnuPG v1.4.11 (GNU/Linux)\r
87 \r
88 iQIcBAEBAgAGBQJOrF7vAAoJEIaTAtce+Z+JJG4P/2FKOZJlcF0cLbwkk7yXiIFi\r
89 gLnnmItAuZa+UEWQ0LeY1XTHRqEy39l4CsZSbA4EB0l0mOrjiM3XxW8ezX+rTgs4\r
90 7i9AuJxoFVlQOTJPuAT+t3CyQhspL9LBrJ69yAoP4R4L51FOa4IqBcwhBpT0rNYC\r
91 MwBBuPwL/BL+ZnQCnGplf6SyjCdTPLSYHaVLYtvQDCKNqRFX4LUI+hASxC1IILJq\r
92 v9knKmuk1qnjfp8EsVh5j905+8K2o1OnVcpW64gxfNVPbrVxU2xuv3eUQsto49iA\r
93 fDXsWH0uZckqwtYg1swVOZbGL8Yo5khfJoGnQ1Wfnt+3X0Igq+jnrC27nqA3Iqec\r
94 MPBi9Y79aGWZ8684yAXLV6JoYp/dIsvWtto/GhQaSJh5TuznHgLfm9xsSCvkTkUS\r
95 2ZHuAHfPWpamz8Lt/D56JFf8cJCMejN1bjOsDT//8ceduWShgnw8Bn3Y+rZHdzFD\r
96 9Aab3Fl8iMbUj82xPTyXpCSjgWJd8Vg++z+inRKoz9lW+fxmZvseFvUu1obeTXp1\r
97 54dp/xEdnyKDX3XD3C5FYvPq5J6Lu/oPf2bsF94nnssjDfTBrjYVi4nvHZowfyWs\r
98 LSQkJkISUqVFVQr98+idTlxeWODFfanZe7KUUKUcDa25jTge0kjTjsr0hozkItWq\r
99 a4sqdfyGcjBMxWoaJlil\r
100 =5WU/\r
101 -----END PGP SIGNATURE-----\r
102 --=-=-=--\r