You all r de best!!!! It worked, this is all very new to me, my first
hook@!@!!!!
! Mikko H�nninen <[EMAIL PROTECTED]> [250200 15:52]:
> Jason Helfman <[EMAIL PROTECTED]> wrote on Fri, 25 Feb 2000:
> > This doesn't seem to be working....is this entered improperly?
>
> It depends on what you're trying to do. You don't say, but I'm giving
> it a guess below.
>
> > folder-hook mutt "bind index r list-reply; bind pager r list-reply; bind attach r
>list-reply"
> > folder-hook mutt "bind index r reply; bind index r reply; bind attach r reply"
> > folder-hook clug "bind index r list-reply; bind pager r list-reply; bind attach r
>list-reply"
> > folder-hook clug "bind index r reply; bind index r reply; bind attach r reply"
>
> These 4 lines mean will have the end-result that for both folders mutt
> and clug, r is bound to reply in the menus index and attach, and in
> pager it is bound to list-reply.
>
> You have two hooks for each folder. They get both executed, in order.
> Therefore the second hook mostly un-does what the first does. The only
> exception is that you're binding r to reply in index twice, which looks
> like a mistake (you probably meant pager).
>
> I'm *guessing* that this is what you want:
>
> folder-hook . "bind index r reply; bind pager r reply; bind attach r reply"
> folder-hook mutt "bind index r list-reply; bind pager r list-reply; bind attach r
>list-reply"
> folder-hook clug "bind index r list-reply; bind pager r list-reply; bind attach r
>list-reply"
>
> Ie. the default is to have r invoke the normal reply function in
> index/pager/attach, but for the folders "mutt" and "clug" r will use
> list-reply instead. The order is important, since the . will match
> everything (including the mutt and clug folders), and all matching hooks
> get invoked. Also note that the argument to folder-hook is a substring
> match, so for example the folder "my-mutties" would also be matched by
> the "mutt" regexp.
>
>
> Hope this helps,
> Mikko
> --
> // Mikko H�nninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/
> // The Corrs list maintainer // net.freak // DALnet IRC operator /
> // Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
> Reality is for people who can't cope with the Internet.
--
/helfman
"At any given moment, you may find the ticket to the circus that has always been
in your possession."