From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: [BUG] org-agenda-switch-to fails with void function org-pop-to-buffer-same-window Date: Sat, 31 Dec 2011 11:46:22 -0500 Message-ID: <26574.1325349982@alphaville.dokosmarshall.org> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:33264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rh24h-00023s-6f for emacs-orgmode@gnu.org; Sat, 31 Dec 2011 11:46:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rh24f-0005fh-FP for emacs-orgmode@gnu.org; Sat, 31 Dec 2011 11:46:27 -0500 Received: from g4t0017.houston.hp.com ([15.201.24.20]:5910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rh24f-0005fa-4k for emacs-orgmode@gnu.org; Sat, 31 Dec 2011 11:46:25 -0500 In-Reply-To: Message from Jeff Horn of "Fri, 30 Dec 2011 16:44:53 EST." 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: Jeff Horn Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org, eschulte@cs.unm.edu Jeff Horn wrote: > Manually loading `org-mode/lisp/org-compat.el` loads the missing > function. Is it weird to have so much functionality depend on a > compatibility library? (I don't do software for a living, this is an > innocent question.) > > Also, does anyone have a clue as to why org-compat.el isn't being > loaded automatically? > This is (most probably) a red herring: the problem is probably a frankenstein org mode install (bits and pieces loaded from various places). Daniel Doherty posted an answer (in another thread - see http://thread.gmane.org/gmane.emacs.orgmode/50526/focus=50574 for details). I added that proposed solution to the FAQ on worg but I don't use starter-kit, so feel free to correct and clarify appropriately. In particular, if you (Jeff) can verify that it solves your problem, that would go a long way towards putting this problem to bed - permanently, I hope. Thanks, Nick > On Fri, Dec 30, 2011 at 16:14, Jeff Horn wrote: > > It looks like git org-mode is at the front of my load-path > > already. I'm assuming that emacs' load-path works similar to a shell > > load-path, with lower-indexed directories being searched (and used) > > before higher-indexed ones. > > > > This bug is really messing with my workflow. Anything else I should > > try? > > > > ,----[ load-path ] > > | ("~/.emacs.d/elpa/color-theme-6.6.1/themes" "~/completion" "~/test" > > | "/Users/jrhorn424/.emacs.d/src" > > | "/Users/jrhorn424/.emacs.d/src/ado-mode" > > | "/Users/jrhorn424/.emacs.d/src/deft" > > | "/Users/jrhorn424/.emacs.d/src/markdown-mode" > > | "/Users/jrhorn424/.emacs.d/src/org-mode" > > | "/Users/jrhorn424/.emacs.d/src/w3m" > > | "/Users/jrhorn424/.emacs.d/src/ado-mode/info" > > | "/Users/jrhorn424/.emacs.d/src/ado-mode/lisp" > > | "/Users/jrhorn424/.emacs.d/src/ado-mode/plan for highlighting.oo3" > > | "/Users/jrhorn424/.emacs.d/src/ado-mode/scripts" > > | "/Users/jrhorn424/.emacs.d/src/ado-mode/templates" > > | "/Users/jrhorn424/.emacs.d/src/org-mode/BUGFIXING" > > | "/Users/jrhorn424/.emacs.d/src/org-mode/EXPERIMENTAL" > > | "/Users/jrhorn424/.emacs.d/src/org-mode/UTILITIES" > > | "/Users/jrhorn424/.emacs.d/src/org-mode/contrib" > > | "/Users/jrhorn424/.emacs.d/src/org-mode/etc" > > | "/Users/jrhorn424/.emacs.d/src/org-mode/lisp" > > | "/Users/jrhorn424/.emacs.d/src/org-mode/testing" > > `---- > > > > On Sun, Dec 18, 2011 at 13:55, Jeff Horn wrote: > >> I'll have to look into that. I'm using Eric Schulte's starter kit, so > >> I doubt initialization is a problem. I haven't changed anything in my > >> initialization other than a color theme in quite some time. > >> > >> On Thu, Dec 15, 2011 at 11:58, Sean O'Halpin wrote: > >>> On Thu, Dec 15, 2011 at 1:26 AM, Jeff Horn wrote: > >>>> Recently did a fresh pull, which seems to have broken org-agenda-switch-to. > >>>> > >>>> To reproduce, open an agenda buffer, navigate to a line you want to > >>>> inspect, press [RET]. On my machine, this calls autopair, then falls > >>>> back to org-agenda-switch-to. Autopair doesn't seem to be causing the > >>>> problem, since it persists even if I call =M-x org-agenda-switch-to= > >>>> instead of pressing [RET]. > >>>> > >>>> Org-mode version 7.8.02 (release_7.8.02.3.gfb8c) > >>>> GNU Emacs 24.0.90.3 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) > >>>> of 2011-12-14 on braeburn.aquamacs.org - Aquamacs Distribution 3.xdev > >>>> > >>>> Can anyone reproduce? > >>>> > >>> > >>> I recently had a similar problem with =org-pop-to-buffer-same-window= > >>> . It turned out that after switching to using =org-babel-load-file= to > >>> load my init file, emacs was then using the org-mode installed in > >>> site-lisp rather than my local git copy. > >>> > >>> I fixed this by setting =load-path= to point to my local git copy of > >>> org-mode before calling =org-babel-load-file=. > >>> > >>> HTH. > >>> > >>> Regards, > >>> Sean > >> > >> > >> > >> -- > >> Jeffrey Horn > >> http://www.failuretorefrain.com/jeff/ > > > > > > > > -- > > Jeffrey Horn > > http://www.failuretorefrain.com/jeff/ > > > > -- > Jeffrey Horn > http://www.failuretorefrain.com/jeff/ >