There is newer sidebar patch available ( http://lunar-linux.org/~tchan/mutt/patch-1.5.24.sidebar.20151111.txt ). With current patch the sidebar has a bug: if sidebar_folderindent is enabled the indented folders has a prefix 'com:993' (with gmail, /bsd/ports displayed as com:993/bsd/ports). I hope the newest (and correct) patch will fix it.
I'm working together with the reporter on a solution. The mentioned patch at lunar-linux.org does NOT solve the problem, but we made good progress. I will provide a patch soon. Please stay tuned.
Created attachment 164485 [details] patch
The attached patch solves the reported problem and update to the most recent version of the sidebar patch.
Thank you!
Udo, thanks for the patch, but it's missing updates to the Makefile. Since it brings new code, that's a bump to PORTREVISION at least. Is it also an update to the latest version of mutt?
The patch does not add new functions therfore I didn't bump the PORTREVISION as it only fixes a bug which does affect not many users. A new version of mutt has not been released.
Hi I think the patch have problem, Patching file files/extra-patch-sidebar-nntp.rej.orig using Plan A... Empty context always matches. Hunk #1 succeeded at 1. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: Can you please check.
Created attachment 164585 [details] The new file files/extra-patch-sidebar
Created attachment 164586 [details] The new file files/extra-patch-sidebar-nntp
Created attachment 164587 [details] The new file files/extra-patch-sidebar-refresh
(In reply to Udo.Schweigert from comment #6) Fixing a bug is one of the reasons for bumping PORTREVISION. :) Please consult section 5.2.2.1 of the Porter's handbook: https://www.freebsd.org/doc/en/books/porters-handbook/makefile-naming.html
Hi, I agree with Vladimir, we have to bump the PORTREVISION here to notify users where have sidebar enabled in there installations. No new patch needed, I'll do it.
Please mark future uploads/attachments properly, eg. if they're patches please check them as "Patch" on upload, that makes them nicely visible through the bug report page otherwise these required download as undefined binary files. :)
Created attachment 166074 [details] patch To get it finally done: again the necessary changes in one patch, including version bump.
testbuilds@work
testbuilds OK on 11a, 10.2a+i, 9.3a.
A commit references this bug: Author: pi Date: Thu Jan 28 08:41:56 UTC 2016 New revision: 407401 URL: https://svnweb.freebsd.org/changeset/ports/407401 Log: mail/mutt: update sidebar patch PR: 205284 Reported by: Zsolt Udvari <udvzsolt@gmail.com> Approved by: Udo Schweigert <Udo.Schweigert@siemens.com> (maintainer) Changes: head/mail/mutt/Makefile head/mail/mutt/files/extra-patch-sidebar head/mail/mutt/files/extra-patch-sidebar-nntp head/mail/mutt/files/extra-patch-sidebar-refresh
Committed, thanks!