unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH v3] (notmuch-show "id:doesnotexist") should not throw an error.
@ 2016-02-11  8:33 David Edmondson
  2016-02-11  8:33 ` [PATCH v3] emacs: Report a lack of matches when calling `notmuch-show' David Edmondson
  0 siblings, 1 reply; 5+ messages in thread
From: David Edmondson @ 2016-02-11  8:33 UTC (permalink / raw)
  To: notmuch


(notmuch-show "id:doesnotexist") should not throw an error.

This is a followup to id:"874nw0ltwz.fsf@praet.org" and
id:"cuntx91fwaa.fsf@hotblack-desiato.hh.sledj.net".

The originally proposed change (to have id: links call `notmuch-show'
rather than `notmuch-search') was already made, but the difficulties
with links that generated no results was not addressed. This patch
aims to do that.

v2:
- Re-worked to `ding' rather than throwing an error.
- Re-jig the relationship between `notmuch-show',
  `notmuch-show-refresh-view' and `notmuch-show--build-buffer'.
- Various buffer local variables no longer need to be `permanent-local'.

v3:
- Comment re-wording.


David Edmondson (1):
  emacs: Report a lack of matches when calling `notmuch-show'.

 emacs/notmuch-show.el | 144 +++++++++++++++++++++++++++++---------------------
 emacs/notmuch.el      |   6 ++-
 2 files changed, 89 insertions(+), 61 deletions(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-02-20 13:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-11  8:33 [PATCH v3] (notmuch-show "id:doesnotexist") should not throw an error David Edmondson
2016-02-11  8:33 ` [PATCH v3] emacs: Report a lack of matches when calling `notmuch-show' David Edmondson
2016-02-12 17:14   ` Tomi Ollila
2016-02-14 21:29   ` Mark Walters
2016-02-20 13:23   ` David Bremner

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).