[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-talk] index options, by addressee instead of by sender



Hi,

Excerpts from E. Cartan's message of Fr Mär 12 22:37:07 +0100 2010:
>    I don't know how to install or enable hooks, nor where 
>    to obtain them.   
>    
>    I currently use only 3 hooks, which I copied from the sup wiki. 
>    However ruby appears to have somewhere the source or the list
>    of several more.  In fact the command:
> 
>      ruby -I lib -w /var/lib/gems/1.8/bin/sup -l 
> 
>    will return:   "have 30 registered hooks", but I am unable to 
>    find any of these.  For each hook, the output of this command 
>    claims that the corresponding file is  in ~/.sup/hooks/
>    But on that directory I only find the hooks which I copied
>    from the wiki.
To have a registered hook with a certain file means that the HookManager
*would* execute the contents of that file, if it existed.

So, to use a certain hook, create the appropriate file and place your
ruby code in there.

You can get example code in the wiki, as you have already mentioned.

Best regards,
Michael
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk