Hello,

On Thu, Feb 05, 2015 at 11:50:38AM +0000, J.M. Dana wrote:
> mutt-sidebar doesn't show folder names properly when using both:
> 
> set sidebar_folderindent=yes
> set sidebar_shortpath=yes
> 
> And the IMAP folder separator is '/' instead of '.'.
> 
> The attached patch fixes the issue.

With the recent 1.6.0-1 upload, I found my sidebar not being indented
nor short-pathed, like previously.

After a bit of doc-reading (and #822910-reading) I found the
sidebar_shortpath/sidebar_folderindent settings which looked like they
would do the trick. They didn't, because of this bug (#777127). The
effect was that sidebar_shortpath made the path even /longer/, with the
IMAP server/port prepended to it.

The patch attached here-in applies with a small offset/fuzz 1. I just
tried it and it seems to fix my issue, reverting to 1.5.24-1 behavior
(modulo the different counts appearance).

The patch essentially tries both "." and "/" as folder delimiters by
searching for both of their existence; it's the wrong way to do it, but
it's better than just hard-coding "." as the current source does.

Could you please apply this to the next upload?

Thanks,
Faidon

Reply via email to