Hi,

Binand Raj S. typed:
> Well, here is an excerpt from my .muttrc, and it works, I assure you. And no,
> I haven't changed the order.
> 
> folder-hook .            "set sort=date-sent; set pager_index_lines=0"
> folder-hook linux        "set sort=threads; set pager_index_lines=4"
> 
> send-hook . "set signature=~/.signature; set pgp_autosign"
> send-hook linux "set signature=~/.sign.linux; unset pgp_autosign"

Wait a minute, these seem to be in the right order! (with the
catch-alls in the beginning). This is exactly I said will work. Try
switching them around, it doesn't work. Suresh had sourced the
list-specific hooks before the catch-alls, so that wouldn't work.

-----
Excerpt from my .muttrc which doesn't work:

folder-hook nps2000 "unset followup_to"
folder-hook . "set followup_to"

Now I go to any folder and type:

:set ?followup_to
Result: followup_to is set

Then change to nps2000 folder.

:set ?followup_to
Result: followup_to is set (no change from previous)
-----
But when I change the order to:

folder-hook . "set followup_to"
folder-hook nps2000 "unset followup_to"

:set ?followup_to
followup_to is set

Change to folder nps2000, and:

:set ?followup_to
followup_to is unset (Ah, finally working!)
-----

-- 
Mrinal Kalakrishnan <[EMAIL PROTECTED]> (PGP:B1E86F5B) http://listen.to/mrinal
- - - - = ( Redhat Linux 6.1 ) = - - - - = ( Kernel 2.2.12-20 ) = - - - -
Agents do it undercover.

-----------------------------------------------------------------------
For more information on the LIH mailing list see:
http://lists.linux-india.org/lists/LIH

Reply via email to