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

boB i_persevere technical_fora at proton.me
Thu Aug 31 11:35:02 CEST 2023


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.

I must be doing something wrong.  I tried the following, attempting to
mimick what I understood you to be saying.  I placed these in the same
file that is sourced to log into Proton Bridge (I don't mind exposing
the few first names.):

set folder = imap://$my_user@127.0.0.1:1143	# The folder NeoMutt uses to access my mail.
set spoolfile = "+INBOX"	# My home inbox.
mailboxes =  +INBOX
mailboxes = +Drafts
mailboxes = +Sent
mailboxes = +Spam
mailboxes = +Trash
mailboxes = "+All Mail"
mailboxes = +Folders/0_PERSONAL +Folders/0_PERSONAL/"Bridge with Vince" +Folders/0_PERSONAL/Jessie +Folders/0_PERSONAL/June +Folders/0_PERSONAL/Mike +Folders/0_PERSONAL/Roger
mailboxes = +Folders/1_WORK
mailboxes = +Folders/2_MEDICAL
mailboxes = +Folders/3_TECHNICAL
mailboxes = +Folders/4_COMMERCIAL +Folders/4_COMMERCIAL/Receipts
mailboxes = +Folders/zGMAIL

This had absolutely no effect on the ordering of the folders/mailboxes
in the sidebar.  Where have I gone astray?

-- 
Wishing you only the best,
boB i_persevere

Don't lie, but don't tell the whole truth.
	-- Baltasar Gracian



More information about the neomutt-users mailing list