Gnus development mailing list
 help / color / mirror / Atom feed
From: Shenghuo ZHU <zsh@cs.rochester.edu>
Subject: Re: message-setup-hook called when sending from queue?
Date: 26 Apr 2000 04:20:05 -0400	[thread overview]
Message-ID: <2n4s8pl1e2.fsf@tiger.jia.vnet> (raw)
In-Reply-To: Pavel.Janik@inet.cz's message of "26 Apr 2000 09:41:25 +0200"

>>>>> "Pavel" == Pavel Janík ml <Pavel.Janik@inet.cz> writes:

Pavel> Hi,

Pavel> I have a 'fix' for the bug I reported earlier. When you have a
Pavel> message in the queue and you are going to send it, the
Pavel> message-setup-hook is called. But it should not be, because you
Pavel> have already the message prepared.

Pavel> The fix Lars commited was to add 

Pavel>  (message-setup-hook nil)

Pavel> to let in gnus-draft-send. But this does not fix this
Pavel> behaviour. The place where it fixes my problem is in
Pavel> gnus-draft-setup before gnus-setup-message. But this is
Pavel> probably not good place, because this function is called also
Pavel> for gnus-draft-edit-message and others where the hook should be
Pavel> called. This should be fixed...

Pavel> BTW - there is misplaced comment in gnus-draft.el:

Pavel>           ;; Insert the separator.
Pavel> ...

In the latest CVS version, I believe I have fixed the gnus-draft-setup
bug. Please test it.

-- 
Shenghuo



  reply	other threads:[~2000-04-26  8:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-26  7:41 Pavel Janík ml.
2000-04-26  8:20 ` Shenghuo ZHU [this message]
2000-04-26 15:32   ` Pavel Janík ml.
2000-04-26 16:37     ` Shenghuo ZHU
2000-04-26 20:54       ` Pavel Janík ml.

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=2n4s8pl1e2.fsf@tiger.jia.vnet \
    --to=zsh@cs.rochester.edu \
    /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;
as well as URLs for NNTP newsgroup(s).