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 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