[PATCH v2] (notmuch-show "id:doesnotexist") should not throw an error.

David Edmondson dme at dme.org
Wed Feb 10 06:01:17 PST 2016


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

This is a followup to id:"874nw0ltwz.fsf at praet.org" and
id:"cuntx91fwaa.fsf at 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'.


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



More information about the notmuch mailing list