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

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

Re: Calendar's buffer hooks


From: Luis O. Silva
Subject: Re: Calendar's buffer hooks
Date: Thu, 19 Sep 2002 09:32:26 +0400

Karl,

On Wed, 18 Sep 2002 10:36:32 +0200, Karl Eichwalder writes:

   Karl> Simon Hooper <simon@trickshot.nu> writes:
   >> (add-hook 'calendar-mode-hook 'simon-calendar-function)

   Karl> calendar-mode-hook isn't defined.  Try:

   Karl> (add-hook 'initial-calendar-window-hook
   Karl> 'simon-calendar-function)

   Karl> I just found it's documented in the manual:

I don't know why but, when using
`initial-calendar-window-hook' in the following:

(setq-default show-trailing-whitespace t)
...
...
(add-hook 'initial-calendar-window-hook
          (lambda ()
            (setq show-trailing-whitespace nil)))

the trailing whitespace disappears only partially (!!!???) and,
after some event take place (or after some time --~30 sec.)
(!!!???), it disappears completely. The result is similar to
the one obtained using the hook: `today-visible-calendar-hook'.

Could anybody explain why this delay happens?
Thank you.

luis


-- 
Luis Octavio Silva P.
St. Petersburg State University.
66/3 Botanicheskaya St., Apt.119/2
Stary Peterhof
St. Petersburg, Russia.







reply via email to

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