From mboxrd@z Thu Jan 1 00:00:00 1970 From: marc.hartstein@alum.vassar.edu (Marc Hartstein) Date: Thu, 24 Apr 2008 01:56:00 -0400 Subject: [sup-talk] [PATCH] add a reply-to hook, for setting the Reply To field. In-Reply-To: <1209014328-sup-5801@archie> References: <1207373363-sup-374@archie> <1209014328-sup-5801@archie> Message-ID: <1209016094-sup-288@cabinet> 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