emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bill Purcell <william@whpiv.net>
To: emacs-orgmode@gnu.org
Subject: Diary in ical export
Date: Tue, 1 Feb 2011 23:44:34 -0600	[thread overview]
Message-ID: <20110202054434.GA27257@lloyd> (raw)

I have seen some traffic on the mailing list about diary inclusion in
ical exports but I haven't found an answer to my problem.  I thought
this was working at some point.  To simplify I have a basic config
file:

(setq load-path (append '("~/.emacs.d/org-mode/lisp") load-path))
(ignore-errors (require 'org))
(ignore-errors (require 'org-install))

(setq
 diary-file "~/tmp/org-diary/t.txt"
 org-agenda-files '("~/tmp/org-diary/t.org")
 org-directory "~/tmp/org-diary"
 org-combined-agenda-icalendar-file "~/tmp/org-diary/cal.ics"
 org-icalendar-timezone "US/Central"
 org-agenda-include-diary t
)

and then a sample org file

* Project
** Something Todo
<2011-02-02 Wed>

and then a sample diary

%%(diary-anniversary 12 20 2010) My Son's  %d%s Birthday.
*/2 Something Monthly

When I export with this command

emacs --no-init-file --no-site-file --batch --kill -l t.el -f org-export-icalendar-combine-agenda-files

I get the following file

BEGIN:VCALENDAR
VERSION:2.0
X-WR-CALNAME:OrgMode
PRODID:-//Bill Purcell//Emacs with Org-mode//EN
X-WR-TIMEZONE:US/Central
X-WR-CALDESC:nil
CALSCALE:GREGORIAN
BEGIN:VEVENT
UID: TS-128b8b55-d9fd-4fe8-a7e7-6ebcbf21edda
DTSTART;VALUE=DATE:20110202
DTEND;VALUE=DATE:20110203
SUMMARY:Something Todo
DESCRIPTION: <2011-02-02 Wed>
CATEGORIES:t
END:VEVENT
END:VCALENDAR

Obviously I'm missing the diary stuff.  I am using Orgmode version
7.4 and emacs 23.1.

- Bill
 

             reply	other threads:[~2011-02-02  5:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-02  5:44 Bill Purcell [this message]
2011-02-02 18:25 ` Diary in ical export Bill Purcell
2011-02-03  1:26   ` Bill Purcell
2011-02-03  5:22   ` Rémi Vanicat

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=20110202054434.GA27257@lloyd \
    --to=william@whpiv.net \
    --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).