Richard Hitier <[EMAIL PROTECTED]> wrote:
>
>       set sort=thread 
>       folder-hook family set sort=date-sent
> 
> Problem, when i read the =family and return back to other mbox, it
> remains date-sorted.

That's right.  The folder hook changes the setting, but the setting
simply stays set that way forever.

> as read in the manual i added:
>       folder-hook . set sort=thread
> for a kind of default setting.
> but it does not work.

It probably doesn't work because you put it *after* the other
folder-hook.  You should put the default folder-hook first, because Mutt
executes all matching folder-hooks in sequence.  So if you put them in
the other order, the last hook, which always matches, sets the sort to
the default.  If you put them in the opposite order, the first hook will
always match and set the sorting to threads, but then the second hook
will match, when you are in the family folder, and so sorting will be
set to date-sent.

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
UX WTEC Engineer |    PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44

Reply via email to