Rudolf Sykora <[email protected]> wrote:
 |I'd like to read my gmail mail using IMAP,
 |and I basically can. However, I'd prefer to
 |use a threaded mode, so I tried to add
 |
 |sort thread
 |
 |into my .mailrc. But then, when starting
 |s-nail, I get
 |
 |Cannot execute `sort' without active mailbox
 |
 |Can you comment on what I am doing wrong?

`sort' is a command and needs a mailbox it can sort? :)
You should instead define your preferred sorting algorithm and
Heirloom mailx/S-nail will adhere to it when a folder is opened.
You can define exceptions for specific folders via folder-hooks as
desired.  E.g., try the following in your .mailrc

  set autocollapse autosort=thread \
    folder-hook-+download=fh-thread-nocollapse \
    folder-hook-+sent=fh-sortdate-showlast

  define fh-sortdate-showlast {
     localopts yes
     set autosort=date showlast
  }
  define fh-thread-nocollapse {
     localopts yes
     set noautocollapse autosort=thread
  }

--steffen

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
__________________________________
[email protected]

Reply via email to