Re: Error with contrib/notmuch-pick
[notmuch-archives.git] / 67 / 56f0f20c3a98be0cb227d5aa600579e088aac2
1 Return-Path: <jake@mgap.ru>\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 9C538431FB6\r
6         for <notmuch@notmuchmail.org>; Thu, 26 Apr 2012 09:05:13 -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: 1.274\r
10 X-Spam-Level: *\r
11 X-Spam-Status: No, score=1.274 tagged_above=-999 required=5\r
12         tests=[RDNS_NONE=1.274] 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 gsXYsV9i7Wt4 for <notmuch@notmuchmail.org>;\r
16         Thu, 26 Apr 2012 09:05:13 -0700 (PDT)\r
17 X-Greylist: delayed 551 seconds by postgrey-1.32 at olra;\r
18         Thu, 26 Apr 2012 09:05:12 PDT\r
19 Received: from mgap.localdomain (unknown [46.4.49.10])\r
20         by olra.theworths.org (Postfix) with ESMTP id F1398431FAE\r
21         for <notmuch@notmuchmail.org>; Thu, 26 Apr 2012 09:05:12 -0700 (PDT)\r
22 Received: from localhost (localhost [127.0.0.1])\r
23         by mgap.localdomain (Postfix) with ESMTP id 55C658464E8\r
24         for <notmuch@notmuchmail.org>; Thu, 26 Apr 2012 17:56:00 +0200 (CEST)\r
25 X-Virus-Scanned: Debian amavisd-new at mail.mgap.co.uk\r
26 Received: from mgap.localdomain ([127.0.0.1])\r
27         by localhost (mail.mgap.co.uk [127.0.0.1]) (amavisd-new, port 10024)\r
28         with ESMTP id OA-TQDrqBIXE for <notmuch@notmuchmail.org>;\r
29         Thu, 26 Apr 2012 17:56:00 +0200 (CEST)\r
30 Received: from shooPC3 (cpc4-stev6-2-0-cust409.9-2.cable.virginmedia.com\r
31         [213.107.185.154])\r
32         by mgap.localdomain (Postfix) with ESMTPA id 051A08464E7\r
33         for <notmuch@notmuchmail.org>; Thu, 26 Apr 2012 17:55:59 +0200 (CEST)\r
34 From: "jake" <jake@mgap.ru>\r
35 To: <notmuch@notmuchmail.org>\r
36 Subject: Possible bug with notmuch search & --limit --offset\r
37 Date: Thu, 26 Apr 2012 16:56:06 +0100\r
38 Message-ID: <000301cd23c5$174d6510$45e82f30$@mgap.ru>\r
39 MIME-Version: 1.0\r
40 Content-Type: text/plain;\r
41         charset="us-ascii"\r
42 Content-Transfer-Encoding: 7bit\r
43 X-Mailer: Microsoft Outlook 14.0\r
44 Thread-Index: Ac0jwsXQNJ5dU9G5QnKHlJCbu7LVAQ==\r
45 Content-Language: en-gb\r
46 X-BeenThere: notmuch@notmuchmail.org\r
47 X-Mailman-Version: 2.1.13\r
48 Precedence: list\r
49 List-Id: "Use and development of the notmuch mail system."\r
50         <notmuch.notmuchmail.org>\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
54 List-Post: <mailto:notmuch@notmuchmail.org>\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
58 X-List-Received-Date: Thu, 26 Apr 2012 16:05:13 -0000\r
59 \r
60 Hello, \r
61 \r
62 I'm finding that when I use the --limit option with the output=files and\r
63 offset=N that the returned list of files is of variable length.\r
64 \r
65 For instance when:\r
66 \r
67 notmuch search --output=files --offset=6 --limit=2 steve\r
68 \r
69 it returns\r
70 \r
71 /var/spool/mail/virtual/archive/sl/.Sent/cur/1335243985.M765351P23366V000000\r
72 0000000801I0000000000820E9C_5.archive,S=275069:2,S\r
73 /var/spool/mail/virtual/archive/sl/.Sent/cur/1335243986.M749883P23366V000000\r
74 0000000801I0000000000820E9D_6.archive,S=275069:2,S\r
75 /var/spool/mail/virtual/archive/sl/.Sent/cur/1335243987.M926961P23366V000000\r
76 0000000801I0000000000820EA0_9.archive,S=111888:2,S\r
77 /var/spool/mail/virtual/archive/sl/.Sent/cur/1335243988.M718230P23366V000000\r
78 0000000801I0000000000820EA1_10.archive,S=111888:2,S\r
79 \r
80 Which is two more results than required. If I choose different offset values\r
81 then the number of returned results will vary too. \r
82 \r
83 If I issue:\r
84 \r
85 notmuch search --offset=6 --limit=2 steve\r
86 \r
87 It returns two results as expected, if I change the output type to anything\r
88 other than files (summary/threads/messages/tags) then the correctly limited\r
89 list is returned. So it only seems to happen with the files output type.\r
90 Both json and text format types exhibit the same behaviour.\r
91 \r
92 Am I using this correctly ? I expect only two results to be returned but\r
93 being new to notmuch gives me doubts that what I am doing may be incorrect.\r
94 \r
95 My apologies if the mailing list is not the place for this sort of report,\r
96 please direct me to a more appropriate place.\r
97 \r
98 Many Thanks\r
99 Jake\r
100 \r
101 \r
102 \r