Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: marc.hartstein@alum.vassar.edu (Marc Hartstein)
Subject: [sup-talk] [PATCH] add a reply-to hook, for setting the Reply To field.
Date: Thu, 24 Apr 2008 01:56:00 -0400	[thread overview]
Message-ID: <1209016094-sup-288@cabinet> (raw)
In-Reply-To: <1209014328-sup-5801@archie>

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 


  reply	other threads:[~2008-04-24  5:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-05  5:48 [sup-talk] Setting reply to -- hook or config? Jeff Balogh
2008-04-24  5:23 ` [sup-talk] [PATCH] add a reply-to hook, for setting the Reply To field Jeff Balogh
2008-04-24  5:56   ` Marc Hartstein [this message]
2008-04-24 14:38     ` Jeff Balogh
2008-04-27  6:49 William Morgan
2008-04-27  6:50 William Morgan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1209016094-sup-288@cabinet \
    --to=marc.hartstein@alum.vassar.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox