unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Karl Eichwalder <keichwa@gmx.net>
Subject: Re: Calendar's buffer hooks
Date: Wed, 18 Sep 2002 10:36:32 +0200	[thread overview]
Message-ID: <sh4rcnpucv.fsf_-_@tux.gnu.franken.de> (raw)
In-Reply-To: slrnaoe1nb.p3a.simon@ladmin.partex.co.uk

Simon Hooper <simon@trickshot.nu> writes:

> (add-hook 'calendar-mode-hook 'simon-calendar-function)

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

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

I just found it's documented in the manual:

File: elisp,  Node: Calendar Customizing,  Next: Holiday Customizing,  Up: Calendar

Customizing the Calendar

[...]

   Starting the calendar runs the normal hook
`initial-calendar-window-hook'.  Recomputation of the calendar display
does not run this hook.  But if you leave the calendar with the `q'
command and reenter it, the hook runs again.


-- 
ke@suse.de (work) / keichwa@gmx.net (home):              |
http://www.suse.de/~ke/                                  |      ,__o
Free Translation Project:                                |    _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/             |   (*)/'(*)

  reply	other threads:[~2002-09-18  8:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-14  9:45 trailing whitespace visible on some buffers Luis O. Silva
2002-09-17 10:30 ` Calendar's buffer hooks (was trailing whitespace visible on some buffers) Luis O. Silva
     [not found] ` <mailman.1032257775.4079.help-gnu-emacs@gnu.org>
2002-09-17 10:49   ` Simon Hooper
2002-09-18  8:36     ` Karl Eichwalder [this message]
2002-09-19  5:32       ` Calendar's buffer hooks Luis O. Silva
     [not found]       ` <mailman.1032412637.13710.help-gnu-emacs@gnu.org>
2002-09-20 18:51         ` Karl Eichwalder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sh4rcnpucv.fsf_-_@tux.gnu.franken.de \
    --to=keichwa@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).