Gnus development mailing list
 help / color / mirror / Atom feed
From: asjo@koldfront.dk (Adam Sjøgren)
To: ding@gnus.org
Subject: [PATCH] Make gnus-delay-article work for HH:MM on the next day.
Date: Sun, 13 Feb 2011 20:13:54 +0100	[thread overview]
Message-ID: <87zkpzkarx.fsf@topper.koldfront.dk> (raw)
In-Reply-To: <87hbc723k3.fsf@topper.koldfront.dk>

* (gnus-delay-article) Fix number of seconds per day.
---
 lisp/ChangeLog     |    4 ++++
 lisp/gnus-delay.el |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d19efb0..dc45746 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2011-02-13  Adam Sjøgren  <asjo@koldfront.dk>
+
+	* gnus-delay.el (gnus-delay-article) Fix number of seconds per day.
+
 2011-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
 
 	* gnus-art.el (gnus-article-mode-line-format): Remove the article
diff --git a/lisp/gnus-delay.el b/lisp/gnus-delay.el
index a06a510..9b5a320 100644
--- a/lisp/gnus-delay.el
+++ b/lisp/gnus-delay.el
@@ -105,7 +105,7 @@ DELAY is a string, giving the length of the time.  Possible values are:
 						  (append deadline nil))))
 	   ;; If this time has passed already, add a day.
 	   (when (< deadline (gnus-float-time))
-	     (setq deadline (+ 3600 deadline))) ;3600 secs/day
+	     (setq deadline (+ 86400 deadline))) ; 86400 secs/day
 	   ;; Convert seconds to date header.
 	   (setq deadline (message-make-date
 			   (seconds-to-time deadline))))
-- 
1.7.2.3




  reply	other threads:[~2011-02-13 19:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-13 18:27 Delayed sending by time Adam Sjøgren
2011-02-13 19:13 ` Adam Sjøgren [this message]
2011-02-13 19:23   ` [PATCH] Make gnus-delay-article work for HH:MM on the next day Lars Ingebrigtsen
2011-02-13 19:29     ` [PATCH] Improve delay prompt Adam Sjøgren
2011-02-13 19:40       ` Lars Ingebrigtsen
2011-02-13 19:31     ` Make gnus-delay-article work for HH:MM on the next day Adam Sjøgren
2011-02-13 19:30   ` [PATCH] " Tassilo Horn
2011-02-13 19:33     ` Adam Sjøgren

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=87zkpzkarx.fsf@topper.koldfront.dk \
    --to=asjo@koldfront.dk \
    --cc=ding@gnus.org \
    /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).