Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 05 / 3fd3e3352be3f732033d7708c1685f3fce17d6
1 Return-Path: <eg@gaute.vetsj.com>\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 2051A431FC7\r
6         for <notmuch@notmuchmail.org>; Sun,  7 Dec 2014 05:23:58 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 y+tYP8VUrHpP for <notmuch@notmuchmail.org>;\r
16         Sun,  7 Dec 2014 05:23:54 -0800 (PST)\r
17 Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com\r
18  [74.125.82.53])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
19  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
20  D62B9431FC0    for <notmuch@notmuchmail.org>; Sun,  7 Dec 2014 05:23:53 -0800\r
21  (PST)\r
22 Received: by mail-wg0-f53.google.com with SMTP id l18so4314593wgh.12\r
23         for <notmuch@notmuchmail.org>; Sun, 07 Dec 2014 05:23:52 -0800 (PST)\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25         d=1e100.net; s=20130820;\r
26         h=x-gm-message-state:date:from:subject:to:references:in-reply-to\r
27         :user-agent:message-id:mime-version:content-type\r
28         :content-transfer-encoding;\r
29         bh=B00qyWF0yqa0b4H6F/DfrvmkTcL0VZLYBOzVUrOxzTw=;\r
30         b=AKzG1emUxThrrXvkj9+c5Me4jA9rr59wfSlN0QgazPxnGS6/WQmxzT8Oc8w0j/dLPf\r
31         26gEkVrotqfaU62NOX6i8a94PR8afeJW/pWGRibcaRSL41X2PUYA6QRaeRMdNM9BxjV5\r
32         JNI0E819SbedIL7V5Jy4eDU0XJxQTiufw1ABqXsJX5aAsnMh6cL/gP1w0NGipy2X6gLn\r
33         ehcd2R4IuSNVESmLoI4ulcNCKi3Wp1WltWIFfnbOKsMdorstgb+3sC5WrQY4tbnf2M3v\r
34         /yR/7lgGGlP3DkBH3lMg7UPArDHdU68TKxOxHLkbFXYlPE1qenE9SFU6VQuF4GNA6bms\r
35         lqiw==\r
36 X-Gm-Message-State:\r
37  ALoCoQmEXCGkZCgf4TuLB1IsEd6rl2LjZx6YMMD98Da7XXCp6PlTGCQ7HsfjrjdNhz/XxEV5i5zn\r
38 X-Received: by 10.180.98.138 with SMTP id ei10mr17583394wib.32.1417958632562; \r
39         Sun, 07 Dec 2014 05:23:52 -0800 (PST)\r
40 Received: from localhost (216.89-20-249.enivest.net. [89.20.249.216])\r
41         by mx.google.com with ESMTPSA id\r
42         xt9sm20062035wjc.42.2014.12.07.05.23.51 for <multiple recipients>\r
43         (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
44         Sun, 07 Dec 2014 05:23:51 -0800 (PST)\r
45 Date: Sun, 07 Dec 2014 13:24:32 +0000\r
46 From: Gaute Hope <eg@gaute.vetsj.com>\r
47 Subject: Re: notmuch_query_add_tag_excluded and notmuch_query_search_threads\r
48 To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
49 References: <1417905319-astroid-0-i86er7iwg5-10728@strange>\r
50         <87388rfzhw.fsf@maritornes.cs.unb.ca>\r
51 In-Reply-To: <87388rfzhw.fsf@maritornes.cs.unb.ca>\r
52 User-Agent: astroid/vv0.1-10-g39dd8180 (https://github.com/gauteh/astroid)\r
53 Message-Id: <1417958519-astroid-0-ydniq6pte2-8575@strange>\r
54 MIME-Version: 1.0\r
55 Content-Type: text/plain; charset=utf-8; format=flowed\r
56 Content-Transfer-Encoding: quoted-printable\r
57 X-BeenThere: notmuch@notmuchmail.org\r
58 X-Mailman-Version: 2.1.13\r
59 Precedence: list\r
60 List-Id: "Use and development of the notmuch mail system."\r
61         <notmuch.notmuchmail.org>\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
63         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
65 List-Post: <mailto:notmuch@notmuchmail.org>\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
68         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
69 X-List-Received-Date: Sun, 07 Dec 2014 13:23:58 -0000\r
70 \r
71 Excerpts from David Bremner's message of December 7, 2014 12:52:\r
72 > Gaute Hope <eg@gaute.vetsj.com> writes:\r
73 >=20\r
74 >>\r
75 >> I would expect to have the thread matching, I get nothing however. It\r
76 >> does show up in: $ notmuch search tag:muted (muted added to excluded\r
77 >> tags), but does notmuch search operate with\r
78 >> notmuch_query_search_messages?=20\r
79 >>\r
80 >=20\r
81 > I expanded your sample into a full program, and it seems to work ok for\r
82 > me. Not sure what the difference might be.\r
83 >=20\r
84 > [...]\r
85 >   query =3D notmuch_query_create (nm_db, "tag:muted");\r
86 >   notmuch_query_add_tag_exclude (query, "muted");\r
87 >   notmuch_query_set_omit_excluded (query, NOTMUCH_EXCLUDE_TRUE);\r
88 \r
89   printf("%d\n", notmuch_query_count_threads (query));\r
90 \r
91 >=20\r
92 >   for (threads =3D notmuch_query_search_threads (query);\r
93 >        notmuch_threads_valid (threads);\r
94 >        notmuch_threads_move_to_next (threads))\r
95 >=20\r
96 > [...]\r
97 \r
98 Thanks,\r
99 \r
100 I also did an notmuch_query_count_threads (query) as illustrated\r
101 above, this returns 0 and also results in the erroneous behavior below. You=\r
102 r code works as expected without the _count_threads() call.\r
103 \r
104 regards, gaute\r
105 \r
106 =\r