gnus-delay.el (gnus-delay-article) Fix number of seconds per day. Improve prompt.
authorGnus developers <ding@gnus.org>
Sun, 13 Feb 2011 23:30:55 +0000 (23:30 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Sun, 13 Feb 2011 23:30:55 +0000 (23:30 +0000)
gnus-art.el (gnus-article-mode-line-format): Remove the article washing status from the default format.  It isn't very informative.

lisp/gnus/ChangeLog
lisp/gnus/gnus-art.el
lisp/gnus/gnus-delay.el

index 9c1de7d..1760b0f 100644 (file)
@@ -1,3 +1,13 @@
+2011-02-13  Adam Sjøgren  <asjo@koldfront.dk>
+
+       * gnus-delay.el (gnus-delay-article) Fix number of seconds per day.
+       Improve prompt.
+
+2011-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-art.el (gnus-article-mode-line-format): Remove the article
+       washing status from the default format.  It isn't very informative.
+
 2011-02-13  Tassilo Horn  <tassilo@member.fsf.org>  (tiny change)
 
        * nnimap.el (nnimap-request-accept-article, nnimap-process-quirk): Fix
index 54797b2..d7c0d7a 100644 (file)
@@ -683,7 +683,7 @@ beginning of a line."
   :type 'regexp
   :group 'gnus-article-various)
 
-(defcustom gnus-article-mode-line-format "Gnus: %g [%w] %S%m"
+(defcustom gnus-article-mode-line-format "Gnus: %g %S%m"
   "*The format specification for the article mode line.
 See `gnus-summary-mode-line-format' for a closer description.
 
@@ -691,6 +691,7 @@ The following additional specs are available:
 
 %w  The article washing status.
 %m  The number of MIME parts in the article."
+  :version "24.1"
   :type 'string
   :group 'gnus-article-various)
 
index a06a510..bfd1705 100644 (file)
@@ -78,7 +78,7 @@ DELAY is a string, giving the length of the time.  Possible values are:
   time, then the deadline is tomorrow, else today."
   (interactive
    (list (read-string
-         "Target date (YYYY-MM-DD) or length of delay (units in [mhdwMY]): "
+         "Target date (YYYY-MM-DD), time (hh:mm), or length of delay (units in [mhdwMY]): "
          gnus-delay-default-delay)))
   (let (num unit days year month day hour minute deadline)
     (cond ((string-match
@@ -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))))