[sup-talk] [PATCH] add a reply-to hook, for setting the Reply To field.

Marc Hartstein marc.hartstein at alum.vassar.edu
Thu Apr 24 01:56:00 EDT 2008


Excerpts from its.jeff.balogh's message of Thu Apr 24 01:23:10 -0400 2008:
> I prefer to reply to a mailing list, then all participants:
> 
>   $ cat .sup/hooks/reply-to.rb
>   ([:list, :all] & types)[0]

Neat.  For reference for anybody interested in using this, possible
values are in lib/sup/modes/reply-mode.rb:5

:sender => "Sender",
:recipient => "Recipient",
:all => "All",
:list => "Mailing list",
:user => "Customized"

The default behavior should be equivalent [see line 97] to
([:list, :sender, :recipient] & types)[0]

Is there a reason you ended up going with a hook?

I wonder if the hook should be provided with the current message for
fuller processing.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/sup-talk/attachments/20080424/1ab3f2e6/attachment.bin 


More information about the sup-talk mailing list