after-save-hook set to diary-redraw-calendar when calendar buffer was previously marked

Dr. Volker Zell Dr.Volker.Zell at oracle.com
Tue Jul 10 06:40:03 EDT 2007


Hi

I recently upgraded the calendar package from 1.23 to 1.32 (xemacs versions) which seems 
to be more or less in sync with the latest package from emacs-22.1. There is a new 
function 'diary-redraw-calendar'.

Whenever I save a file the previously marked calendar buffer will be remarked, 
which on my machine takes about 2 annoying seconds. Checking the after-save-hook variable, 
shows that diary-redraw-calendar is set unconditionally after first marking diary entries.

Latest emacs doesn't show this behaviour. Steps to reproduce:

Start with xemacs -q  (21.4.20)

M-x calendar
M-x mark-diary-entries
M-x describe-variable
->after-save-hook       => (diary-redraw-calendar)


Start with emacs -q (Latest 22.1)

M-x calendar
M-x mark-diary-entries
M-x describe-variable
->after-save hook       => nil

Ciao
  Volker



More information about the XEmacs-Beta mailing list