From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Gustav_Wikstr=F6m?= Subject: Re: [BUG] cannot open menu when in an org buffer Date: Tue, 7 Feb 2012 08:43:55 +0100 Message-ID: References: <5727.1328377568@alphaville> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8f22c681f396f204b85af062 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RufiY-0003wc-JP for emacs-orgmode@gnu.org; Tue, 07 Feb 2012 02:44:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RufiX-0000BR-9f for emacs-orgmode@gnu.org; Tue, 07 Feb 2012 02:43:58 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:44689) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RufiX-0000BK-6E for emacs-orgmode@gnu.org; Tue, 07 Feb 2012 02:43:57 -0500 Received: by iagz16 with SMTP id z16so12518369iag.0 for ; Mon, 06 Feb 2012 23:43:56 -0800 (PST) In-Reply-To: <5727.1328377568@alphaville> 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: nicholas.dokos@hp.com Cc: org-mode mailing list --e89a8f22c681f396f204b85af062 Content-Type: text/plain; charset=ISO-8859-1 On Sat, Feb 4, 2012 at 6:46 PM, Nick Dokos wrote: > suvayu ali wrote: > > > Hi, > > > > In a minimal Emacs session when I open _any_ org file and try to access > > the GUI menu with a mouse, I get the following back trace: > > > > Debugger entered--Lisp error: (void-function org-in-clocktable-p) > > org-in-clocktable-p() > > org-context() > > (assq :todo-keyword (org-context)) > > > > Switching to a non-org buffer (e.g. scratch) the problem disappears. Can > > someone take a look? > > > > Confirmed. If I add > > (require 'org-clock) > > to my minimal .emacs, it goes away. So it seems to be a missing dependency. > > Nick > > I see the same problem when using org-goto with the latest revision of Org (ELPA from 20120206). As Nick suggests, adding (require 'org-clock) fixes the problem. /Gustav --e89a8f22c681f396f204b85af062 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Sat, Feb 4, 2012 at 6:46 PM, Nick Dokos <nicholas.dokos@hp= .com> wrote:
suvayu ali <fatkasuvayu+linux@gmail.com> wrote:

> Hi,
>
> In a minimal Emacs session when I open _any_ org file and try to acces= s
> the GUI menu with a mouse, I get the following back trace:
>
> Debugger entered--Lisp error: (void-function org-in-clocktable-p)
> =A0 org-in-clocktable-p()
> =A0 org-context()
> =A0 (assq :todo-keyword (org-context))
>
> Switching to a non-org buffer (e.g. scratch) the problem disappears. C= an
> someone take a look?
>

Confirmed. If I add

(require 'org-clock)

to my minimal .emacs, it goes away. So it seems to be a missing dependency.=

Nick


I see the same problem when using= org-goto with the latest revision of Org (ELPA from 20120206). As Nick sug= gests, adding (require 'org-clock) fixes the problem.

/Gustav
--e89a8f22c681f396f204b85af062--