From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Horn Subject: Re: [BUG] org-agenda-switch-to fails with void function org-pop-to-buffer-same-window Date: Tue, 10 Jan 2012 23:16:53 -0500 Message-ID: References: <26574.1325349982@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:54489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rkpcj-0001CX-7w for emacs-orgmode@gnu.org; Tue, 10 Jan 2012 23:17:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rkpch-0004UX-J6 for emacs-orgmode@gnu.org; Tue, 10 Jan 2012 23:17:17 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:32991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rkpch-0004UR-Dr for emacs-orgmode@gnu.org; Tue, 10 Jan 2012 23:17:15 -0500 Received: by iafj26 with SMTP id j26so543357iaf.0 for ; Tue, 10 Jan 2012 20:17:14 -0800 (PST) In-Reply-To: <26574.1325349982@alphaville.dokosmarshall.org> 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: emacs-orgmode@gnu.org, eschulte@cs.unm.edu Daniel's solution didn't end up working for some reason. After spending over an hour on it this evening, I couldn't get git-cloned org to work. I was running into an odd problem with 'cyclic variable indirection' or something like that. In a trouble-shooting step, I moved the git-cloned org out of the way, and site org took over. Turns out, site org in Aquamacs Dev is the current stable version of org. I suppose I might run into an issue here or there, but for now all seems to be working. Since I've never really actively participated in development and I ran smoothly over a year without needing to report a bug, I don't seem to be losing much. Cheers, all, and thanks for your suggestions. On Sat, Dec 31, 2011 at 11:46, Nick Dokos wrote: > 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/ >> -- Jeffrey Horn http://www.failuretorefrain.com/jeff/