From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacob Toft Pedersen Subject: There was no year zero, agenda -bug/feature Date: Thu, 27 Aug 2009 08:58:59 +0200 Message-ID: <1251356340.4553.2.camel@lisbeth> Reply-To: jacob@rotand.dk Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2121237667==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MgYxi-0005wn-4M for emacs-orgmode@gnu.org; Thu, 27 Aug 2009 02:59:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MgYxd-0005rw-JY for emacs-orgmode@gnu.org; Thu, 27 Aug 2009 02:59:57 -0400 Received: from [199.232.76.173] (port=41504 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgYxd-0005rm-GO for emacs-orgmode@gnu.org; Thu, 27 Aug 2009 02:59:53 -0400 Received: from mx20.gnu.org ([199.232.41.8]:15570) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MgYxd-0005GZ-2J for emacs-orgmode@gnu.org; Thu, 27 Aug 2009 02:59:53 -0400 Received: from mail01.mxhotel.dk ([213.173.243.236]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MgYxC-00026M-OO for emacs-orgmode@gnu.org; Thu, 27 Aug 2009 02:59:26 -0400 Received: from [192.168.1.100] (0x5550e3b1.adsl.cybercity.dk [85.80.227.177]) by mail01.mxhotel.dk (Postfix) with ESMTP id 43BB8DF8EEA for ; Thu, 27 Aug 2009 08:59:05 +0200 (CEST) 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 --===============2121237667== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-pvmrzABsNZ/7nx2ClgF3" --=-pvmrzABsNZ/7nx2ClgF3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi I had kept a backup of my .emacs file in an orgfile.=20 But running the org-agenda, would malfuntion, stating "byte-code: There was no year zero" and the agenda view would not work. I have been able to track it down to the following offending piece of code. Its a piece of my .emacs (setq org-remember-templates '( ("Birthday" ?f "* %^{Navn} :birthday: \n SCHEDULED: <%^{=C3=A5r (YYYY)}-%^{m=C3=A5ned (MM)}-%^{dag (DD)} +1y> %!" "~/orgfiles/birthdays.or= g" "" ) ) ) I dont know if its a bug, it feels that way, but i might be expecting to much from org-mode. As its indeed a malformed "SCHEDULED:" statement, but not meant to be interpreted as one. --=20 Med venlige hilsner Jacob Toft Pedersen http://rotand.dk/blog --=-pvmrzABsNZ/7nx2ClgF3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkqWLq8ACgkQ717jN1BYVd6kNQCgg3GC60vjgQSGyiJBWAKnE8cM WMgAnAnBC0votGcgPuNaf6oAMX7foBpS =K9ar -----END PGP SIGNATURE----- --=-pvmrzABsNZ/7nx2ClgF3-- --===============2121237667== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============2121237667==--