[Top][All Lists]
[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.
- Re: Changes in calendar/time-date.el, Reiner Steib, 2005/04/04
- Re: Changes in calendar/time-date.el,
Lute Kamstra <=
- Re: Changes in calendar/time-date.el, Reiner Steib, 2005/04/04
- Re: Changes in calendar/time-date.el, Lute Kamstra, 2005/04/04
- Re: Changes in calendar/time-date.el, Reiner Steib, 2005/04/04
- Re: Changes in calendar/time-date.el, Stefan Monnier, 2005/04/04
- Re: Changes in calendar/time-date.el, Kim F. Storm, 2005/04/05
- Re: Changes in calendar/time-date.el, Miles Bader, 2005/04/05
- Re: Changes in calendar/time-date.el, Kim F. Storm, 2005/04/05
- require inside functions. (was: Changes in calendar/time-date.el), Lute Kamstra, 2005/04/07
- Re: require inside functions. (was: Changes in calendar/time-date.el), Kim F. Storm, 2005/04/07
- Re: require inside functions., Stefan Monnier, 2005/04/07