From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/30393 Path: main.gmane.org!not-for-mail From: Pavel.Janik@inet.cz (Pavel =?iso-8859-2?q?Jan=EDk?= ml.) Newsgroups: gmane.emacs.gnus.general Subject: message-setup-hook called when sending from queue? Date: 26 Apr 2000 09:41:25 +0200 Organization: Qbizm technologies, a.s., Kralovopolska 139, Brno, 60112, Czech Republic Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035166938 8225 80.91.224.250 (21 Oct 2002 02:22:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:22:18 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 41049D051E for ; Wed, 26 Apr 2000 03:44:12 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id CAB26821; Wed, 26 Apr 2000 02:44:10 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 26 Apr 2000 02:43:22 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id CAA14252 for ; Wed, 26 Apr 2000 02:43:11 -0500 (CDT) Original-Received: from localgw.inet.cz (brno-l.router.inet.cz [62.229.34.226]) by mailhost.sclp.com (Postfix) with ESMTP id DABA8D051E for ; Wed, 26 Apr 2000 03:43:28 -0400 (EDT) Original-Received: from SnowWhite.inet.cz (dialup2.inet.cz [62.229.34.210]) by localgw.inet.cz (8.9.0/8.9.0) with ESMTP id JAA21177 for ; Wed, 26 Apr 2000 09:51:03 +0200 Original-Received: (from pavel@localhost) by SnowWhite.inet.cz (8.8.7/8.8.7) id JAA00919; Wed, 26 Apr 2000 09:42:13 +0200 X-Authentication-Warning: SnowWhite.inet.cz: pavel set sender to Pavel.Janik@inet.cz using -f Original-To: GNUS mailing list X-Operating-System: Linux 2.3.99-pre5 on Intel, Linux 2.2.10 on SPARC X-Spam: No unsolicited e-mail. 500 dollars per message proof-reading for unsolicited e-mail. X-Not-Receiving-Mail-From: mrp.cz, hotmail.com, post.cz, email.cz, usa.net User-Agent: Gnus/5.0805 (Gnus v5.8.5) Emacs/20.6 Original-Lines: 23 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:30393 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:30393 Hi, I have a 'fix' for the bug I reported earlier. When you have a message in the queue and you are going to send it, the message-setup-hook is called. But it should not be, because you have already the message prepared. The fix Lars commited was to add (message-setup-hook nil) to let in gnus-draft-send. But this does not fix this behaviour. The place where it fixes my problem is in gnus-draft-setup before gnus-setup-message. But this is probably not good place, because this function is called also for gnus-draft-edit-message and others where the hook should be called. This should be fixed... BTW - there is misplaced comment in gnus-draft.el: ;; Insert the separator. ... -- Pavel Janík ml. Pavel.Janik@inet.cz