* 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
* Re: Diary in ical export
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
0 siblings, 2 replies; 4+ messages in thread
From: Bill Purcell @ 2011-02-02 18:25 UTC (permalink / raw)
To: emacs-orgmode
Does anyone export Diary dates when exporting to ics from within
org-mode? I thought this would be handled with (setq
org-agenda-include-diary t) but that doesn't do it form me.
- Bill
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Diary in ical export
2011-02-02 18:25 ` Bill Purcell
@ 2011-02-03 1:26 ` Bill Purcell
2011-02-03 5:22 ` Rémi Vanicat
1 sibling, 0 replies; 4+ messages in thread
From: Bill Purcell @ 2011-02-03 1:26 UTC (permalink / raw)
To: emacs-orgmode
So I guess that I was hallucinating that it was possible to export
Diary dates when exporting the org agenda to iCal. I am going to use
icalendar.el similar to [1] unless someone chimes in with a more
org-mode-esque way of approaching it.
[1] http://www.mail-archive.com/emacs-orgmode@gnu.org/msg00523.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Diary in ical export
2011-02-02 18:25 ` Bill Purcell
2011-02-03 1:26 ` Bill Purcell
@ 2011-02-03 5:22 ` Rémi Vanicat
1 sibling, 0 replies; 4+ messages in thread
From: Rémi Vanicat @ 2011-02-03 5:22 UTC (permalink / raw)
To: emacs-orgmode
Bill Purcell <william@whpiv.net> writes:
> Does anyone export Diary dates when exporting to ics from within
> org-mode? I thought this would be handled with (setq
> org-agenda-include-diary t) but that doesn't do it form me.
I do export diary-style sexp date: not all diary date are exportable,
for more information look at the icalendar.el.
this :
%%(diary-anniversary 12 20 2010) My Son's %d%s Birthday.
don't seen to be exported,
but this:
<%%(diary-anniversary 12 20 2010)> My Son's %d%s Birthday.
is exported
--
Rémi Vanicat
^ 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).