From mboxrd@z Thu Jan 1 00:00:00 1970 From: its.jeff.balogh@gmail.com (Jeff Balogh) Date: Thu, 24 Apr 2008 10:38:28 -0400 Subject: [sup-talk] [PATCH] add a reply-to hook, for setting the Reply To field. In-Reply-To: <1209016094-sup-288@cabinet> References: <1207373363-sup-374@archie> <1209014328-sup-5801@archie> <1209016094-sup-288@cabinet> Message-ID: <1209047347-sup-6866@archie> marc.hartstein wrote: > 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] Thanks. Your documentation skills far exceed mine. :) > Is there a reason you ended up going with a hook? 1. Laziness. 2. Reluctance to add to config. 3. Because I expected someone might want to be fancier, maybe getting the message for fuller processing. > I wonder if the hook should be provided with the current message for > fuller processing. If you (or anyone) finds that useful, we can add it. I left it out to keep the hook simple.