From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sean O'Halpin" Subject: Re: [BUG] org-agenda-switch-to fails with void function org-pop-to-buffer-same-window Date: Thu, 15 Dec 2011 16:58:50 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbEdx-0008Kx-Hj for emacs-orgmode@gnu.org; Thu, 15 Dec 2011 11:58:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbEdw-00051k-Ef for emacs-orgmode@gnu.org; Thu, 15 Dec 2011 11:58:53 -0500 Received: from mail-ey0-f169.google.com ([209.85.215.169]:48490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbEdw-00051O-AI for emacs-orgmode@gnu.org; Thu, 15 Dec 2011 11:58:52 -0500 Received: by eabm6 with SMTP id m6so851708eab.0 for ; Thu, 15 Dec 2011 08:58:50 -0800 (PST) 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: Jeff Horn Cc: emacs-orgmode@gnu.org 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