Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: Michael Stapelberg <michael+sup@stapelberg.de>
To: sup-talk <sup-talk@rubyforge.org>
Subject: [sup-talk] before-edit hook and accessing the original sender
Date: Thu, 15 Oct 2009 15:55:13 +0200	[thread overview]
Message-ID: <1255614656-sup-7039@midna.zekjur.net> (raw)

Hi,

I just configured a before-edit hook which prepends my usual greeting to the
message and appends my greeting. To personalize the greeting, I access
header["To"]. However, when replying to emails, this is not always the original
sender of the message I am replying to (think of mailing lists).

So, the question is, can I somehow access the message to which I am replying
to when in the before-edit hook called when replying to a message.

Best regards,
Michael

PS: I am not using the signature hook as I want to edit my signature inside my
$EDITOR. Also, I need the greeting at the top of the message.
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


             reply	other threads:[~2009-10-15 13:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-15 13:55 Michael Stapelberg [this message]
2009-10-15 15:32 ` 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=1255614656-sup-7039@midna.zekjur.net \
    --to=michael+sup@stapelberg.de \
    --cc=sup-talk@rubyforge.org \
    /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