From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harri Kiiskinen Subject: Bug: ICal export, filetags and tag inheritance Date: Fri, 15 May 2009 12:09:18 +0300 (EEST) Message-ID: <20090515.120918.200772912.harri.kiiskinen@utu.fi> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7BIT Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M4tQC-0007lT-Vp for emacs-orgmode@gnu.org; Fri, 15 May 2009 05:09:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M4tQ7-0007kf-Q0 for emacs-orgmode@gnu.org; Fri, 15 May 2009 05:09:40 -0400 Received: from [199.232.76.173] (port=42969 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M4tQ7-0007ka-Fu for emacs-orgmode@gnu.org; Fri, 15 May 2009 05:09:35 -0400 Received: from smtp-out-01.utu.fi ([130.232.202.171]:15371) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M4tQ7-0008Lg-2C for emacs-orgmode@gnu.org; Fri, 15 May 2009 05:09:35 -0400 Received: from localhost (dyn32-44.vpn.utu.fi [130.232.32.44]) by smtp01.mess.utu.fi (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTPS id <0KJO00BW2HFIED00@smtp01.mess.utu.fi> for emacs-orgmode@gnu.org; Fri, 15 May 2009 12:09:18 +0300 (EEST) 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 There is an elusive bug in the ICal export functions. To demonstrate it, open this file, allow for the use of the local variable, and run 'org-export-icalendar-this-file'. What I get is the message "Wrong type argument: stringp, nil" ----------------------------- #+FILETAGS: test * TODO header # Local Variables: # org-use-tag-inheritance: "^[t]" # End: ----------------------------- Now, the funny thing is, that if you change the filetag from "test" to "est", close the file, and open it again, the file will be exported fine! It seems, that if the filetag does match the regular expression in org-use-tag-inheritance, then the result is error. There's something quite fishy here, so I'm not sure I have managed to cover all the cases, but after many weeks, I finally managed to track it down to this. Best, Harri K.