emacs-wiki-discuss
[Top][All Lists]
Advanced

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

[emacs-wiki-discuss] Re: planner-appt: fix XEmacs initialization


From: René
Subject: [emacs-wiki-discuss] Re: planner-appt: fix XEmacs initialization
Date: Mon, 30 Jan 2006 10:59:43 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Jim Ottaway <j.ottaway <at> lse.ac.uk> writes:
> I think this patch should fix the initialization of planner-appt for
> XEmacs.  I looked at the documentation for XEmacs's appt.el; it says
> that display-time is required before appt-initialize.

I still don't manage to have my planner-cyclic-diary-file be taken as source to
update plan pages.

Here is my config:

(require 'planner-cyclic)
(planner-option-customized 'planner-cyclic-diary-file "~/mycyclic.diary" )
(require 'planner-appt)
(planner-appt-use-schedule)
(planner-appt-insinuate)
(setq planner-appt-sort-schedule-on-update-flag t)
(planner-appt-schedule-cyclic-insinuate)
(planner-option-customized 'planner-appt-schedule-cyclic-behaviour 'future)
(setq planner-appt-update-appts-on-save-flag t)
(planner-appt-calendar-insinuate)

My planner-cyclic-diary-file contains entries such as:

  31 Jan 2006 @16h00 | 17:30 | Important meeting

How can I have planner automatically include such line in the "* Schedule"
section of my plan files ?

Here is the backtrace:

Debugger entered--Lisp error: (error "You don't have a diary file!")
  signal(error ("You don't have a diary file!"))
  cerror("You don't have a diary file!")
  apply(cerror "You don't have a diary file!" nil)
  error("You don't have a diary file!")
  diary(1)
  appt-diary-entries()
  appt-initialize()
  (cond ((fboundp ...) (appt-activate 1)) ((fboundp ...) (display-time)
(appt-initialize)) (t (display-time) (add-hook ... ...)))
  planner-appt-insinuate()

Thanks for your help

--
René





reply via email to

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