[neomutt-users] Feature request: Arbitrary sort order of sidebar entries.

boB i_persevere technical_fora at proton.me
Thu Aug 31 12:39:10 CEST 2023

On 31.08.2023 12:00, christophe lalanne wrote:
>On 2023-08-31 09:35, boB i_persevere wrote:
>>On 31.08.2023 08:40, christophe lalanne wrote:
>>>Couldn't you use multiple "mailboxes" specifications to order your local
>>>folders according to your liking? E.g.,
>>>mailboxes =A
>>>mailboxes =D =C
>>>mailboxes =B
>>>will give you A D C B in your sidebar. I don't know about subitems, not
>>>even when using tricky combination of "sidebar_*" options.


>>This had absolutely no effect on the ordering of the folders/mailboxes
>>in the sidebar.  Where have I gone astray?
>Unfortunately, I don't use IMAP. Instead I store my emails in a Maildir
>on my HD (and in this case, there's no space after the equal sign,
>meaning you should write "=A" and not "= A"). However, it seems that the
>same idea applies to IMAP folders, as documented on the Arch Wiki [1].
>[1] https://wiki.archlinux.org/title/Mutt#IMAP

Ah.  I forgot that "=" is used for a mailbox shortcut, meaning the same
thing as the "+" that I was using.  So!  I removed the "=" and extra

Additionally I had to remove "set imap_check_subscribed", which I had
set, and remove "sidebar_sort_method option" that I also had set.  Now
it works!  That Arch Linux article you linked me to is a gem.  Many
thanks for your help!  => I guess I should withdraw my feature request?!
Always so much to learn...

Wishing you only the best,
boB i_persevere

For deep time is measured in units that humble the human instant:
millenia, epochs and aeons, instead of minutes, months and years.
Deep time is kept by rock, ice, stalactites, seabed sediments and the
drift of tectonic plates.  Seen in deep time, things come alive that
seemed inert.  New responsibilities declare themselves.  Ice breathes.
Rock has tides.  Mountains rise and fall.  We live on a restless
	-- Robert Macfarlane

More information about the neomutt-users mailing list