You are not logged in.
Using pbrisbin's guide as a base (assume the same configuration) and supposing I have new mail in both accounts, I'd like a status line that mimic's something like this:
(gmail/inbox 1)───(gmx/inbox 1)───────────(all)
mutt(6) status_format generally alludes to formats matching the current mailbox.
There is %b, which presumably gets the count of new messages in the mailboxes defined like so:
mailboxes +GMail/INBOX +GMX/INBOX
However, even with a test status format like this:
set status_format = "(Total: %b)───(%f %m%?n? [+%n]?%?d? [-%d]?%?t? [*%t]?)%?p?───(%p draft)?─%>─(%P)───"
... it would always display Total: 0 ...
Any ideas mutt experts?
Offline
Perhaps a typo regarding folder names. I am using mutt but I haven't edited the status line. cuold it be, that %b just shows the amount of unread mails in the current folder/directory?
Offline
Perhaps a typo regarding folder names.
I checked that. To make sure, I also use this:
macro index,pager <F9> "<change-folder>+GMail/INBOX<enter>" "Go to GMail inbox"
macro index,pager <F10> "<change-folder>+GMX/INBOX<enter>" "Go to GMX inbox"
... the same "mailbox" names. Perhaps mailboxes doesn't work on folders?
cuold it be, that %b just shows the amount of unread mails in the current folder/directory?
Manual reads: "number of mailboxes with new mail *".
Last edited by tlvince (2010-11-15 15:50:03)
Offline
mailboxes works well for directories. I use it for my sidebar inside mutt. There it shows the amount of new mails of each folder, hence it works. In my case it do not use "+folder" but
mailboxes /full/path/to/mail/folder_1 /full/path/to/mail/folder_2 ...
Maybe mutt doesn't find the folder you told him.
Offline
That manual is out of date. Use this one:
http://www.mutt.org/doc/devel/manual.html#status-format
The %b states the number of mbs with new mail (seems to work for me too).
"...one cannot be angry when one looks at a penguin." - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle
Offline