From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9918 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.gnus.user Subject: problems with the news-reply-hook and the message-setup-hook Date: Thu, 15 Nov 2007 19:18:34 +0100 Message-ID: <874pfnl6dh.fsf@mat.ucm.es> Reply-To: Uwe Brauer NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1195150749 4902 80.91.229.12 (15 Nov 2007 18:19:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Nov 2007 18:19:09 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Nov 15 19:19:13 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IsjJ1-0004PU-Aw for gegu-info-gnus-english@m.gmane.org; Thu, 15 Nov 2007 19:19:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IsjIo-0007Kl-8H for gegu-info-gnus-english@m.gmane.org; Thu, 15 Nov 2007 13:18:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IsjIm-0007G5-AC for info-gnus-english@gnu.org; Thu, 15 Nov 2007 13:18:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IsjIl-0007DK-G9 for info-gnus-english@gnu.org; Thu, 15 Nov 2007 13:18:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IsjIl-0007Cv-BB for info-gnus-english@gnu.org; Thu, 15 Nov 2007 13:18:55 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IsjIl-0000UQ-0W for info-gnus-english@gnu.org; Thu, 15 Nov 2007 13:18:55 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IsjIZ-0002pz-6S for info-gnus-english@gnu.org; Thu, 15 Nov 2007 18:18:43 +0000 Original-Received: from maportatil12.quim.ucm.es ([147.96.6.137]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Nov 2007 18:18:43 +0000 Original-Received: from oub by maportatil12.quim.ucm.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Nov 2007 18:18:43 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: maportatil12.quim.ucm.es X-Hashcash: 1:20:071115:gmane.emacs.gnus.user::jXtM6Js1GIkCIiHF:00000000000000000000000000000000000000000ljf User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux) Cancel-Lock: sha1:iNeWPqpABfWWwmnI4HQAcUcb78Y= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:9918 Archived-At: Hello As you may all know today the top *posting style* is the "standard" for a lot of users and one has almost to apologise for using *bottom posting* or *inline replying*. So I modified some old code of bbdbsig which inserted different signatures according to a certain bbdb field. My code basically follows the same idea, just at the very beginning of the message there is a line Hello user, According to your last mail, And then comes the quote. Now that function I have defined interactively and in this way I can call it, however I would find it more convenient to have it in a hook, so that I don't have to call the function explicitly however I put it in the news-reply-hook and in the message-setup-hook without any result. Can anybody give me an idea? Thanks and regards Uwe Brauer