imap unread count in folder view?

Ben Fitzgerald benfitzg at gmail.com
Sun Sep 16 21:31:28 UTC 2018


On Sun, Sep 16, 2018 at 10:36:16AM -0700, Kevin J. McCarthy wrote:
> On Sun, Sep 16, 2018 at 01:24:57PM -0400, Ben Fitzgerald wrote:
> > any way to get the number of unread messages in the <change-folder>
> > view?
> > 
> > I'm happy to have the unread count in the cache, it doesn't have to
> > be the server's count.
> 
> Check out %n in $folder_format.  The behavior of %N changed in 1.7.0.
> 

fabulous, works a treat. Thanks.

I'll be greedy and ask another. It's related.

Is there a way to hide folders where %n == 0 ?

I have config for imap that shows all the folders by default:

set imap_check_subscribed=yes

Regards,

-- 
Ben Fitzgerald


More information about the Mutt-users mailing list