Benjamin Korvemaker wrote:
> Is there a way to list the number of messages that are in a folder when
> listing the folders? (Checking the format strings in the manual doesn't
> seem to indicate so, but I may have overlooked the right place.) Even an
> indicator of which folders have old messages would be nice. I'm using mutt
> 1.0 (do I just need to upgrade to a development version?) and maildirs.
Currently, there's no way to display number of new messages in folder
list. I also thought it might be useful so I have created a small patch
which adds few new options for folder_format variable:
%n - number of new messages in the folder
%o - number of old messages in the folder
%m - total number of messages in the folder
So my folder_format looks like this:
set folder_format="%2C %N %5n %5o %f"
This works only for Maildir folders (it might work for mh folders too
although I have not checked that).
My patch is against the development version (1.1.1i). I will test it
against the latest version, clean it up a little bit, add some
documentation and will probably post it to the list if there's any
interest.
Sergei
--
Sergei Kolobov