From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Debugger entered--Lisp error: (void-variable org-keys) Date: Wed, 29 Aug 2012 16:46:47 -0400 Message-ID: <6580.1346273207@alphaville.americas.hpqcorp.net> References: <9132.1346257293@alphaville> <503E5411.8020205@online.de> <87mx1dd1al.fsf@Rainer.invalid> <2950.1346264029@alphaville> <87ehmpd00i.fsf@Rainer.invalid> <503E7AD1.4020002@online.de> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6pA3-00024v-2p for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 16:46:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T6pA1-0005gO-Li for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 16:46:51 -0400 Received: from g6t0186.atlanta.hp.com ([15.193.32.63]:19409) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T6pA1-0005fU-Gs for emacs-orgmode@gnu.org; Wed, 29 Aug 2012 16:46:49 -0400 In-Reply-To: Message from Rainer Stengele of "Wed, 29 Aug 2012 22:25:53 +0200." <503E7AD1.4020002@online.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rainer Stengele Cc: Achim Gratz , emacs-orgmode@gnu.org Rainer Stengele 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) >