From mboxrd@z Thu Jan 1 00:00:00 1970 From: Friedrich Delgado Friedrichs Subject: Problem with icalendar export: all items with active timestamps are being exported Date: Wed, 28 Oct 2009 15:49:26 +0100 Message-ID: <20091028144926.GA15272@taupan.ath.cx> Reply-To: friedel@nomaden.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N39qE-0006oh-DH for emacs-orgmode@gnu.org; Wed, 28 Oct 2009 10:49:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N39q9-0006k5-GH for emacs-orgmode@gnu.org; Wed, 28 Oct 2009 10:49:37 -0400 Received: from [199.232.76.173] (port=33509 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N39q9-0006jv-C6 for emacs-orgmode@gnu.org; Wed, 28 Oct 2009 10:49:33 -0400 Received: from dudelab.org ([212.12.33.202]:3536 helo=mail.dudelab.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N39q9-0004iI-03 for emacs-orgmode@gnu.org; Wed, 28 Oct 2009 10:49:33 -0400 Received: from abrasax.taupan.ath.cx (p5DE89F2D.dip.t-dialin.net [93.232.159.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Friedrich Delgado Friedrichs", Issuer "User CA" (verified OK)) by mail.dudelab.org (Postfix) with ESMTP id 5EED322814B for ; Wed, 28 Oct 2009 15:49:46 +0100 (CET) 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 mailing list Hi! I'm trying to get a sane export to my google calendar from org mode and so I'm playing with org-export-icalendar-combine-agenda-files Here the (hopefully relevant) subset of my settings: '(org-combined-agenda-icalendar-file "~/git/Org/home/org.ics") '(org-icalendar-categories (quote (all-tags category todo-state))) '(org-icalendar-include-body 1000) '(org-icalendar-include-sexps nil) '(org-icalendar-include-todo nil) '(org-icalendar-store-UID t) '(org-icalendar-timezone "Europe/Berlin") '(org-icalendar-use-deadline (quote (event-if-not-todo event-if-todo))) '(org-icalendar-use-scheduled (quote (event-if-not-todo event-if-todo))) =20 Thing is, I'd like to get *only* scheduled or deadlined TODO items in my ics file, and I'd expect that setting (org-icalendar-include-todo nil) would export no other todo items. Unfortunately *every* item that has an active timestamp will be exported this way, even if it's not SCHEDULED: or DEADLINE:. Maybe I misunderstand the docs, but it looks like the check for (when org-icalendar-include-todo ...) in org-icalendar.le won't ever be relvant at all. (And the indentation of the when block is wrong, at least in my git checkout from today (I just refreshed it, to make sure).) Any idea? --=20 Friedrich Delgado Friedrichs TauPan on Ircnet and Freenode ;)