* From some reason configured queries don't work for me
@ 2018-04-17 20:24 Doron Behar
2018-04-17 23:03 ` David Bremner
0 siblings, 1 reply; 2+ messages in thread
From: Doron Behar @ 2018-04-17 20:24 UTC (permalink / raw)
To: notmuch
[-- Attachment #1: Type: text/plain, Size: 603 bytes --]
I'm trying to create a special query to put in my configuration file and
I can't make notmuch answer this query with a command like this:
notmuch search 'query:my_inbox'
This is what I've put in my `~/.notmuch-config`:
[query]
my_inbox=path:/INBOX/ or tag:tasks
I also tried running `notmuch search` like this:
env NOTMUCH_DEBUG_QUERY=1 notmuch search 'query:my_inbox'
And this is the result I got:
Query string is:
query:my_inbox
Exclude query is:
Query((Kdeleted OR Kspam))
Final query is:
Query()
Any ideas? I'd be happy to get some help here, thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 691 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: From some reason configured queries don't work for me
2018-04-17 20:24 From some reason configured queries don't work for me Doron Behar
@ 2018-04-17 23:03 ` David Bremner
0 siblings, 0 replies; 2+ messages in thread
From: David Bremner @ 2018-04-17 23:03 UTC (permalink / raw)
To: Doron Behar, notmuch
Doron Behar <doron.behar@gmail.com> writes:
> I'm trying to create a special query to put in my configuration file and
> I can't make notmuch answer this query with a command like this:
>
> notmuch search 'query:my_inbox'
>
> This is what I've put in my `~/.notmuch-config`:
>
> [query]
> my_inbox=path:/INBOX/ or tag:tasks
>
> I also tried running `notmuch search` like this:
>
> env NOTMUCH_DEBUG_QUERY=1 notmuch search 'query:my_inbox'
You need to set the query with "notmuch config". The details are
explained in notmuch-config(1).
d
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-17 23:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-17 20:24 From some reason configured queries don't work for me Doron Behar
2018-04-17 23:03 ` David Bremner
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).