From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: [BUG] cannot open menu when in an org buffer Date: Wed, 08 Feb 2012 20:14:21 +0100 Message-ID: <87k43xxhma.wl%dmaus@ictsoc.de> References: <5727.1328377568@alphaville> <3889.1328581910@alphaville> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Wed_Feb__8_20:14:17_2012-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvCyI-00073X-2r for emacs-orgmode@gnu.org; Wed, 08 Feb 2012 14:14:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RvCyG-0002eE-QS for emacs-orgmode@gnu.org; Wed, 08 Feb 2012 14:14:25 -0500 Received: from app1a.xlhost.de ([213.202.242.161]:59213) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RvCyG-0002e1-KV for emacs-orgmode@gnu.org; Wed, 08 Feb 2012 14:14:24 -0500 In-Reply-To: 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: suvayu ali Cc: nicholas.dokos@hp.com, org-mode mailing list --pgp-sign-Multipart_Wed_Feb__8_20:14:17_2012-1 Content-Type: text/plain; charset=US-ASCII Hi, At Tue, 7 Feb 2012 14:26:41 +0100, suvayu ali wrote: > > Hi Nick, > > On Tue, Feb 7, 2012 at 03:31, Nick Dokos wrote: > > suvayu ali wrote: > > > >> On Sat, Feb 4, 2012 at 18:46, Nick Dokos wrote: > >> > > >> > 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. > > > > True - org-in-clocktable-p does not have anything to do with clocks, but > > it ended up in org-clock.el. All of these "where am I" functions should > > probably be in org.el. In fact, they all are except for > > org-in-clocktable-p and org-at-item-p. The latter is in org-list.el and > > it is not giving an error a) because org-in-clocktable-p errors out > > first and b) because org.el contains a (require 'org-list). So having a > > (require 'org-clock) in org.el does have a precedent, but of course this > > way you end up defeating autoloads: the moment org.el is loaded, all of > > these things are too. There might be a better arrangement but it's like > > Pascal's letter[fn:1] : it would require time to find it :-) > > I pushed a fix to master that relocates org-in-clocktable-p from org-clock.el to org.el -- the problem should be fixed now. This shouldn't break things because org-clock requires org. Best, -- David --pgp-sign-Multipart_Wed_Feb__8_20:14:17_2012-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAk8yyYwACgkQDMLgk1Evc4WlogEAnbtRJS+8C0GqHH6oCx84vWqt 8alOvPqrHUj7nhvxkUcA/R5RmK+yakNChQW4qoa/TOCV6KhAICyoiLl0gNBkA6lt =S6aL -----END PGP SIGNATURE----- --pgp-sign-Multipart_Wed_Feb__8_20:14:17_2012-1--