* can't get appointments working
@ 2007-11-07 17:27 Alfredo Buttari
2007-11-07 20:51 ` J. David Boyd
0 siblings, 1 reply; 3+ messages in thread
From: Alfredo Buttari @ 2007-11-07 17:27 UTC (permalink / raw)
To: emacs-orgmode
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
--
-----------------------------------------
Alfredo Buttari,
Innovative Computing Laboratory,
UTK Computer Science Dept.
1122 Volunteer Blvd. Knoxville, TN 37996
Tel: 001-865-974-9989
URL: http://alfredobuttari.wordpress.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: can't get appointments working
2007-11-07 17:27 can't get appointments working Alfredo Buttari
@ 2007-11-07 20:51 ` J. David Boyd
0 siblings, 0 replies; 3+ messages in thread
From: J. David Boyd @ 2007-11-07 20:51 UTC (permalink / raw)
To: emacs-orgmode
"Alfredo Buttari" <alfredo.buttari@gmail.com> 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...
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: can't get appointments working
@ 2007-11-07 22:38 Alfredo Buttari
0 siblings, 0 replies; 3+ messages in thread
From: Alfredo Buttari @ 2007-11-07 22:38 UTC (permalink / raw)
To: emacs-orgmode, david
> 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...
Thanks David,
that was exactly my mistake. It works perfectly now.
alfredo
--
-----------------------------------------
Alfredo Buttari,
Innovative Computing Laboratory,
UTK Computer Science Dept.
1122 Volunteer Blvd. Knoxville, TN 37996
Tel: 001-865-974-9989
URL: http://alfredobuttari.wordpress.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-11-07 22:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-07 17:27 can't get appointments working Alfredo Buttari
2007-11-07 20:51 ` J. David Boyd
-- strict thread matches above, loose matches on Subject: below --
2007-11-07 22:38 Alfredo Buttari
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.