From: Bernt Hansen <bernt@norang.ca>
To: jacob@rotand.dk
Cc: emacs-orgmode@gnu.org
Subject: Re: There was no year zero, agenda -bug/feature
Date: Thu, 27 Aug 2009 10:38:56 -0400 [thread overview]
Message-ID: <87d46hianz.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <1251356340.4553.2.camel@lisbeth> (Jacob Toft Pedersen's message of "Thu\, 27 Aug 2009 08\:58\:59 +0200")
Jacob Toft Pedersen <jacob@rotand.dk> 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
prev parent reply other threads:[~2009-08-27 14:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-27 6:58 There was no year zero, agenda -bug/feature Jacob Toft Pedersen
2009-08-27 14:38 ` Bernt Hansen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d46hianz.fsf@gollum.intra.norang.ca \
--to=bernt@norang.ca \
--cc=emacs-orgmode@gnu.org \
--cc=jacob@rotand.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).