1 Return-Path: <dme@dme.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 arlo.cworth.org (Postfix) with ESMTP id 2F3CD6DE0BF6
\r
6 for <notmuch@notmuchmail.org>; Wed, 10 Feb 2016 12:14:56 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-0.118 tagged_above=-999 required=5
\r
12 tests=[AWL=-0.051, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
\r
13 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01,
\r
14 RCVD_IN_MSPIKE_WL=-0.01, SPF_NEUTRAL=0.652, UNPARSEABLE_RELAY=0.001]
\r
16 Received: from arlo.cworth.org ([127.0.0.1])
\r
17 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
18 with ESMTP id WMkULtG2O0LZ for <notmuch@notmuchmail.org>;
\r
19 Wed, 10 Feb 2016 12:14:54 -0800 (PST)
\r
20 Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com
\r
21 [74.125.82.65]) by arlo.cworth.org (Postfix) with ESMTPS id 359076DE0B36 for
\r
22 <notmuch@notmuchmail.org>; Wed, 10 Feb 2016 12:14:54 -0800 (PST)
\r
23 Received: by mail-wm0-f65.google.com with SMTP id p63so6450329wmp.1
\r
24 for <notmuch@notmuchmail.org>; Wed, 10 Feb 2016 12:14:54 -0800 (PST)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
26 d=dme-org.20150623.gappssmtp.com; s=20150623;
\r
27 h=to:subject:in-reply-to:references:from:date:message-id:mime-version
\r
28 :content-type; bh=oSAg2zDvQYdc0/j9hfRMBiw2mbREn6StZa+IliT3gOA=;
\r
29 b=I2gBfEFRt9B8saWaRhXgam6SaFLAbFbwGo0x9oPjybla4eP70bf/ou1lIFqlqu9vt/
\r
30 KUqkrZPwmJHNJ9/9Ch9OLqFMR4P+QU6A/MvZRFpTr55FIeXwhxW2WUdth5DUcZt8siNc
\r
31 3NQwSCulS0lfXDH0ll0OIrLqTPj33saMiEuEZmXu29BDGKFAuvaULIJ/sy+VgYfkpVpq
\r
32 ftXbCrqKfjemZD4f0O1Z2WmQV97aH2sIanA9rMLD+uZ+S0WnhPMESyzLPFZGrw+Q2bxt
\r
33 uplT6E2rZpPP4N0qYDdaULenoHnnNPIsIXF0m2Eo1l1UQL6nA+AbcMbjuMHtM8OW+c3E
\r
35 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
36 d=1e100.net; s=20130820;
\r
37 h=x-gm-message-state:to:subject:in-reply-to:references:from:date
\r
38 :message-id:mime-version:content-type;
\r
39 bh=oSAg2zDvQYdc0/j9hfRMBiw2mbREn6StZa+IliT3gOA=;
\r
40 b=CNjcIEi7nZFDKF8BV2UDznOw963nbMrobTuObhPq0OalHfrog9uBIl5XyOyN8uaWFm
\r
41 LWHoL2iElfj+Y0nBFsdBQzM9DmOhDJNdYP+L6lf+KPrG37uhq4uTNNbe30DkIbpNDpgD
\r
42 TcRk9EAjeTvXI5kFzVMWvALHT7k/s7ZJIziw9gj32R/6+dJxDI1JQDtObcj7N0TNnUb/
\r
43 51PnGzdL/vQLLlfaj/cEn6D0BWJhcgJ5vCNLP1DdA2EukPJBCGjcAE5HAhMARCAVs13w
\r
44 n8/7QnvMUON2RDPV6WA/kPXh0gFFthCZ51S74uIm7fPJID/+1Qqdfhq3XpwS8VJj/Ggv
\r
47 AG10YOTjYpous8V/gL6KcKVj4u5bzOeWFrbN6b6NIxSykYMJxs4/JyEcRm8WFaXcENy2fQ==
\r
48 X-Received: by 10.194.104.38 with SMTP id gb6mr47145225wjb.22.1455135292827;
\r
49 Wed, 10 Feb 2016 12:14:52 -0800 (PST)
\r
50 Received: from disaster-area.hh.sledj.net
\r
51 ([2a01:348:1a2:1:ea39:35ff:fe2c:a227])
\r
52 by smtp.gmail.com with ESMTPSA id lc3sm4445861wjb.7.2016.02.10.12.14.50
\r
53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
\r
54 Wed, 10 Feb 2016 12:14:50 -0800 (PST)
\r
55 Received: from localhost (disaster-area.hh.sledj.net [local])
\r
56 by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id d3a2a010;
\r
57 Wed, 10 Feb 2016 20:14:49 +0000 (UTC)
\r
58 To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org
\r
59 Subject: Re: [PATCH v2] emacs: Report a lack of matches when calling
\r
61 In-Reply-To: <m260xw2vim.fsf@dme.org>
\r
62 References: <1455112878-23497-1-git-send-email-dme@dme.org>
\r
63 <1455112878-23497-2-git-send-email-dme@dme.org> <87oabo5rix.fsf@qmul.ac.uk>
\r
64 <m260xw2vim.fsf@dme.org>
\r
65 From: David Edmondson <dme@dme.org>
\r
66 Date: Wed, 10 Feb 2016 20:14:49 +0000
\r
67 Message-ID: <m237t02uh2.fsf@dme.org>
\r
69 Content-Type: text/plain
\r
70 X-BeenThere: notmuch@notmuchmail.org
\r
71 X-Mailman-Version: 2.1.20
\r
73 List-Id: "Use and development of the notmuch mail system."
\r
74 <notmuch.notmuchmail.org>
\r
75 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,
\r
76 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
77 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
78 List-Post: <mailto:notmuch@notmuchmail.org>
\r
79 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
80 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,
\r
81 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
82 X-List-Received-Date: Wed, 10 Feb 2016 20:14:56 -0000
\r
84 On Wed, Feb 10 2016, David Edmondson wrote:
\r
85 >> Two minor things, one tiny nit below; and I wonder whether just having
\r
86 >> the buffer say "No search results" (or something similar) and leave
\r
87 >> the user to kill it would be nicer than dinging (and more in line with
\r
88 >> the way search and tree behave).
\r
90 >> [In some sense I think this way is right and search and tree are wrong,
\r
91 >> but that is probably difficult to get round as search and tree run
\r
94 > What if we did "notmuch count $query" first in the search and tree case,
\r
95 > and did the "(ding) (message ...)" thing if the count returned 0? (Just
\r
96 > wondering about whether having everything behave that way would be
\r
97 > possible and acceptable.)
\r
99 This is pretty easy for `notmuch-search', and "notmuch count $query"
\r
100 seems very quick. The changes are a bit more involved for `notmuch-tree'.
\r