emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changes in calendar/time-date.el


From: Lute Kamstra
Subject: Re: Changes in calendar/time-date.el
Date: Mon, 04 Apr 2005 12:57:32 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Reiner Steib <address@hidden> writes:

>> 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.  
>
> Wouldn't it be better to put (require 'parse-time) at the beginning of
> the file instead of inside `message-make-date'?

message-make-date is the only function in message.el that uses
parse-time, so it's best to put the require there.  If you change
message-make-date so that it no longer uses parse-time, you will
probably notice the require and remove it.  Had you put require at the
beginning of the file, you would most likely forget this.  Putting a
require at the beginning of a file is useful if the file uses a
particular feature a lot.

Lute.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]