1 Return-Path: <sojka@merica.cz>
\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 13897431FAF
\r
6 for <notmuch@notmuchmail.org>; Wed, 5 Nov 2014 04:24:11 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_MED=-2.3] 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 7FiyazWQSo4D for <notmuch@notmuchmail.org>;
\r
16 Wed, 5 Nov 2014 04:24:03 -0800 (PST)
\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 92586431FAE
\r
19 for <notmuch@notmuchmail.org>; Wed, 5 Nov 2014 04:24:03 -0800 (PST)
\r
20 Received: from localhost (unknown [192.168.200.7])
\r
21 by max.feld.cvut.cz (Postfix) with ESMTP id 449FB5CD26F;
\r
22 Wed, 5 Nov 2014 13:23:59 +0100 (CET)
\r
23 X-Virus-Scanned: IMAP STYX AMAVIS
\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])
\r
25 by localhost (styx.feld.cvut.cz [192.168.200.7]) (amavisd-new,
\r
27 with ESMTP id d01Jy_ID88Tj; Wed, 5 Nov 2014 13:23:54 +0100 (CET)
\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])
\r
29 by max.feld.cvut.cz (Postfix) with ESMTP id 196515CD26A;
\r
30 Wed, 5 Nov 2014 13:23:53 +0100 (CET)
\r
31 Received: from wsh by steelpick.2x.cz with local (Exim 4.84)
\r
32 (envelope-from <sojka@merica.cz>)
\r
33 id 1Xlzcu-000669-T2; Wed, 05 Nov 2014 13:23:52 +0100
\r
34 From: Michal Sojka <sojkam1@fel.cvut.cz>
\r
35 To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org
\r
36 Subject: Re: [PATCH v2 06/10] cli: Introduce "notmuch address" command
\r
37 In-Reply-To: <87d291ao34.fsf@qmul.ac.uk>
\r
38 References: <1415058622-21162-1-git-send-email-sojkam1@fel.cvut.cz>
\r
39 <1415058622-21162-7-git-send-email-sojkam1@fel.cvut.cz>
\r
40 <87zjc72v79.fsf@qmul.ac.uk> <87y4rqliid.fsf@steelpick.2x.cz>
\r
41 <87d291ao34.fsf@qmul.ac.uk>
\r
42 User-Agent: Notmuch/0.18.2+178~g6e9e8bb (http://notmuchmail.org) Emacs/24.3.1
\r
43 (x86_64-pc-linux-gnu)
\r
44 Date: Wed, 05 Nov 2014 13:23:52 +0100
\r
45 Message-ID: <87y4rpkf8n.fsf@steelpick.2x.cz>
\r
47 Content-Type: text/plain; charset=utf-8
\r
48 Content-Transfer-Encoding: quoted-printable
\r
49 X-BeenThere: notmuch@notmuchmail.org
\r
50 X-Mailman-Version: 2.1.13
\r
52 List-Id: "Use and development of the notmuch mail system."
\r
53 <notmuch.notmuchmail.org>
\r
54 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
56 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
57 List-Post: <mailto:notmuch@notmuchmail.org>
\r
58 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
59 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
60 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
61 X-List-Received-Date: Wed, 05 Nov 2014 12:24:11 -0000
\r
63 On Wed, Nov 05 2014, Mark Walters wrote:
\r
64 > On Tue, 04 Nov 2014, Michal Sojka <sojkam1@fel.cvut.cz> wrote:
\r
65 >> On Tue, Nov 04 2014, Mark Walters wrote:
\r
66 >>> On Mon, 03 Nov 2014, Michal Sojka <sojkam1@fel.cvut.cz> wrote:
\r
67 >>>> This moves address-related functionality from search command to the
\r
68 >>>> new address command. The implementation shares almost all code and
\r
69 >>>> some command line options.
\r
71 >>>> Options --offset and --limit were intentionally not included in the
\r
72 >>>> address command, because they refer to messages numbers, which users
\r
73 >>>> do not see in the output. This could confuse users because, for
\r
74 >>>> example, they could see more addresses in the output that what was
\r
75 >>>> specified with --limit. This functionality can be correctly
\r
76 >>>> reimplemented for addresses later.
\r
78 >>> I am not sure about this: we already have this anomaly for output=3Dfil=
\r
80 >>> say. Also I can imagine calling notmuch address --limit=3D1000 ... to g=
\r
82 >>> a bunch of recent addresses quickly and I really am wanting to look at
\r
83 >>> 1000 messages, not collect 1000 addresses.
\r
85 >> I think that one of the reasons for having the new "address" command is
\r
86 >> to have cleaner user interface. And including "anomalies" doesn't sound
\r
87 >> like a way to achieve this. I think that now you can use "date:" query
\r
88 >> to limit the search.
\r
90 >> I volunteer to implement "address --limit" properly after 0.19. This
\r
93 > I think this depends on how you view limit: is it to limit the output
\r
94 > (roughly to run "head" on the output), or is to bound the amount of work
\r
95 > notmuch has to do (eg to make sure you don't get a long delay). Your
\r
96 > suggestion is definitely the former, whereas I am more worried about the
\r
97 > latter: limit in your definition could take an essentially unbounded
\r
100 Why? If I understand you correctly, you think of limit in terms of
\r
101 messages. There is 1:N mapping between messages and addresses, where
\r
102 N=C2=A0>=3D=C2=A01. If I limit the number of printed addresses, I limit the=
\r
104 of messages as well. Only if N is zero (which probably can be the case
\r
105 with Bcc and --output=3Drecipients) then it can result in unbounded work
\r
106 (provided you have infinite number of Bcc only messages in your
\r
107 database=C2=A0:-)).
\r
109 Do I miss something?
\r