From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Icalendar Export Broken in Git Version Date: Tue, 14 Aug 2012 23:40:14 -0400 Message-ID: <6150.1345002014@alphaville> References: Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1UX4-0007Fo-2T for emacs-orgmode@gnu.org; Tue, 14 Aug 2012 23:44:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1UX2-0003PN-OL for emacs-orgmode@gnu.org; Tue, 14 Aug 2012 23:44:34 -0400 Received: from g1t0028.austin.hp.com ([15.216.28.35]:24104) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1UX2-0003PJ-B3 for emacs-orgmode@gnu.org; Tue, 14 Aug 2012 23:44:32 -0400 In-Reply-To: Message from Charles Philip Chan of "Tue\, 14 Aug 2012 20\:10\:03 EDT." 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: Charles Philip Chan Cc: Org-mode Charles Philip Chan wrote: > Hello: >=20 > I tried to export an icalendar file with the current git version of > org-mode and it failed. I debugged it by loading org-install on a clean > Emacs with no init files and this is what I got: >=20 > ,---- > | Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p n= il) > | ... > | org-print-icalendar-entries(nil) > | ... > | org-export-icalendar(nil "/home/hoor/Desktop/Projects/plans/test.org") > | org-export-icalendar-this-file() > | call-interactively(org-export-icalendar-this-file record nil) > | command-execute(org-export-icalendar-this-file record) > | execute-extended-command(nil "org-export-icalendar-this-file") > | call-interactively(execute-extended-command nil nil) > `---- >=20 > If I replace org-icalendar with the version that comes with my Emacs > 24.1.50.1 everything works. >=20 There are only two recent commits against org-icalendar. The second one mentions org-print-icalendar-entries, so I bet that's the culprit :-) ,---- | commit 2cd4333398e16ddb8d321c2ab6e4fac18733b500 | Author: Bastien Guerry | Date: Sun Aug 5 18:59:51 2012 +0200 |=20 | Fix two compiler warnings. |=20 | commit 216768531f2661c4b1890eef6454f58e6cb8a241 | Author: Bastien Guerry | Date: Sun Aug 5 11:30:23 2012 +0200 |=20 | org-icalendar.el: Let APPT_WARNTIME take precedence over =CC=80org-ic= alendar-alarm-time'. |=20=20=20=20=20 | * org-icalendar.el (org-print-icalendar-entries): Let | APPT_WARNTIME take precedence over =CC=80org-icalendar-alarm-time'. `---- For future reference, if you can reproduce the problem with *uncompiled* or= g-mode, the backtrace is going to be much more readable (no byte code hieroglyphics= ). Just something to keep in mind. Nick