From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Bug: Footnotes break iCalendar export [8.0.1 (release_8.0.1 @ /home/rwl/src/org-mode/lisp/)] Date: Sun, 21 Apr 2013 15:11:39 +0200 Message-ID: <877gjwowok.fsf@bzg.ath.cx> References: <87li8c9a6f.fsf@berkeley.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTu3T-0003qp-O7 for emacs-orgmode@gnu.org; Sun, 21 Apr 2013 09:11:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UTu3S-0004dw-Oa for emacs-orgmode@gnu.org; Sun, 21 Apr 2013 09:11:43 -0400 Received: from mail-we0-x229.google.com ([2a00:1450:400c:c03::229]:36990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTu3S-0004dc-Gm for emacs-orgmode@gnu.org; Sun, 21 Apr 2013 09:11:42 -0400 Received: by mail-we0-f169.google.com with SMTP id p43so2163438wea.28 for ; Sun, 21 Apr 2013 06:11:41 -0700 (PDT) In-Reply-To: <87li8c9a6f.fsf@berkeley.edu> (Richard Lawrence's message of "Sat, 20 Apr 2013 14:14:32 -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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Richard Lawrence Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Hi Richard, Richard Lawrence writes: > I've been trying to get iCalendar export working with my agenda files > again since upgrading to 8.0, and I've found that footnotes break the > agenda export to .ics. The problem is that a plain text version of the > footnotes in the file ends up in the output "floating loose"---not > wrapped by VEVENT tags or any other tags---resulting in an unparseable > .ics file (at least according to Google Calendar). I tried this patch but for some reason it does not work. I did not look further, surely Nicolas has something that works. I agree footnotes should be turned off by default for the .ics export. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=ox-icalendar.el.patch diff --git a/lisp/ox-icalendar.el b/lisp/ox-icalendar.el index 49299b0..ceb2df0 100644 --- a/lisp/ox-icalendar.el +++ b/lisp/ox-icalendar.el @@ -266,6 +266,7 @@ re-read the iCalendar file.") '((:exclude-tags "ICALENDAR_EXCLUDE_TAGS" nil org-icalendar-exclude-tags split) (:with-timestamps nil "<" org-icalendar-with-timestamps) + (:with-footnotes nil "f" nil) (:with-vtodo nil nil org-icalendar-include-todo) ;; The following property will be non-nil when export has been ;; started from org-agenda-mode. In this case, any entry without --=-=-= Content-Type: text/plain -- Bastien --=-=-=--