From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: [bug] Symbol's function definition is void: org-pop-to-buffer-same-window Date: Fri, 02 Dec 2011 15:09:40 -0500 Message-ID: <10084.1322856580@alphaville.americas.hpqcorp.net> References: <80borsbgkb.fsf@somewhere.org> <9738.1322751641@alphaville.dokosmarshall.org> <9942.1322751918@alphaville.dokosmarshall.org> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:38313) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWZQh-00066j-Mj for emacs-orgmode@gnu.org; Fri, 02 Dec 2011 15:09:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWZQf-0005Qf-OC for emacs-orgmode@gnu.org; Fri, 02 Dec 2011 15:09:55 -0500 Received: from g1t0028.austin.hp.com ([15.216.28.35]:2832) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWZQf-0005Py-Hk for emacs-orgmode@gnu.org; Fri, 02 Dec 2011 15:09:53 -0500 In-Reply-To: Message from Kenny Meyer of "Fri\, 02 Dec 2011 16\:46\:08 -0300." 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: Kenny Meyer Cc: Sebastien Vauban , nicholas.dokos@hp.com, emacs-orgmode@gnu.org Kenny Meyer wrote: > According to this discussion on the mailing list, > http://comments.gmane.org/gmane.emacs.orgmode/48571 , this is a known > bug. >=20 > I fixed this by loading "org-compat" after requiring org-mode from > git, just like Sebastian said. >=20 I don't think it's a bug in org: if you start with a clean copy of the repo (make clean; make) and have your load-path pointing there, you should not see any problems. IIUC, Michael Bach's problem (a fairly common one, btw) was that he was mixing different installations: he was picking up a recent org-capture that was using org-pop-to-buffer-same-window, but an older org-compat that did not include the definition of that function. You have to make sure that all of the pieces come from the same place, but there is still a gotcha in the sense that an old .elc file will be picked up by emacs in preference to a new .el file (possibly with a warning, but who looks at warnings?) Hence assuming you are using git to keep up to date: make clean make C-h v load-path RET [make sure that your load path points at your git directory *first*] M-x org-reload RET [or perhaps safer: restart emacs] And use M-x locate-library to make sure that emacs agrees with you about where things are picked up from. Nick > -- > Kenny Meyer >=20 >=20 >=20 > On Thu, Dec 1, 2011 at 12:05 PM, Nick Dokos wrote: > > Nick Dokos wrote: > > > >> Kenny Meyer wrote: > >> > >> > I am getting the same message here upon calling various org-functions > >> > (e.g.: org-drill, org-submit-bug-report), since I have compiled > >> > org-mode from git, but I am not sure where exactly the error was > >> > introduced. > >> > > >> > > Explicitly Loading `org-compat' does cure this problem... > >> > Requiring org-compat does not fix that here. > >> > Can you tell me where exactly you loaded org-compat? > >> > > >> > Org-mode version 7.7 (release_7.7.617.gb1f2) > >> > GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.2.0) o= f 2011-09-29 > >> > > >> > -- > >> > Kenny Meyer > >> > > >> > >> IIRC, the cure for macro problems like this is to > >> > > > > Sorry - I thought it was a macro but it isn't. Nevertheless, > > the note below still stands. > > > > Nick > > > >> =C2=A0 =C2=A0 =C2=A0 make clean > >> =C2=A0 =C2=A0 =C2=A0 make > >> > >> (alternatively, make clean and just use uncompiled code). There might = be > >> something missing to cause it, but I don't think so in this case: I > >> tried a minimal .emacs with the same version as above (Org-mode version > >> 7.7 (release_7.7.617.gb1f2) and I can start, goto the active clock and > >> stop it with no errors. > >> > >> Nick > >> > >> > >> > > >> > > >> > On Thu, Dec 1, 2011 at 9:51 AM, Sebastien Vauban > >> > wrote: > >> > > Hello, > >> > > > >> > > In conditions which I consider unchanged (I speak of my emacs conf= ig file), > >> > > with the latest Org-mode version, I now have the message: > >> > > > >> > > =C2=A0 =C2=A0let*: Symbol's function definition is void: org-pop-t= o-buffer-same-window > >> > > > >> > > when doing, for example, `C-c C-x C-j' to jump on the currently cl= ocked item. > >> > > > >> > > Explicitly Loading `org-compat' does cure this problem... But we m= ust miss a > >> > > `require' somewhere, but where? =C2=A0In `org.el' itself? > >> > > > >> > > Best regards, > >> > > =C2=A0Seb > >> > > > >> > > -- > >> > > Sebastien Vauban > >> > > > >> > > > >> > > >> >=20