From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lute Kamstra Newsgroups: gmane.emacs.gnus.semi.japanese,gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Changes in calendar/time-date.el Date: Thu, 31 Mar 2005 14:58:48 +0200 Message-ID: <871x9w9dkn.fsf@xs4all.nl> References: Reply-To: semi-gnus-ja@meadowy.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1112273969 14784 80.91.229.2 (31 Mar 2005 12:59:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 31 Mar 2005 12:59:29 +0000 (UTC) Cc: emacs-devel@gnu.org, ding@gnus.org, semi-gnus-ja@meadowy.org, Miles Bader Original-X-From: semi-gnus-ja-return-12928-gegsj-semi-gnus-ja-403=m.gmane.org@meadowy.org Thu Mar 31 14:59:23 2005 Return-path: Original-Received: from meadow.scphys.kyoto-u.ac.jp ([130.54.54.165]) by ciao.gmane.org with smtp (Exim 4.43) id 1DGzFP-0000k1-Km for gegsj-semi-gnus-ja-403@gmane.org; Thu, 31 Mar 2005 14:58:08 +0200 Original-Received: (qmail 4068 invoked by uid 1001); 31 Mar 2005 12:59:00 -0000 Mailing-List: contact semi-gnus-ja-help@meadowy.org; run by ezmlm Original-Sender: semi-gnus-ja-owner@meadowy.org X-ML-NAME: semi-gnus-ja Precedence: bulk Original-Received: (qmail 19367 invoked from network); 31 Mar 2005 12:58:59 -0000 X-SendingHost: 194.109.24.24 Original-To: Reiner Steib In-Reply-To: (Reiner Steib's message of "Thu, 31 Mar 2005 13:27:51 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Original-Lines: 46 X-Virus-Scanned: by XS4ALL Virus Scanner X-ML-COUNT: 12928 Xref: news.gmane.org gmane.emacs.gnus.semi.japanese:5651 gmane.emacs.devel:35421 gmane.emacs.gnus.general:60073 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35421 Reiner Steib writes: > On Wed, Mar 30 2005, Katsumi Yamaoka wrote: > >> There's no ChangeLog for the recent changes of time-date.el and >> I don't know who did it for what purpose, > > [ I'm adding emacs-devel. ] > In Emacs, `time-date.el' is located in the calendar subdirectory. > Probably Miles' script cannot fetch the ChangeLog automatically. > > I think this is the relevant entry: > > ,----[ lisp/ChangeLog ] > | 2005-03-23 Lute Kamstra > | [...] > | * calendar/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. > `---- > >> but at least the byte compiler complains to me about some missing >> Lisp objects. What should we do for that? > > Probably we need to add (require 'parse-time) to nnimap.el, > nnultimate.el and pop3.el. I gather from this message that time-date's home is actually Gnus' CVS? I wasn't aware of that. In Emacs' CVS it's in lisp/calendar and not in lisp/gnus, so ChangeLog entries go to lisp/ChangeLog and not lisp/gnus/ChangeLog. This should probably be dealt with manually when synchronizing Emacs' CVS and Gnus' CVS. I removed (require 'parse-time) from time-date because it uses just parse-time-string, which is autoloaded. Do I understand correctly my change uncovered some bugs in nnimap.el, nnultimate.el and pop3.el? I already noticed (and fixed) this for message.el. I don't use nnimap.el, nnultimate.el or pop3.el so I didn't catch those. I'm sorry for that. Lute.