From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.204.134.218 with SMTP id k26cs75981bkt; Thu, 10 Jun 2010 09:20:57 -0700 (PDT) Received: by 10.150.252.8 with SMTP id z8mr2173771ybh.3.1276186853699; Thu, 10 Jun 2010 09:20:53 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id c1si300118ibg.6.2010.06.10.09.20.51; Thu, 10 Jun 2010 09:20:52 -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 7E7C7185838B; Thu, 10 Jun 2010 12:20:51 -0400 (EDT) Received: from sam.mediasupervision.de (sam.mediasupervision.de [80.152.3.104]) by rubyforge.org (Postfix) with ESMTP id 5BFF51858354 for ; Thu, 10 Jun 2010 12:08:35 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by sam.mediasupervision.de (Postfix) with ESMTP id D6DB94860A1; Thu, 10 Jun 2010 18:08:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at sam.mediasupervision.de Received: from sam.mediasupervision.de ([127.0.0.1]) by localhost (sam.mediasupervision.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mkm+XsYAo9XA; Thu, 10 Jun 2010 18:08:34 +0200 (CEST) Received: by sam.mediasupervision.de (Postfix, from userid 1000) id B0C584860A6; Thu, 10 Jun 2010 18:08:34 +0200 (CEST) From: Gregor Hoffleit To: Eric Sherman In-reply-to: <1276185501-sup-3012@changeling.local> References: <1275850632-sup-6402@ubuntu.ubuntu-domain> <1275884981-sup-4509@roughage.com.au> <1275973780-sup-5206@ubuntu.ubuntu-domain> <1275997525-sup-9347@changeling.local> <1276184688-sup-7287@sam.mediasupervision.de> <1276185501-sup-3012@changeling.local> Date: Thu, 10 Jun 2010 18:08:34 +0200 Message-Id: <1276185930-sup-2153@sam.mediasupervision.de> User-Agent: Sup/git Cc: sup-talk Subject: Re: [sup-talk] choosing signatures 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 * Eric Sherman [Do Jun 10 18:01:15 +0200 2010] > Excerpts from Gregor Hoffleit's message of Thu Jun 10 11:52:25 -0400 2010: > > at first, that looks like a duplication of code. Could you elaborate why > > you use both of these hooks? > > Yes. The reply-from hook only triggers when replying, whereas the > before-edit hook triggers also when composing a new email. Wouldn't the before-edit hook work for replying, as well? Gregor > In this way I can ensure that for instance when I start a new thread to > recipients at my workplace or its vendors, the correct non-default From > address (and thusly the correct non-default sup account and signature and > so on) is selected. _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk