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

2006-12-08 Thread Alf-Ivar Holm
[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

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

2006-12-07 Thread Alf-Ivar Holm
[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

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

2006-12-07 Thread Alf-Ivar Holm
[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

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

2006-12-06 Thread Alf-Ivar Holm
[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

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

2006-12-06 Thread Alf-Ivar Holm
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

Calendar hack: Displaying ISO weeks, update for emacs 22

2006-12-01 Thread Alf-Ivar Holm
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