From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Engster Subject: Re: Timestamps in properties not exported by icalendar exporter Date: Sat, 22 Feb 2014 11:38:42 +0100 Message-ID: <877g8nig99.fsf@engster.org> References: <87bny0ia7d.fsf@engster.org> <87lhx34h2h.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WH9yy-0005RP-SB for emacs-orgmode@gnu.org; Sat, 22 Feb 2014 05:39:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WH9ys-0002Pq-Si for emacs-orgmode@gnu.org; Sat, 22 Feb 2014 05:38:56 -0500 Received: from randomsample.de ([5.45.97.173]:48449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WH9ys-0002Ph-J3 for emacs-orgmode@gnu.org; Sat, 22 Feb 2014 05:38:50 -0500 In-Reply-To: <87lhx34h2h.fsf@gmail.com> (Nicolas Goaziou's message of "Sat, 22 Feb 2014 10:44:54 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Nicolas Goaziou writes: > David Engster writes: >> These entries show up in the agenda just fine, but the icalendar >> exporter does not export it because the timestamp is in the properties >> (the gnus-icalendar package puts it there so that you can easily change >> it if the organizer decides to change the event and sends a change >> request). >> >> The exporter could of course simply take the first timestamp it finds in >> the properties, but it could be the wrong one; for instance, there could >> be a LOGBOOK timestamp before the one in DT. Hence I think it would be >> nice if you could tell the exporter which property to use as timestamp >> during export. > > Can't you just walk the buffer and turn such properties into plain > time-stamps (or scheduled, deadline...), in a hook? Yes, I could do that for my specific setup. But it would be nice if this stuff could "just work", so that things like Outlook calendar invites can be directly exported to .ics. I mean, those entries show up in the agenda, so I found it rather surprising that they are completely ignored by the exporter. I think it would make sense if the exporter also looked for time-stamps in the properties. Maybe it could just take the first one it finds (which I guess is what the agenda does?), and also give the user the ability to configure which properties to look at (or maybe an exclude option). -David