From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: There was no year zero, agenda -bug/feature Date: Thu, 27 Aug 2009 10:38:56 -0400 Message-ID: <87d46hianz.fsf@gollum.intra.norang.ca> References: <1251356340.4553.2.camel@lisbeth> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mgg86-0001dV-UP for emacs-orgmode@gnu.org; Thu, 27 Aug 2009 10:39:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mgg82-0001YX-7y for emacs-orgmode@gnu.org; Thu, 27 Aug 2009 10:39:09 -0400 Received: from [199.232.76.173] (port=37747 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mgg82-0001YT-5b for emacs-orgmode@gnu.org; Thu, 27 Aug 2009 10:39:06 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:54206) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mgg81-0003Rl-Cv for emacs-orgmode@gnu.org; Thu, 27 Aug 2009 10:39:05 -0400 In-Reply-To: <1251356340.4553.2.camel@lisbeth> (Jacob Toft Pedersen's message of "Thu\, 27 Aug 2009 08\:58\:59 +0200") 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: jacob@rotand.dk Cc: emacs-orgmode@gnu.org Jacob Toft Pedersen writes: > 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.= org" > "" ) > ) > ) > > > > > 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. Can you block out the entire file with=20 #+begin_src elisp ... #+end_src Maybe that will help? -Bernt