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
 

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to