From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: [BUG] cannot open menu when in an org buffer Date: Tue, 7 Feb 2012 01:01:32 +0100 Message-ID: References: <5727.1328377568@alphaville> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37795) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuYVP-0008J4-Ea for emacs-orgmode@gnu.org; Mon, 06 Feb 2012 19:01:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RuYVO-0008LA-67 for emacs-orgmode@gnu.org; Mon, 06 Feb 2012 19:01:55 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:48413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuYVN-0008L6-Uf for emacs-orgmode@gnu.org; Mon, 06 Feb 2012 19:01:54 -0500 Received: by bkbzs2 with SMTP id zs2so6142202bkb.0 for ; Mon, 06 Feb 2012 16:01:52 -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 On Sat, Feb 4, 2012 at 18:46, 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) >> =C2=A0 org-in-clocktable-p() >> =C2=A0 org-context() >> =C2=A0 (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 dependenc= y. > It seems an odd dependency to have. Anyway, I noticed something; pressing F10 does bring up the menu as expected without any backtrace. After that I can select anything on the menu with a mouse without problems. The error occurs only when bringing up the menu for the first time with a mouse. > Nick Cheers, --=20 Suvayu Open source is the future. It sets us free.