* Diary in ical export
@ 2011-02-02 5:44 Bill Purcell
2011-02-02 18:25 ` Bill Purcell
0 siblings, 1 reply; 4+ messages in thread
From: Bill Purcell @ 2011-02-02 5:44 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-02-03 5:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-02 5:44 Diary in ical export Bill Purcell
2011-02-02 18:25 ` Bill Purcell
2011-02-03 1:26 ` Bill Purcell
2011-02-03 5:22 ` Rémi Vanicat
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).