i have problem w/ changing the sort order in (file/folder/directory)
browser.  mbox format is mbox & mutt version is 1.3.99i.  below is
what i have in folder-hooks...

folder-hook '.'               'set sort_browser="reverse-date"'
folder-hook '/(Ignore|Out)/'  'set sort_browser="reverse-alpha"'

...problem is above hooks take effect only after visiting one of the
folders in the top folder/directory.  on top of that, that sorting
order sticks until i change in/out of Ignore or Out directory.

given, in ~/mail ...

1024  In/       Jun 13 22:14
 512  Ignore/   Jun 13 22:07
 512  Out/      Jun 13 21:59

...in ~/mail/In ...

 343860  i.ipf-ipfw  Jun 13 21:21  parv
 137587  i.f-bugs    Jun 13 21:15  parv
1015961  i.mutt      Jun 13 21:14  parv

...and in ~/mail/Out ...

   512  ../          Jun 13 21:10  parv
  4143  out.usenet   Jun 13 16:11  parv
154597  outbox       Jun 13 14:11  parv


...if i enter "Out/outbox" & leave, sort order in browser would be
'reverse-alpha'; if enter "In", sort order still be the same.  it
would change if i enter/leave any folder in "In", say "In/i.mutt".

is there any solution to the above problem?  iow, is there any way
to change the sort order in browser based on the name of the
encompassing folder/directory (which in this case are "In", "Out",
"Ignore")?


( i tried to search the archive, but "sort_browser" was translated
to "sort browser"; neither did google was of any help. )


  - parv


--

Reply via email to