From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.90.117.16 with SMTP id p16cs613494agc; Thu, 15 Oct 2009 06:55:29 -0700 (PDT) Received: by 10.224.33.129 with SMTP id h1mr45132qad.213.1255614928891; Thu, 15 Oct 2009 06:55:28 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 6si255482qyk.3.2009.10.15.06.55.28; Thu, 15 Oct 2009 06:55:28 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 87D05121826B; Thu, 15 Oct 2009 09:55:28 -0400 (EDT) Received: from twice-irc.de (mx2.twice-irc.de [79.140.35.195]) by rubyforge.org (Postfix) with ESMTP id 2F172197827D for ; Thu, 15 Oct 2009 09:55:14 -0400 (EDT) Received: from midna.zekjur.net (midna.zekjur.net [IPv6:2001:4d88:1008:4242:21c:c0ff:fe7e:4776]) by twice-irc.de (Postfix) with ESMTPSA id 840441665C5 for ; Thu, 15 Oct 2009 15:55:14 +0200 (CEST) Received: by midna.zekjur.net (Postfix, from userid 101) id C417597A1E1; Thu, 15 Oct 2009 15:55:13 +0200 (CEST) From: Michael Stapelberg To: sup-talk Date: Thu, 15 Oct 2009 15:55:13 +0200 Message-Id: <1255614656-sup-7039@midna.zekjur.net> User-Agent: Sup/git Subject: [sup-talk] before-edit hook and accessing the original sender X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org 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