Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674366 - mail-client/mutt-1.11.1-r1 sidebar indicates 'N' but vfolder is empty
Summary: mail-client/mutt-1.11.1-r1 sidebar indicates 'N' but vfolder is empty
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-02 20:19 UTC by pmn
Modified: 2020-04-25 17:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pmn 2019-01-02 20:19:22 UTC
this is my setup:

```unset spoolfile
set virtual_spoolfile = yes
set nm_default_uri    = $HOME/.cache/mutt
set nm_query_type     = threads
set nm_db_limit       = 2048
set vfolder_format = $index_format # i.e. default $index_format

set folder = 'imaps://imap.gmail.com/[Gmail]/All Mail'
set spoolfile = +
mailboxes !

account-hook imaps://imap.gmail.com/ "set imap_user = foo; set imap_pass = bar; set message_cachedir = $HOME/.cache/mutt/g/foo/; set header_cache = $message_cachedir;"

virtual-mailboxes "* "  "notmuch://?query=\'*\'"
```

inbox, urd, *, they all have 'N' and they light up as having new messages. changing folder to them show no message. not that this query:

```
notmuch search -- '*'
```

will return all the messages in notmuch's database.
same with 'vfolder-from-query' with simple query string of '*'; i get:

```
notmuch:///$HOME/.cache/mutt?query=* [Msgs:0 Inc:3]
```
Comment 1 Fabian Groffen gentoo-dev 2019-01-04 09:24:12 UTC
did this work on previous releases?
Comment 2 pmn 2019-01-04 15:39:35 UTC
(In reply to Fabian Groffen from comment #1)
> did this work on previous releases?

with isync yes, isync's maildir looks a bit different though.
i'm hoping to move to mutt's imap to take advantage of CONDSTORE and QRESYNC Support and this happens when i point notmuch to mutt's header/message cache directory.
Comment 3 pmn 2019-01-04 16:28:58 UTC
just tested with isync's maildir and it works as expected.
Comment 4 Fabian Groffen gentoo-dev 2019-01-04 16:42:20 UTC
I'm midly confused here.  Mutt's header cache dir?  That's in a specific-to Mutt format, isn't it?  Isn't notmuch supposed to operate on maildir/mbox itself?  Is isync imapsync?
Comment 5 pmn 2019-01-04 16:48:01 UTC
(In reply to Fabian Groffen from comment #4)
> I'm midly confused here.  Mutt's header cache dir?  That's in a specific-to
> Mutt format, isn't it?  Isn't notmuch supposed to operate on maildir/mbox
> itself? 

perhaps i'm abusing message_cachedir. notmuch however read that directory into its db and will return results on queries run on cli!
fyi, for testing puposes, note the '/' at the end of message_cachedir though. mutt will create a directory of caches instead of a single file.

> Is isync imapsync?

mbsync : http://isync.sourceforge.net/
Comment 6 pmn 2019-01-04 17:02:02 UTC
oh, even with isync's maildir if i set the following:

```
set index_format = "%4C %Z %?M ?+& ?[%02M] %?Gh?%Gh& ? %[%d/%b] %-32F %-32s"
```
which used to work btw, i will get 'N' report on the sidebar but switching to vfolder will only list 'N' and 'L'.
Comment 7 Fabian Groffen gentoo-dev 2020-04-25 17:28:03 UTC
notmuch support was dropped from recent Mutt ebuilds, use NeoMutt instead.