"Alfredo Buttari" <[EMAIL PROTECTED]> writes: > Hi all, > I'm trying to convert items in my org files into appointments. As far > as my understanding goes, org-agenda-to-appt has to be run every time > I start emacs so I added these lines to my .emacs file: > > (setq appt-display-format 'window) > (setq appt-display-duration 30) > (setq appt-audible t) > (setq appt-display-mode-line t) > (appt-activate 1) > (org-agenda-to-appt) > > > but when I start emacs appt-time-msg-list has value nil. However if I > run org-agenda-to-appt manually right after emacs startup, then I get > the message "1 event added for today" and the variable > appt-time-msg-list contains the appropriate values. > What am I doing wrong here? > > thanks > > alfredo
Are you calling the above code before org-mode has been loaded? You can look through the Messages buffer to see what happens at startup... _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode