Richard Stallman wrote:

>     I would assume that M-x calendar must use the database directly
>     to find out _when_ DST starts and ends to print the calendar
>     correctly.
>
> I guess that is true, for the sake of the holiday display.
>
> Given a way to check any given time for DST, it would not be too
> terribly hard to binary-search thru the calendar to find the DST start
> and end dates.

This is what it does now, only it only does it for the next year, then
assumes the result applies to every year.

As I said before, I will try making it do this for every year when
needed.

Extracting the information directly from the tz database (which must
contain it, in some format) would require less CPU, but more of my CPU
to figure out how to do it (especially in a system-portable way).



_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to