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

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

Small appt/diary bug


From: Milan Zamazal
Subject: Small appt/diary bug
Date: 03 Dec 2000 10:20:38 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.92

The bug is present in both Emacs 20 and Emacs 21 pretest.

I invoke calendar and diary in my ~/.emacs.  When I start Emacs and quit
the calendar/diary immediately, diary is invoked again after a while.
This is no big problem, but it's a bit annoying.

How to reproduce the bug:

- Make your ~/diary file contain something like this

    Dec 3, 2000 foo

  where the date is todays date.  (If you have another "normal" diary
  file, it should be sufficient for the reproduction of the bug.)

- Create the file `foo.el' with the content:

(setq view-diary-entries-initially t)
(add-hook 'diary-hook 'appt-make-list)
(calendar)

- Start Emacs with the command

  emacs -q --no-site-file -l foo.el

- As soon as the Emacs start finishes, type `q' to leave the calendar
  and diary buffers.  Only *scratch* is displayed.

- After a while (unless you pressed `q' too late), not later than one
  minute, a window with diary should appear again.

I've already talked to Ed Reingold, who couldn't reproduce the problem,
but he thinks the bug is not in his code.  Note that `appt-make-list' in
the diary hook is a necessary condition for the bug to appear.

Milan Zamazal



reply via email to

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