* There was no year zero, agenda -bug/feature
@ 2009-08-27 6:58 Jacob Toft Pedersen
2009-08-27 14:38 ` Bernt Hansen
0 siblings, 1 reply; 2+ messages in thread
From: Jacob Toft Pedersen @ 2009-08-27 6:58 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 811 bytes --]
Hi
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.
--
Med venlige hilsner
Jacob Toft Pedersen
http://rotand.dk/blog
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: There was no year zero, agenda -bug/feature
2009-08-27 6:58 There was no year zero, agenda -bug/feature Jacob Toft Pedersen
@ 2009-08-27 14:38 ` Bernt Hansen
0 siblings, 0 replies; 2+ messages in thread
From: Bernt Hansen @ 2009-08-27 14:38 UTC (permalink / raw)
To: jacob; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-27 14:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-27 6:58 There was no year zero, agenda -bug/feature Jacob Toft Pedersen
2009-08-27 14:38 ` Bernt Hansen
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).