Is there any way to customise sorting of directories in the index?

Chris Green cl at isbd.net
Thu Apr 8 10:31:34 UTC 2021


On Thu, Apr 08, 2021 at 11:23:26AM +0100, Chris Green wrote:
> I have a about 40 or so folders where I save mails I want to keep,
> with names such as 'shopping', 'motorcycle' and so on.  By default
> these are sorted alphabetically in the index which is not ideal.  I
> save things in 'shopping' far more frequently than elsewhere so it
> would be really handy if that was at the top or at least near the top. 
> 
> Is there any way to customise the sort order?  I suppose the ideal
> would be 'most recently used' at the top but even reverse alphabetical
> would improve things.
> 
> I *could* rename 'shopping' to 'Shopping' to fix that one but I'd
> really like a more generally applicable solution.
> 
Ah, oops, I've just discovered the sort_browser setting which
addresses this issue to some extent.  However some explanation of the
settings might be useful:-

    count - does this mean the count of messages in the directory,
    what about if it contains further subdirectories?

    date - date of what?  If it's just the date of the directory it's
    not terribly useful!  

    size - does it work or mean anything with maildir?

    unread - what does this mean?

-- 
Chris Green


More information about the Mutt-users mailing list