-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, January 30 at 08:21 AM, quoth Michael Kjorling: >On 30 Jan 2008 11:41 +0900, by [EMAIL PROTECTED] (Wilkinson, Alex): >> folder-hook . \ >> set sort=reverse-threads ;\ >This semicolon ^ >terminates the folder-hook command, which is probably not what you >intended. >> set sort_aux=last-date-received ;\ >> push '<collapse-all>' ;\ >> set index_format="%3N %4C %Z %{%b %d} %-15.15F (%4c) %?M?%M> ?%s" >> ;\ >> set display_filter='t-prot -acelmtS -Mmutt --spass' > >If you want to specify more than one command in a single folder-hook, >you can either source a separate file, or quote the command part of >the hook.
To expand on what Michael said, this would work: folder-hook . \ "set sort=reverse-threads ;\ set sort_aux=last-date-received ;\ push '<collapse-all>' ;\ set index_format='%3N %4C %Z %{%b %d} %-15.15F (%4c) %?M?%M> ?%s' ;\ set display_filter='t-prot -acelmtS -Mmutt --spass'" Note the double-quote at the beginning and end of the hook (and that I replaced your index_format double-quotes with single-quotes). It's also worth pointing out that unless you have things changing these settings in other hooks, you can quite easily get the same behavior in a much simpler fashion: set sort=reverse-threads set sort_aux=last-date-received set index_format='%3N %4C %Z %{%b %d} %-15.15F (%4c) %?M?%M> ?%s' set display_filter='t-prot -acelmtS -Mmutt --spass' folder-hook . "push '<collapse-all>" The "push" command is the only one that really needs to be done every time you enter a mailbox in order to get the behavior you describe. ~Kyle - -- Two things fill the mind with ever new and increasing wonder and awe, the more often and the more seriously reflection concentrates upon them: the starry heaven above me and the moral law within me. -- Immanuel Kant -----BEGIN PGP SIGNATURE----- Comment: Thank you for using encryption! iD8DBQFHoJi8BkIOoMqOI14RArvLAKDtqn3qMNK4U9C6JiVPdr5hxf6HmACg9Gdc +ulhDxG9wzTgJYALhxn4/es= =qvAn -----END PGP SIGNATURE-----