Gnus development mailing list
 help / color / mirror / Atom feed
* message-setup-hook called when sending from queue?
@ 2000-04-26  7:41 Pavel Janík ml.
  2000-04-26  8:20 ` Shenghuo ZHU
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Janík ml. @ 2000-04-26  7:41 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-04-26 20:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-26  7:41 message-setup-hook called when sending from queue? Pavel Janík ml.
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.

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).