With this new version, reading notmuch virtual folders does not work anymore. I tried downgrading notmuch first which did noch help. There are some "file not found" errors or the like when musst tries to read the folder ending up with an empty list until selecting a normal folder again. Using mutt-1.9.0-r2 with both notmuch 0.24.2 and 0.25.1 works fine. This is part of my notmuch specific config: virtual-mailboxes \ "unread mail" notmuch:///home/mschiff/Mail?query=tag:unread # ^--- this one makes mutt produce error messages on startup
I'm experiencing the same issue; mutt-1.9.1-r1 mail querying is broken, mutt-1.9.0-r2 is not affected. Relevant packages versions: net-mail/notmuch-0.25.1:0 and dev-libs/xapian-1.4.5:0 +glass. Part of mutt configuration: set nm_default_uri = 'notmuch:///home/<...>/' virtual-mailboxes \ '1-unread' 'notmuch://?query=tag:unread&type=messages' \ '2-today' 'notmuch://?query=date:today..&type=messages' Note that virtual-mailboxes don't include the actual path (due to nm_default_uri setting). In my case these static virtual-mailboxes work in both versions, but dynamic mailboxes (from searches via vfolder-from-query) fail in the newer mutt. The working version does the following syscalls when a search is requested (vfolder-from-query): stat("/home/<...>/.notmuch", ...) stat("/home/<...>/.notmuch/xapian", ...) stat("/home/<...>/.notmuch/iamglass", ...) open("/home/<...>/.notmuch/iamglass", ...) The newer (broken) version: stat("/home/<...>/\nquery=<...>/.notmuch", ...) = -1 ENOENT # <-- note the newline symbol and the query content write(2, "Error opening database at /home/...", ...)
Ai, I think I know where that comes from. Sorry for the long wait. I'll try to get a new patchrev online today.
Please try mutt-1.9.1-r2, I think it fixes this problem.
Looks good! (tried -r3) Thanks! Closing...