[PATCH v3] (notmuch-show "id:doesnotexist") should not throw an error.
David Edmondson
dme at dme.org
Thu Feb 11 00:33:26 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'.
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
More information about the notmuch
mailing list