hsitz / VimOrganizer

VimOrganizer is partly a clone of Emacs' Org-mode, and partly a front end to Org-mode itself. Do Org in Vim.
http://vimeo.com/31531308
518 stars 67 forks source link

Timeline Agenda (,agL) doesn’t work: »Undefined variable: s:agenda_insert_point« #32

Open hfs opened 12 years ago

hfs commented 12 years ago

When I try to bring up the Timeline Agenda (,agL), I get this error message:

Error detected while processing function OrgAgendaDashboard..<SNR>38_Timeline..OrgRunAgenda..<SNR>38_DateDictToScreen: line 51: E121: Undefined variable: s:agenda_insert_point E116: Invalid arguments for function append

As a workaround I can first open a different agenda view, e.g. ,aga. Afterwards the timeline agenda works as well. Probably s:agenda_insert_point gets initialized by that.

My VimOrganizer version is 2e75a9c26c1e9317f8b47af87d1e802a2563c451 from github.

hsitz commented 12 years ago

On Sun, Mar 18, 2012 at 9:23 AM, hfs reply@reply.github.com wrote:

When I try to bring up the Timeline Agenda (,agL), I get this error message:

Error detected while processing function OrgAgendaDashboard..<SNR>38_Timeline..OrgRunAgenda..<SNR>38_DateDictToScreen: line   51: E121: Undefined variable: s:agenda_insert_point E116: Invalid arguments for function append

As a workaround I can first open a different agenda view, e.g. ,aga. Afterwards the timeline agenda works as well. Probably s:agenda_insert_point gets initialized by that.

Thanks, I expect you're right on the cause. I think timeline function is actually semi-deprecated in Org (not needed b/c better ways of accomplishing similar thing), but some people still like it so I'll try to keep it going. . . - Herb