Gnus development mailing list
 help / color / mirror / Atom feed
From: Pavel.Janik@inet.cz (Pavel Janík ml.)
Subject: message-setup-hook called when sending from queue?
Date: 26 Apr 2000 09:41:25 +0200	[thread overview]
Message-ID: <m3itx5wbq2.fsf@SnowWhite.inet.cz> (raw)

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



             reply	other threads:[~2000-04-26  7:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-26  7:41 Pavel Janík ml. [this message]
2000-04-26  8:20 ` Shenghuo ZHU
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=m3itx5wbq2.fsf@SnowWhite.inet.cz \
    --to=pavel.janik@inet.cz \
    /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).