From: David Edmondson <dme@dme.org>
To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org
Subject: Re: [PATCH v2] emacs: Report a lack of matches when calling `notmuch-show'.
Date: Wed, 10 Feb 2016 20:14:49 +0000 [thread overview]
Message-ID: <m237t02uh2.fsf@dme.org> (raw)
In-Reply-To: <m260xw2vim.fsf@dme.org>
On Wed, Feb 10 2016, David Edmondson wrote:
>> Two minor things, one tiny nit below; and I wonder whether just having
>> the buffer say "No search results" (or something similar) and leave
>> the user to kill it would be nicer than dinging (and more in line with
>> the way search and tree behave).
>>
>> [In some sense I think this way is right and search and tree are wrong,
>> but that is probably difficult to get round as search and tree run
>> asynchronously.]
>
> What if we did "notmuch count $query" first in the search and tree case,
> and did the "(ding) (message ...)" thing if the count returned 0? (Just
> wondering about whether having everything behave that way would be
> possible and acceptable.)
This is pretty easy for `notmuch-search', and "notmuch count $query"
seems very quick. The changes are a bit more involved for `notmuch-tree'.
next prev parent reply other threads:[~2016-02-10 20:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-10 14:01 [PATCH v2] (notmuch-show "id:doesnotexist") should not throw an error David Edmondson
2016-02-10 14:01 ` [PATCH v2] emacs: Report a lack of matches when calling `notmuch-show' David Edmondson
2016-02-10 18:50 ` Mark Walters
2016-02-10 19:52 ` David Edmondson
2016-02-10 20:14 ` David Edmondson [this message]
2016-02-10 21:05 ` Mark Walters
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m237t02uh2.fsf@dme.org \
--to=dme@dme.org \
--cc=markwalters1009@gmail.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).