gnu-emacs-sources
[Top][All Lists]
Advanced

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

Re: Calendar hack: Displaying ISO weeks, update for emacs 22, the real u


From: Alf-Ivar Holm
Subject: Re: Calendar hack: Displaying ISO weeks, update for emacs 22, the real update
Date: Fri, 08 Dec 2006 12:10:28 +0100
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux)

address@hidden (Edward M. Reingold) writes:

>> address@hidden (Edward M. Reingold) writes:
>>> How do you know that the holidays are correct when the calendar
>>> has more than 3 months? Do you have a way to check, say, the dates
>>> of lunar phases, Easter, Chinese New Year, Yom Kippur, Islamic New
>>> Year, solstices/equinoxes?  You will see SOME holidays (or diary
>>> entries) but not all that apply to the months displayed.

I now see that I misread this question: I read it as it was about the
hack as it is implemented now and how I know that the hack works with
non-fixed holidays, not about my comment about the non-implemented
dynamically sized calendar.

The answer to the question above is: I don't know, and that is why I
wrote that I had to specifically test for it if it were implemented,
for instance in the way that RMS wrote in
<address@hidden>.

[...]
> if the window is 5 months wide, they could be visible and the
> command to list or highlight all holidays will miss them.
>
> Almost all of the non-trivial holidays/diary entries would suffer in
> the same way, so rewriting the code properly to display a wider
> window means modifying almost every holiday/diary function in some
> (usually non-obvious) way.

That supports the point I was trying to make.  Since this feature is
not implemented I do not have to bother with it in the modified code -
as the current calendar is static.

        Affi


reply via email to

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