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

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

Re: Make calendar-mark-today update at midnight


From: Glenn Morris
Subject: Re: Make calendar-mark-today update at midnight
Date: Thu, 29 Mar 2007 21:32:35 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Stephen Berman wrote:

> Set today-visible-calendar-hook to 'calendar-mark-today in your
> init-file or via Custom.  Then, if you have the calendar buffer open
> before midnight and keep it open past the stroke of midnight, the
> marked date remains unchanged, i.e., now yesterday is marked.

I'm inclined to consider changing this as adding a feature, rather
than fixing a bug (it's always been like this), and so would rather
not change it now, even if the solution seems simple.

>  The following patch makes the marked date change at midnight, i.e.,
> keeps today as the marked date, but I'm not sure it's the best way
> to deal with this issue.

I guess it will have to be something using a timer.





reply via email to

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