[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: There was no year zero, agenda -bug/feature
From: |
Bernt Hansen |
Subject: |
[Orgmode] Re: There was no year zero, agenda -bug/feature |
Date: |
Thu, 27 Aug 2009 10:38:56 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Jacob Toft Pedersen <address@hidden> writes:
> I had kept a backup of my .emacs file in an orgfile.
>
> 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
> <snippet>
>
>
> (setq org-remember-templates
> '(
> ("Birthday" ?f "* %^{Navn} :birthday: \n SCHEDULED: <%^{år
> (YYYY)}-%^{måned (MM)}-%^{dag (DD)} +1y> %!" "~/orgfiles/birthdays.org"
> "" )
> )
> )
>
> </snippet>
>
>
> 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
#+begin_src elisp
...
#+end_src
Maybe that will help?
-Bernt