>>>>> Dale Smith <[EMAIL PROTECTED]> writes: > On 1/13/06, Jim Ottaway <[EMAIL PROTECTED]> wrote: >>>>> Dale Smith <[EMAIL PROTECTED]> writes: >> > I believe you must have the time enabled in your modeline with >> > (display-time) . I think the appt stuff uses hooks in the display >> > time functions. >> >> > See (info "(emacs) Appointments") >> >> Are you sure? I don't see anything about display-time in that info >> node. And if I start Emacs without reading the initialization files, >> do (appt-activate 1) without display-time, and add some appointments I >> get alerts.
> This is some of what is in my info file: > To enable appointment notification, you must enable the time display > feature of Emacs, `M-x display-time' (*note Mode Line::). You must > also add the function `appt-make-list' to the `diary-hook', like this: > (add-hook 'diary-hook 'appt-make-list) > Adding this text to your `.emacs' file does the whole job: > (display-time) > (add-hook 'diary-hook 'appt-make-list) > (diary 0) >> This is with GNU Emacs 22.0.50.7; perhaps it is different in >> earlier versions? Or in Xemacs? > Probably, I'm running GNU Emacs 21.3.1 Oh yes, I have just looked at the 21.4 info files and it has the same as yours there too. So, to summarize: Gnu Emacs < 22 :: (display-time) (add-hook 'diary-hook 'appt-make-list) (diary 0) ; probably only necessary for appointments in the diary file Gnu Emacs >= 22 :: (appt-activate 1) Xemacs :: (appt-initialize) ; is this correct? I was thinking that it would probably be best to do whatever is necessary to initialize the appt system in planner-appt itself [probably in planner-appt-insinuate]. Would that be a good idea? It would be very easy to do, as long as the above initialization methods are correct; and it would save users the bother of having to find out how to set up appointments correctly. Regards, -- Jim Ottaway _______________________________________________ emacs-wiki-discuss mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss
