From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill Purcell Subject: Diary in ical export Date: Tue, 1 Feb 2011 23:44:34 -0600 Message-ID: <20110202054434.GA27257@lloyd> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=43914 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PkVWa-0002QD-Hl for emacs-orgmode@gnu.org; Wed, 02 Feb 2011 00:45:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PkVWK-0003Fu-9I for emacs-orgmode@gnu.org; Wed, 02 Feb 2011 00:44:49 -0500 Received: from mta21.charter.net ([216.33.127.81]:56732) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PkVWK-0003FX-5D for emacs-orgmode@gnu.org; Wed, 02 Feb 2011 00:44:48 -0500 Received: from imp11 ([10.20.200.11]) by mta21.charter.net (InterMail vM.7.09.02.04 201-2219-117-106-20090629) with ESMTP id <20110202054446.TOOI3705.mta21.charter.net@imp11> for ; Wed, 2 Feb 2011 00:44:46 -0500 Received: from localhost (unknown [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by whpiv.net (Postfix) with ESMTPSA id 0CC7A4071C for ; Tue, 1 Feb 2011 23:44:32 -0600 (CST) Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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