emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Fontification problem with fancy diary display


From: Stephen Berman
Subject: Re: Fontification problem with fancy diary display
Date: Tue, 09 May 2006 23:27:38 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

On Tue, 09 May 2006 13:24:59 -0400 Glenn Morris <address@hidden> wrote:

> Stephen Berman wrote:
>
>> Did you try the recipe on Thursday or Friday? 
>
> Yes, I set my computer's clock forwards and backwards many times - no
> effect.

I've tried it again, but instead of resetting my computer's clock, I
changed the diary-lib.el source:

(defun diary-view-entries (&optional arg)
  "Prepare and display a buffer with diary entries.
Searches the file named in `diary-file' for entries that
match ARG days starting with the date indicated by the cursor position
in the displayed three-month calendar."
  (interactive "p")
  (diary-check-diary-file)
;;   (diary-list-entries (calendar-cursor-to-date t) arg))
  (diary-list-entries '(5 4 2006) arg)) ; Thursday, May 4, 2006

And sure enough, when I use this version of diary-view-entries with my
original recipe, I get the fontification problem I described.  Same
thing if the last line instead reads "... '(5 5 2006) ..." (Friday).
But I didn't stop there: I tried other dates falling on a Thursday or
Friday, also in other months and years -- and failed to get the
fontification problem with all of them except '(5 4 2006) and '(5 5
2006)!  With those two dates, and apparently those alone, I can
replicate the fontification problem at will.  I have no idea what's
going on here, nor why you don't see what I do.

Steve Berman





reply via email to

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