[PATCH v4 2/3] emacs: `notmuch-show-buttonize-links' only `notmuch-show's a message if it exists

Pieter Praet pieter at praet.org
Tue Jan 24 16:41:47 PST 2012


On Sun, 22 Jan 2012 11:10:02 +0000, Mark Walters <markwalters1009 at gmail.com> wrote:
> 
> > * 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.
> 
> I like this in principle but it interacts awkwardly with the automatic tag
> exclusion. If the id:<message-id> matches a message with an excluded tag
> then notmuch-show-if-found will not let you view it, but if you typed the
> same search in a search field it would show you the message. 
> 
> Note notmuch show currently does not currently respect excluded tags (see
> id:"871uqvgrnm.fsf at qmul.ac.uk"), and this is not completely trivial to
> fix since it is not clear quite what its behaviour should be in some
> corner cases.
> 
> Perhaps we could have an option like "--include-all" to notmuch
> search/count to tell it not to apply the exclusions. On the other hand
> that might also be useful as something the user can type in a search box
> so a special search term (eg include:all) might be better.
> 

Hmm, interesting...

Sorry I haven't taken the time to have a look at your patch series yet.
(I probably wouldn't have anything useful to contribute anyway...)

I'll be taking a stab at fixing this when the exclusion-dust settles.

Thanks for pointing it out!


> Best wishes
> 
> Mark
> 
> 


Peace

-- 
Pieter


More information about the notmuch mailing list