Re: notmuch search does not work with search term 'id:'

2017-08-12 Thread Jörg Volbers
That was helpful! The output is: Query(((Tmail AND 0 * QE5-a1wt6bgr-elaine/2/42589-dc960...@nlsender05.ui-portal.com) AND_NOT (Kdeleted OR Kspam))) Actually my config has "search.exclude_tags=deleted;spam" set, and the mail IS a spam mail. (I wanted to train bogofilter). Did not know that

Re: notmuch search does not work with search term 'id:'

2017-08-11 Thread David Bremner
Jörg Volbers writes: > This is the ID which I am using for testing: > > E5-a1wt6bgr-elaine/2/42589-dc960...@nlsender05.ui-portal.com > Can you try NOTMUCH_DEBUG_QUERY=y notmuch search id:E5-a1wt6bgr-elaine/2/42589-dc960...@nlsender05.ui-portal.com and report the output

Re: notmuch search does not work with search term 'id:'

2017-08-11 Thread Jörg Volbers
Quoting the argument does not change anyting -- which makes sense, since searching for the id does work well when using "notmuch show --format=raw". So it's not a quoting issue. BTW, the error also shows up if I just omit the option "format=raw" in notmuch show. This is the ID which I am

Re: notmuch search does not work with search term 'id:'

2017-08-11 Thread Tomi Ollila
On Fri, Aug 11 2017, Jörg Volbers wrote: > Hello, > > I have problems searching for a message by its id. > > If I call notmuch-show, everything works fine; actually this is > used by the emacs frontend: > > 'notmuch show --format=raw id:<.>' > > If I try to search for this mail with

notmuch search does not work with search term 'id:'

2017-08-11 Thread Jörg Volbers
Hello, I have problems searching for a message by its id. If I call notmuch-show, everything works fine; actually this is used by the emacs frontend: 'notmuch show --format=raw id:<.>' If I try to search for this mail with notmuch-search, I get no result: notmuch search -- id:<>