From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Patch that enables visibility settings in org-mode iCalendar export Date: Fri, 18 Aug 2017 11:13:50 +0200 Message-ID: <87wp61me5t.fsf@nicolasgoaziou.fr> References: <1ae60860-50ff-31a4-7e2c-1e71c4df0f22@gmail.com> <87valmnplc.fsf@nicolasgoaziou.fr> <87valm3rwe.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1didLo-0004aO-1S for emacs-orgmode@gnu.org; Fri, 18 Aug 2017 05:13:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1didLk-0006uQ-Sy for emacs-orgmode@gnu.org; Fri, 18 Aug 2017 05:13:56 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:46575) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1didLk-0006th-Ma for emacs-orgmode@gnu.org; Fri, 18 Aug 2017 05:13:52 -0400 In-Reply-To: <87valm3rwe.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Thu, 17 Aug 2017 12:39:45 -0700") 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" To: Eric Abrahamsen Cc: emacs-orgmode@gnu.org Hello, Eric Abrahamsen writes: > Hey, now's the time to bring up something I've wanted to do for > a while: I think this deserves its own thread. > adding support for per-entry timezones to the ical export. It sounds good. > I've attached a draft patch that shows what I mean. Basically you give > an entry a TIMEZONE property in the tz database format (eg > "Europe/London") and it will pass that on to the DTSTART/DTEND > properties. > > I suppose it would also be possible to have separate properties for > start and end timezones, then we could do plane trips! Right. But since Org doesn't support time zones, the usefulness may be limited. > +When optional argument TZ is non-nil, timezone data time will be > +added to the timestamp. It can be the string \"UTC\", to use UTC > +time, or a string in the IANA TZ database > +format (e.g. \"Europe/London\"). In either case, the value of > +`org-icalendar-date-time-format' will be ignored." I suggest to have symbol t as an equivalent to "UTC", for compatibility with, e.g., ZONE in `format-time-string'. Thank you for the work. Regards, -- Nicolas Goaziou