all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs 23 (cvs), org-mode (git): Bad sexp
@ 2009-01-28 10:42 Jan Seeger
  2009-01-28 11:00 ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Seeger @ 2009-01-28 10:42 UTC (permalink / raw)
  To: Org Mode List

Hey List!

I have just installed emacs23 and org-mode has a kink:

I use sexp expressions in an org file to put my schedule in the agenda, like this:

%%(diary-schedule 13 10 2008 7 2 2009 1) 10:15-12:00 TM1 MW2001
%%(diary-schedule 13 10 2008 7 2 2009 1) 12:15-13:00 CAD+MZ MW2001
%%(diary-schedule 13 10 2008 7 2 2009 1) 15:00-16:30 TM1 Zentral  bung MW2001
%%(diary-schedule 13 10 2008 7 2 2009 2) 08:30-10:00 Analysis f  r Informatiker PH HS2
%%(diary-schedule 13 10 2008 7 2 2009 2) 16:00-17:30 Informatik 2 MI HS1
%%(diary-schedule 13 10 2008 7 2 2009 3) 08:30-10:00 Analysis f  r Informatiker MW 1801
%%(diary-schedule 13 10 2008 7 2 2009 3) 10:15-11:45 GDB MI HS1
%%(diary-schedule 13 10 2008 7 2 2009 3) 12:00-12:45 GBS MI HS1
%%(diary-schedule 13 10 2008 7 2 2009 3) 14:15-15:45 Analysis-  bung 03.10.011
%%(diary-schedule 13 10 2008 7 2 2009 3) 16:00-17:30 Businessplan GATE Saal U

However, on the first time I open the agenda, it takes a long time and
then I get the error "invalid sexp in <file>, line <line>" (replace
angled words with values^^).

However, the second time I open the agenda, everything works.

What could be the problem?

Many thanks in advance,
Jan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Emacs 23 (cvs), org-mode (git): Bad sexp
  2009-01-28 10:42 Emacs 23 (cvs), org-mode (git): Bad sexp Jan Seeger
@ 2009-01-28 11:00 ` Carsten Dominik
  2009-01-28 11:09   ` Jan Seeger
  0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2009-01-28 11:00 UTC (permalink / raw)
  To: Jan Seeger; +Cc: Org Mode List

Looks like the function diary-schedule is defined in some package
that des not get loaded in time for creating the agenda.
But when you try for the second time, it is loaded.

- Carsten


On Jan 28, 2009, at 11:42 AM, Jan Seeger wrote:

> Hey List!
>
> I have just installed emacs23 and org-mode has a kink:
>
> I use sexp expressions in an org file to put my schedule in the  
> agenda, like this:
>
> %%(diary-schedule 13 10 2008 7 2 2009 1) 10:15-12:00 TM1 MW2001
> %%(diary-schedule 13 10 2008 7 2 2009 1) 12:15-13:00 CAD+MZ MW2001
> %%(diary-schedule 13 10 2008 7 2 2009 1) 15:00-16:30 TM1 Zentral   
> bung MW2001
> %%(diary-schedule 13 10 2008 7 2 2009 2) 08:30-10:00 Analysis f  r  
> Informatiker PH HS2
> %%(diary-schedule 13 10 2008 7 2 2009 2) 16:00-17:30 Informatik 2 MI  
> HS1
> %%(diary-schedule 13 10 2008 7 2 2009 3) 08:30-10:00 Analysis f  r  
> Informatiker MW 1801
> %%(diary-schedule 13 10 2008 7 2 2009 3) 10:15-11:45 GDB MI HS1
> %%(diary-schedule 13 10 2008 7 2 2009 3) 12:00-12:45 GBS MI HS1
> %%(diary-schedule 13 10 2008 7 2 2009 3) 14:15-15:45 Analysis-  bung  
> 03.10.011
> %%(diary-schedule 13 10 2008 7 2 2009 3) 16:00-17:30 Businessplan  
> GATE Saal U
>
> However, on the first time I open the agenda, it takes a long time and
> then I get the error "invalid sexp in <file>, line <line>" (replace
> angled words with values^^).
>
> However, the second time I open the agenda, everything works.
>
> What could be the problem?
>
> Many thanks in advance,
> Jan
>
>
> _______________________________________________
> 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] 5+ messages in thread

* Re: Emacs 23 (cvs), org-mode (git): Bad sexp
  2009-01-28 11:00 ` Carsten Dominik
@ 2009-01-28 11:09   ` Jan Seeger
  2009-01-28 11:19     ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Seeger @ 2009-01-28 11:09 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Org Mode List

At Wed, 28 Jan 2009 12:00:56 +0100,
Carsten Dominik wrote:
> 
> Looks like the function diary-schedule is defined in some package
> that des not get loaded in time for creating the agenda.
> But when you try for the second time, it is loaded.

I tried require'ing diary-lib before loading org-mode, but it doesn't
do anything. The strange thing is that the other days are displayed
correctly, only the current day is not shown.

Regards,
Jan Seeger

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Emacs 23 (cvs), org-mode (git): Bad sexp
  2009-01-28 11:09   ` Jan Seeger
@ 2009-01-28 11:19     ` Carsten Dominik
  2009-01-28 11:33       ` Jan Seeger
  0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2009-01-28 11:19 UTC (permalink / raw)
  To: Jan Seeger; +Cc: Org Mode List


On Jan 28, 2009, at 12:09 PM, Jan Seeger wrote:

> At Wed, 28 Jan 2009 12:00:56 +0100,
> Carsten Dominik wrote:
>>
>> Looks like the function diary-schedule is defined in some package
>> that des not get loaded in time for creating the agenda.
>> But when you try for the second time, it is loaded.
>
> I tried require'ing diary-lib before loading org-mode, but it doesn't
> do anything. The strange thing is that the other days are displayed
> correctly, only the current day is not shown.

diary-schedule is not defined in diary-lib.el.
Maybe you cut-and-paste it from the emacs wiki?

- Carsten

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Emacs 23 (cvs), org-mode (git): Bad sexp
  2009-01-28 11:19     ` Carsten Dominik
@ 2009-01-28 11:33       ` Jan Seeger
  0 siblings, 0 replies; 5+ messages in thread
From: Jan Seeger @ 2009-01-28 11:33 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Org Mode List

At Wed, 28 Jan 2009 12:19:06 +0100,
Carsten Dominik wrote:
> 
> 
> On Jan 28, 2009, at 12:09 PM, Jan Seeger wrote:
> 
> > At Wed, 28 Jan 2009 12:00:56 +0100,
> > Carsten Dominik wrote:
> >>
> >> Looks like the function diary-schedule is defined in some package
> >> that des not get loaded in time for creating the agenda.
> >> But when you try for the second time, it is loaded.
> >
> > I tried require'ing diary-lib before loading org-mode, but it doesn't
> > do anything. The strange thing is that the other days are displayed
> > correctly, only the current day is not shown.
> 
> diary-schedule is not defined in diary-lib.el.
> Maybe you cut-and-paste it from the emacs wiki?

Ah yes, the diary-schedule is from the emacswiki.

But I don't see why it works on the days after today and not today.

Regards,
Jan

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-01-28 11:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-28 10:42 Emacs 23 (cvs), org-mode (git): Bad sexp Jan Seeger
2009-01-28 11:00 ` Carsten Dominik
2009-01-28 11:09   ` Jan Seeger
2009-01-28 11:19     ` Carsten Dominik
2009-01-28 11:33       ` Jan Seeger

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.