* gnus-agent, batch sending and message-setup-hook
@ 2000-03-28 11:08 Pavel Janik ml.
2000-04-20 1:02 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 4+ messages in thread
From: Pavel Janik ml. @ 2000-03-28 11:08 UTC (permalink / raw)
Hello,
I have some function in message-setup-hook which interactively chooses the
correct ispell-dictionary and other things. But when I sent some mails in
Unplugged and want to send them when I am finally Plugged with J S, Gnus will
again call message-setup-hook for each message already sent (in nndraft:queue)
and I must again press something to make my function happy. Is there some way
of distinguishing between sending from queue and direct one?
--
Pavel Janík ml.
Pavel.Janik@inet.cz
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: gnus-agent, batch sending and message-setup-hook
2000-03-28 11:08 gnus-agent, batch sending and message-setup-hook Pavel Janik ml.
@ 2000-04-20 1:02 ` Lars Magne Ingebrigtsen
2000-04-20 21:33 ` Pavel Janik ml.
0 siblings, 1 reply; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2000-04-20 1:02 UTC (permalink / raw)
Pavel.Janik@inet.cz (Pavel Janik ml.) writes:
> I have some function in message-setup-hook which interactively
> chooses the correct ispell-dictionary and other things. But when I
> sent some mails in Unplugged and want to send them when I am finally
> Plugged with J S, Gnus will again call message-setup-hook for each
> message already sent (in nndraft:queue) and I must again press
> something to make my function happy. Is there some way of
> distinguishing between sending from queue and direct one?
I don't think there is, but perhaps there should be? I could bind
some variable to some value when sending from the queue or something?
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: gnus-agent, batch sending and message-setup-hook
2000-04-20 1:02 ` Lars Magne Ingebrigtsen
@ 2000-04-20 21:33 ` Pavel Janik ml.
2000-04-21 11:55 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 4+ messages in thread
From: Pavel Janik ml. @ 2000-04-20 21:33 UTC (permalink / raw)
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Date: 20 Apr 2000 03:02:32 +0200
Hi,
> > something to make my function happy. Is there some way of
> > distinguishing between sending from queue and direct one?
>
> I don't think there is, but perhaps there should be? I could bind
> some variable to some value when sending from the queue or something?
No, there should not be, but I think that message-setup-hook should not be
called when the message is already in the queue (hey, people from England and
these countries - do you have another word like this one? errrr.. :-). The
same problem is when I want to send the mail with and empty subject (this is
already fixed in CVS you said...).
--
Pavel Janík ml.
Pavel.Janik@inet.cz
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: gnus-agent, batch sending and message-setup-hook
2000-04-20 21:33 ` Pavel Janik ml.
@ 2000-04-21 11:55 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2000-04-21 11:55 UTC (permalink / raw)
Pavel.Janik@inet.cz (Pavel Janik ml.) writes:
> No, there should not be, but I think that message-setup-hook should not be
> called when the message is already in the queue
Yup. Fix in Gnus v5.8.5.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-04-21 11:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-28 11:08 gnus-agent, batch sending and message-setup-hook Pavel Janik ml.
2000-04-20 1:02 ` Lars Magne Ingebrigtsen
2000-04-20 21:33 ` Pavel Janik ml.
2000-04-21 11:55 ` Lars Magne Ingebrigtsen
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).