emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: david@adboyd.com (J. David Boyd)
To: emacs-orgmode@gnu.org
Subject: Re: can't get appointments working
Date: Wed, 07 Nov 2007 15:51:39 -0500	[thread overview]
Message-ID: <878x59ok2s.fsf@adboyd.com> (raw)
In-Reply-To: 714f3a810711070927t5f82d146j2b821ac0ba746636@mail.gmail.com

"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...

  reply	other threads:[~2007-11-07 20:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-07 17:27 can't get appointments working Alfredo Buttari
2007-11-07 20:51 ` J. David Boyd [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-11-07 22:38 Alfredo Buttari

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.orgmode.org/

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

  git send-email \
    --in-reply-to=878x59ok2s.fsf@adboyd.com \
    --to=david@adboyd.com \
    --cc=emacs-orgmode@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).