Rainer Stengele <rainer.steng...@online.de> wrote:

> I use sticky Agenda since some months.
> Doing a "org-toggle-sticky-agenda" and calling any agenda function makes the 
> error disappear!
> 

OK - that clarifies things: I don't use sticky agenda, so that explains
why I didn't get the error. Looking at the backtrace a bit more also
shows it clearly - 50/50 hindsight is such a blessing - but I didn't
look at it carefully the first time. I guess Achim's suggestion of
giving it an initial value in the defvar should work, but I don't
understand how org-keys is supposed to work.

Nick

> Here is my currrent backtrace, make autoloads does not change anything:
> 
> Debugger entered--Lisp error: (void-variable org-keys)
>   (and org-keys (stringp org-match))
>   (cond ((and org-keys (stringp org-match)) (format "*Org Agenda(%s:%s)*" 
> org-keys org-match)) (org-keys (format "*Org Agenda(%s)*" org-keys)) (t "*Org 
> Agenda(a)*"))
>   (setq org-agenda-buffer-name (cond ((and org-keys (stringp org-match)) 
> (format "*Org Agenda(%s:%s)*" org-keys org-match)) (org-keys (format "*Org 
> Agenda(%s)*" org-keys)) (t "*Org
> Agenda(a)*")))
>   (if org-agenda-sticky (setq org-agenda-buffer-name (cond ((and org-keys 
> (stringp org-match)) (format "*Org Agenda(%s:%s)*" org-keys org-match)) 
> (org-keys (format "*Org
> Agenda(%s)*" org-keys)) (t "*Org Agenda(a)*"))))
>   ...
>   org-agenda-list(nil "2012-08-22")
>   org-agenda-goto-date("2012-08-22")
>   call-interactively(org-agenda-goto-date nil nil)
> 

Reply via email to