Closed redneb closed 11 years ago
+1 This would be a great enhancement.
+1 yes please. In fact, it seems that virtual mailbox browser sorting doesn't work at all - press 'o', change to si'z'e, 'a'lpha, 'd'ate, etc., no change in the sort order at all.
I've put up pull request for 6e8fff0, which allows sorting by mail folder description, (all) message count, and new message count.
Fixed by tsto's patch.
Hi, thanks for the patch. Is there a way to set the order permanently? i.e. not having to press o in the virtual mailbox browser. Also, I think it would be really useful to be able to sort the vfolders based on the order which was used to specify them with the virtual-mailboxes command. I have some macros that rely on the exact position of specific vfolders and with the current implementation the position changes every time I modify the virtual-mailboxes command.
On Thu, May 23, 2013 at 10:12:28AM -0700, redneb wrote:
Hi, thanks for the patch. Is there a way to set the order permanently? i.e. not having to press o in the virtual mailbox browser. Also, I think it would be really useful to be able to sort the vfolders based on the order which was used to specify them with the virtual-mailboxes command. I have some macros that rely on the
This is default. I have all time the folders sorted according to
virtual-mailboxes definition. I mean in the sidebar as well as
in change-vfolder browser (when you pres
exact position of specific vfolders and with the current implementation the position changes every time I modify the virtual-mailboxes command.
Not sure if I understand the problem.
Karel
Karel Zak kzak@redhat.com http://karelzak.blogspot.com
Well, then I must be doing something wrong. If I put
virtual-mailboxes \
"foo" "notmuch://?query=foo" \
"bar" "notmuch://?query=bar"
in my muttrc then "bar" is shown first in the change-vfolder browser.
I think you want this:
set sort_browser=
e.g. =reverse-new
Ok thanks, that's what I was looking for. "sort_browser=unsorted" does what I want.
On Thu, May 23, 2013 at 04:26:20PM -0700, Tim Stoakes wrote:
I think you want this: set sort_browser=
e.g. =reverse-new
Reply to this email directly or view it on GitHub: https://github.com/karelzak/mutt-kz/issues/25#issuecomment-18378168
When I do and I press ? (or tab) then a list of all vfolders is given. But the list is sorted by the vfolder URI. It would make more sense to sort them by vfolder label or better yet, present them in the order specified in the virtual-mailboxes command.