From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Lewis Subject: Re: Re: icalendar export incomplete Date: Fri, 12 Feb 2010 12:50:10 +0000 Message-ID: <87sk96sjnh.wl%richard.lewis@gold.ac.uk> References: <87iqf0d87a.wl%richard.lewis@gold.ac.uk> <87pr9779xw.wl%richard.lewis@gold.ac.uk> <8C066C51-E8B2-4C0B-B795-D7207C530E45@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfuyX-0006w2-By for emacs-orgmode@gnu.org; Fri, 12 Feb 2010 07:50:25 -0500 Received: from [140.186.70.92] (port=42384 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfuyV-0006uY-Uz for emacs-orgmode@gnu.org; Fri, 12 Feb 2010 07:50:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NfuyS-0003ay-Vy for emacs-orgmode@gnu.org; Fri, 12 Feb 2010 07:50:23 -0500 Received: from sif.gold.ac.uk ([158.223.16.10]:55087) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NfuyS-0003an-GM for emacs-orgmode@gnu.org; Fri, 12 Feb 2010 07:50:20 -0500 Received: from [158.223.51.84] (helo=toverstaf.gold.ac.uk.gold.ac.uk) by sif.gold.ac.uk with esmtp id 1NfuyI-0004lR-GE for emacs-orgmode@gnu.org; Fri, 12 Feb 2010 12:50:10 +0000 In-Reply-To: <8C066C51-E8B2-4C0B-B795-D7207C530E45@gmail.com> 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 At Thu, 1 Oct 2009 13:52:39 +0200, Carsten Dominik wrote: > > On Oct 1, 2009, at 11:14 AM, Richard Lewis wrote: > > > At Wed, 30 Sep 2009 11:43:05 +0100, > > Richard Lewis wrote: > >> > >> Hi there, > >> > >> I've been trying to get org-mode to export all my TODOs and diary > >> file > >> entries to a single iCalendar file (which I then intend to import to > >> my phone). > >> > >> However, when I run the command > >> org-export-icalendar-combine-agenda-files it only exports a selection > >> of TODOs and events to the output file. They come from the various > >> .org files, but do not include all the TODOs and events from those > >> files. They seem to the ones wit the earliest time stamps. > >> > >> I also notice that it's only added ID PROPERTIES to headlines marked > >> as DONE (or any of the DONE-like SEQ_TODO options I have). > >> > >> (I have the following SEQ_TODO setup: > >> > >> #+SEQ_TODO: TODO(t) STARTED(s) WAITING(w) APPT(a) | DONE(d) > >> CANCELLED(c) DEFERRED(f) > >> ) > >> > >> Though many of the DONE (etc.) headlines which have been assigned IDs > >> do not appear in the icalendar export. > >> > >> Also, it seems to export the TODO items as VEVENTs rather than > >> VTODOs. > >> > >> I also tried org-export-icalendar-all-agenda-files and each > >> individual > >> file contained exaclt the same selection of TODOs and events that > >> appeared in the combined file. > >> > >> Any ideas how to get all my TODOs and events into an ics file? > >> > > I should also add that I'm using org-mode from the git repository > > fetched yesterday. > > > > I've also checked that it's always exactly the same selection of > > headlines that get exported. > > > > Ultimately what I'd really like to be able to do is export "from" the > > Agenda day/week view and just get a day (or week's) worth of events > > and TODOs at a time. > > Hi Richard, > > please take a look at the following variables: > > org-icalendar-include-todo > org-icalendar-use-deadline > org-icalendar-use-scheduled > org-icalendar-store-UID > > The dosctrings of these variables should explain the behavior you are > seeing, > and show ways how to change the behavior. > Thanks for your pointers (and sorry for not acknowledging them earlier.) I still haven't quite satisfactorially solved this problem. My current method is to use (org-write-agenda) and specify a .ics file. However, this doesn't seem to include entries from my ~/diary file (which *are* included in my agenda view). I have org-agenda-include-diary set to T but "~/diary" is not in my org-agenda-files. (Which I just tested and it seems [quite reasonably] that only org mode files can go in this list.) Is it possible for org-write-agenda to include ~/diary information? -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Richard Lewis ISMS, Computing Goldsmiths, University of London Tel: +44 (0)20 7078 5134 Skype: richardjlewis JID: ironchicken@jabber.earth.li http://www.richard-lewis.me.uk/ -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- +----------------------------------------------+ | Support open access to scholarship | | http://freeculture.org/ http://www.doaj.org/ | +----------------------------------------------+