From: Dan Nicolaescu <dann@godzilla.ics.uci.edu>
Subject: gnus-delay.el patch
Date: 10 Aug 2001 14:09:07 -0700 [thread overview]
Message-ID: <m3g0az7hcc.fsf@amrm2.ics.uci.edu> (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)))
next reply other threads:[~2001-08-10 21:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-10 21:09 Dan Nicolaescu [this message]
2001-08-10 22:08 ` Kai Großjohann
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=m3g0az7hcc.fsf@amrm2.ics.uci.edu \
--to=dann@godzilla.ics.uci.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).