sidebar_format Not Showing Number of Unread Emails
Kevin J. McCarthy
kevin at 8t8.us
Mon Jan 3 18:34:18 UTC 2022
On Mon, Jan 03, 2022 at 12:40:17PM +0100, Michael Klemm wrote:
>I have a small issue with sidebar_format that I cannot really sort
>out. If I set this sidebar_format
>
> set sidebar_format = '%B%* %n'
>
>Mutt highlights the folder with unread messages, but does not show the
>number, but no count at all:
To make sure I'm understanding you, %n will display 'N' when the mailbox
has new mail, not a count.
However, note that $mail_check_recent can affect this for mailboxes you
have already visited. Also note that 'unread' isn't the same as 'new'.
For example, 'old' messages are unread but not new.
>I cannot make it work to only show the number for the mailboxes count
>>0. I have also tried
>
> set sidebar_format = '%B%* %?N%N'
Try: set sidebar_format = "%B%* %?N?%N?"
http://www.mutt.org/doc/manual/#formatstrings-conditionals gives a
review of the syntax.
--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20220103/df7dd29f/attachment.asc>
More information about the Mutt-users
mailing list