[EMAIL PROTECTED] (Edward M. Reingold) writes:
[EMAIL PROTECTED] (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
It sounds like we should systematically replace such code with
something more robust. It could use two variables,
calendar-first-visible-month and calendar-last-visible-month, to indicate
the range that is visible.
Yes, something like that; but it is not always that simple; I used that
[EMAIL PROTECTED] writes:
Alf-Ivar Holm [EMAIL PROTECTED] writes:
Could you give me _one_ function that would break? The displayed
calendar is quite static, e.g. it does not support dynamic display of
months when changing the width of the window (I could easily fit 5
months, included week
[EMAIL PROTECTED] (Edward M. Reingold) writes:
AH == Alf-Ivar Holm [EMAIL PROTECTED] writes:
AH I should point out as this is titled a hack and I do not have have a
AH test suite I will not guarantee that it works in all environments, BUT
AH I have used it with extensive diary
AH == Alf-Ivar Holm [EMAIL PROTECTED] writes:
AH (defun local-holiday-easter-etc () List of dates related to Easter in
AH Norway, as visible in calendar window. (if (and ( displayed-month
AH 5)) nil;; Ash Wednesday, Good Friday, and Easter are not visible.
This a good example of
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
The test
(if ( displayed-month 5)
checks if the center of the 3 month window is beyond May, in which case (as
the comment from my code says!) Ash Wednesday, Good Friday, and Easter
cannot
be visibible because they occur in Feb/Mar/Apr.
It sounds like we should
[EMAIL PROTECTED] (Edward M. Reingold) writes:
This kind of modification of the shape of the calendar window will
break many things in the determination of holidays and diary
entries. It is not recommended!
Yes, you told me 10 years ago, but as you have not yet provided me
with any proof and
Ehem, the version I sent were the old one, as I did the fix/update on
a different site than the one I'm posting from. Included is the
actual update, with the following change:
I agree with Kevin Rodgers that facemenu-unlisted-faces is not needed,
as I had a test for that in the not-posted
Richard Stallman wrote:
We took out `facemenu-unlisted-faces' because it was a no-op,
it did nothing. We were not sure it was worth reimplementing the
functionality. But now I see that we should.
Why? The only way Affi's calendar-hack.el uses it is:
(add-to-list 'facemenu-unlisted-faces
Just tried 22.0.91 and noticed that `facemenu-unlisted-faces' has been
removed, a variable I have used in a hack I have been using for 10
years for marking the ISO week in the calendar. This is what the it
looks like, without the colours, and with `calendar-week-start-day'
set to 1:
November
11 matches
Mail list logo