severity 822910 wishlist
retitle -1 mutt-patched: allow configurable delim_chars in sidebar
thanks
Hi Evgeni,
thank you for your quick response.
* [Fri, Apr 29, 2016 at 07:21:03PM +0200] Evgeni Golov:
>> I personally prefer the sidebar-dotpathsep patch because:
>>
>> - has a summary listing # of unread/flagged/total messages instead of
>> only unread/total
>
>Flagged should be supported according to docs, I never tried that,
>though.
Yeah, sorry I've initially missed it.
>> - has configurable mailboxes separator (in my case, the newly
>> reintroduced patch does not correctly display maildirs containing a
>> dot in the name)
>
>Did you try setting sidebar_folderindent? That worked fine here with
>dotted maildirs.
Yes, this is the pseudo-diff of my config:
- set sidebar_delim_chars = '/'
+ set sidebar_shortpath = yes
+ set sidebar_folderindent = yes
Also, I'm not using dotted maildirs (dir.maildir1, dir.maildir2, ...),
but nested dirs in which the leaf dirs are actually maildirs
(dir/maildir1, dir/maildir2, ...). The name of some dirs contains a dot.
i.e., the following tree (in which ham/spam are actually maildirs):
.Junk/
├── ham
└── spam
is rendered as:
.Junk
Junk/ham
Junk/spam
instead of:
.Junk
ham
spam
More important, the following tree (again, only inner dirs are maildir):
domain.tld/
├── server1
└── server2
is rendered as:
tld
tld/server1
tld/server2
instead of:
domain.tld
server1
server2
In this particular case, I'm "losing" infos about which domain the
server belongs to.
Anyway, while I think my directory tree is legit, I totally understand
if you don't want to support this case.
Seems fine to me (maybe just use sidebar_delim_chars instead of
delim_chars in order to point to the right option). As this is now
documented, I'm downgrading the severity to wishlist.
Thank you,
Gian Piero.