[PATCH v4 2/3] emacs: `notmuch-show-buttonize-links' only `notmuch-show's a message if it exists
David Bremner
david at tethera.net
Sun Mar 5 03:52:30 PST 2017
David Edmondson <dme at dme.org> writes:
> [ Trimmed to/cc list. ]
>
> On Sun, Jan 22 2012, Pieter Praet wrote:
>> * emacs/notmuch-show.el (notmuch-show-found-target-p): new predicate function
>> that uses notmuch(1) 'count' to see if a query turns up any results.
>>
>> * emacs/notmuch-show.el (notmuch-show-if-found): new function that only shows
>> a message/thread if present in the database and otherwise returns an error.
>>
>> * emacs/notmuch-show.el (notmuch-show-buttonize-links): some deduplication,
>> and use new function `notmuch-show-if-found' instead of `notmuch-show'
>> to prevent showing a blank screen for Message-Id's which aren't present
>> in the database.
>
> Mark provided some feedback about this (relating to exclusions), but
> more generally there is a problem that `M-x notmuch-show id:doesntexist'
> will result in an error ("notmuch-show-message-top: Beginning of
> buffer"). That seems like a bug that should be fixed.
This also now seems fixed in 0.23.7-131-g85df8b39
d
More information about the notmuch
mailing list