From 65496940142f2a22465d78784904c6b856657c75 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Mon, 4 Apr 2005 22:41:29 +0000 Subject: [PATCH] Synch to No Gnus 200504042236. --- lisp/ChangeLog | 30 ++++++++++++++++++++++++++++++ lisp/gnus-art.el | 1 + lisp/gnus-delay.el | 1 + lisp/gnus-demon.el | 2 ++ lisp/nnimap.el | 2 ++ lisp/nnultimate.el | 1 + 6 files changed, 37 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 183ce4f..2d45a4a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,22 @@ +005-04-04 Reiner Steib + + * message.el (message-make-date): Revert previous change. + + * nnimap.el (nnimap-date-days-ago): Revert previous change and add + defvars in order to silence the byte compiler inside the defun + + * gnus-demon.el (parse-time-string): Added autoload. + + * gnus-delay.el (parse-time-string): Added autoload. + + * gnus-art.el (parse-time-string): Added autoload. + + * message.el (parse-time): Require for `parse-time-string'. + + * nnimap.el (parse-time): Require for `parse-time-string'. + + * nnultimate.el (parse-time): Require for `parse-time-string'. + 2005-03-31 Reiner Steib * gnus-art.el (gnus-copy-article-ignored-headers): Update :version. @@ -26,6 +45,17 @@ * nnmaildir.el: Replace `illegal' with `invalid'. +2005-03-23 Lute Kamstra + + * time-date.el: Add comment on time value formats. + Don't require parse-time. + (with-decoded-time-value): New macro. + (encode-time-value): New function. + (time-to-seconds, time-less-p, time-subtract, time-add): Use them. + (days-to-time): Return a valid time value when arg is huge. + (time-since): Use time-subtract. + (time-to-number-of-days): Use time-to-seconds. + 2005-03-22 Stefan Monnier * gnus-start.el (gnus-display-time-event-handler): diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el index f58c44e..c3dbe7f 100644 --- a/lisp/gnus-art.el +++ b/lisp/gnus-art.el @@ -63,6 +63,7 @@ (autoload 'gnus-msg-mail "gnus-msg" nil t) (autoload 'gnus-button-mailto "gnus-msg") (autoload 'gnus-button-reply "gnus-msg" nil t) +(autoload 'parse-time-string "parse-time" nil nil) (autoload 'ansi-color-apply-on-region "ansi-color") (defgroup gnus-article nil diff --git a/lisp/gnus-delay.el b/lisp/gnus-delay.el index 0a9a917..dcb2856 100644 --- a/lisp/gnus-delay.el +++ b/lisp/gnus-delay.el @@ -37,6 +37,7 @@ (require 'nndraft) (require 'gnus-draft) +(autoload 'parse-time-string "parse-time" nil nil) ;;;###autoload (defgroup gnus-delay nil diff --git a/lisp/gnus-demon.el b/lisp/gnus-demon.el index cd43bbf..18a23e0 100644 --- a/lisp/gnus-demon.el +++ b/lisp/gnus-demon.el @@ -40,6 +40,8 @@ (require 'timer-funcs) (require 'timer))) +(autoload 'parse-time-string "parse-time" nil nil) + (defgroup gnus-demon nil "Demonic behaviour." :group 'gnus) diff --git a/lisp/nnimap.el b/lisp/nnimap.el index c06914e..cf1e5ce 100644 --- a/lisp/nnimap.el +++ b/lisp/nnimap.el @@ -1444,6 +1444,8 @@ function is generally only called when Gnus is shutting down." (defun nnimap-date-days-ago (daysago) "Return date, in format \"3-Aug-1998\", for DAYSAGO days ago." + (require 'parse-time) + (defvar parse-time-months) (let* ((time (nnimap-time-substract (current-time) (days-to-time daysago))) (date (format-time-string (format "%%d-%s-%%Y" diff --git a/lisp/nnultimate.el b/lisp/nnultimate.el index bab703b..b6a6ac0 100644 --- a/lisp/nnultimate.el +++ b/lisp/nnultimate.el @@ -39,6 +39,7 @@ (require 'mm-util) (require 'mm-url) (require 'nnweb) +(require 'parse-time) (autoload 'w3-parse-buffer "w3-parse") (nnoo-declare nnultimate) -- 1.7.10.4