* gnus-delay.el patch
@ 2001-08-10 21:09 Dan Nicolaescu
2001-08-10 22:08 ` Kai Großjohann
0 siblings, 1 reply; 2+ messages in thread
From: Dan Nicolaescu @ 2001-08-10 21:09 UTC (permalink / raw)
This simplifies a little time handling.
*Not tested* in this context, but in a backend that I have that does
similar things.
*** gnus-delay.el.~6.6.~ Tue Jul 31 06:55:32 2001
--- gnus-delay.el Fri Aug 10 14:07:02 2001
***************
*** 113,122 ****
nil t)
(progn
(setq deadline (nnheader-header-value))
! (setq deadline (apply 'encode-time (parse-time-string deadline)))
! (setq deadline (time-since deadline))
! (when (and (>= (nth 0 deadline) 0)
! (>= (nth 1 deadline) 0))
(message "Sending article %d" article)
(gnus-draft-send article group)
(message "Sending article %d...done" article)))
--- 113,121 ----
nil t)
(progn
(setq deadline (nnheader-header-value))
! (when (time-less-p (apply 'encode-time
! (parse-time-string deadline))
! (current-time))
(message "Sending article %d" article)
(gnus-draft-send article group)
(message "Sending article %d...done" article)))
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gnus-delay.el patch
2001-08-10 21:09 gnus-delay.el patch Dan Nicolaescu
@ 2001-08-10 22:08 ` Kai Großjohann
0 siblings, 0 replies; 2+ messages in thread
From: Kai Großjohann @ 2001-08-10 22:08 UTC (permalink / raw)
Cc: ding
Thanks a lot for your patch, I've committed it.
kai
--
~/.signature: No such file or directory
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-08-10 22:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-10 21:09 gnus-delay.el patch Dan Nicolaescu
2001-08-10 22:08 ` Kai Großjohann
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).