From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Cleaning up my org setup, using version from git Date: Fri, 22 Mar 2013 11:35:47 -1000 Message-ID: References: <6066.1363986172@alphaville> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJ9dG-0004s2-D2 for emacs-orgmode@gnu.org; Fri, 22 Mar 2013 17:36:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UJ9dC-0005dW-BZ for emacs-orgmode@gnu.org; Fri, 22 Mar 2013 17:36:14 -0400 Received: from oproxy13-pub.unifiedlayer.com ([69.89.16.30]:43827) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1UJ9dC-0005dC-0c for emacs-orgmode@gnu.org; Fri, 22 Mar 2013 17:36:10 -0400 In-Reply-To: (Marcelo de Moraes Serpa's message of "Fri, 22 Mar 2013 15:27:23 -0600") 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: Marcelo de Moraes Serpa Cc: nicholas.dokos@hp.com, Org Mode Aloha Marcelo, Marcelo de Moraes Serpa writes: > Hi Nick, thank you for the reply. > > Happens it was an error specific to the terminal version of emacs (OpenSt= ep > could not be found, by org-mac-protocol). Not loading that file solved the > issue. > > It looks like I just need to upgrade from org-remember to org-capture. > > However, I'm getting the following message when calling org-version: > > Org-mode version 8.0-pre (release_8.0-pre-150-g412d98-git @ org-loaddefs.= el > can not be found!) > > What does org-loaddefs do and how could I get org-loaddefs to be loaded? Did you `make autoloads'? Tom > > Thanks! > > - Marcelo > > > On Fri, Mar 22, 2013 at 3:02 PM, Nick Dokos wrote: > >> Marcelo de Moraes Serpa wrote: >> >> >> > I have org in ~/.emacs.d/vendor/org, and I also added the following >> lines to my init.el: >> > >> > (add-to-list load-path (cons (concat dotfiles-dir "vendor/org/lisp") >> load-path)) >> > (add-to-list load-path (cons (concat dotfiles-dir >> "vendor/org/contrib/lisp") load-path)) >> > >> > But it fails hard when emacs inits: >> > >> > Warning (initialization): An error occurred while loading >> `/Users/fullofcaffeine/.emacs.d/ >> > init.el': >> > error: Autoloading failed to define function >> org-babel-do-load-languages >> > To ensure normal operation, you should investigate and remove the >> > cause of the error in your initialization file. Start Emacs with >> > the `--debug-init' option to view a complete error backtrace. >> > >> > When I try to "make autoloads" I get the following: >> > >> > org git:(master): make autoloads >> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D >> > =3D Invoke "make help" for a synopsis of make targets. =3D >> > =3D Created a default local.mk template. =3D >> > =3D Setting "oldorg" as the default target. =3D >> > =3D Please adapt local.mk to your local setup! =3D >> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D >> > End of file during parsing >> > make: [local.mk] Error 255 (ignored) >> > make -C lisp autoloads >> > rm -f org-version.el org-loaddefs.el org-version.elc >> org-loaddefs.elc org-install.elc >> > org-version: 8.0-pre (release_8.0-pre-150-g412d98) >> > End of file during parsing >> > make[1]: *** [org-version.el] Error 255 >> > make: *** [autoloads] Error 2 >> > >> > Not sure where to go from here. >> > >> >> This >> >> > Start Emacs with >> > the `--debug-init' option to view a complete error backtrace. >> >> would be a start. The "End of file during parsing" probably indicates >> a missing paren or some such, possibly in init.el. I presume emacs -q >> starts up properly? >> >> Nick >> >> > Hi Nick, thank you for the reply. > > > Happens it was an error specific to the terminal version of emacs > (OpenStep could not be found, by org-mac-protocol). Not loading that > file solved the issue. > > It looks like I just need to upgrade from org-remember to org-capture. > > However, I'm getting the following message when calling org-version: > > Org-mode version 8.0-pre (release_8.0-pre-150-g412d98-git @ > org-loaddefs.el can not be found!) > > What does org-loaddefs do and how could I get org-loaddefs to be > loaded? > > Thanks! > > - Marcelo > =C2=A0 > > On Fri, Mar 22, 2013 at 3:02 PM, Nick Dokos > wrote: > >=20=20=20=20=20 > Marcelo de Moraes Serpa wrote: >=20=20=20=20=20 >=20=20=20=20=20 > > I have org in ~/.emacs.d/vendor/org, and I also added the > following lines to my init.el: > > > > (add-to-list load-path (cons (concat dotfiles-dir > "vendor/org/lisp") =C2=A0load-path)) > > (add-to-list load-path (cons (concat dotfiles-dir > "vendor/org/contrib/lisp") =C2=A0load-path)) > > > > But it fails hard when emacs inits: > > > > =C2=A0 =C2=A0 Warning (initialization): An error occurred while loa= ding > `/Users/fullofcaffeine/.emacs.d/ > > =C2=A0 =C2=A0 init.el': > > =C2=A0 =C2=A0 error: Autoloading failed to define function > org-babel-do-load-languages > > =C2=A0 =C2=A0 To ensure normal operation, you should investigate and > remove the > > =C2=A0 =C2=A0 cause of the error in your initialization file. =C2= =A0Start Emacs > with > > =C2=A0 =C2=A0 the `--debug-init' option to view a complete error > backtrace. > > > > When I try to "make autoloads" I get the following: > > > > =C2=A0 =C2=A0 org git:(master): make autoloads > > =C2=A0 =C2=A0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > =C2=A0 =C2=A0 =3D Invoke "make help" for a synopsis of make targets= . =3D > > =C2=A0 =C2=A0 =3D Created a default local.mk template. =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D > > =C2=A0 =C2=A0 =3D Setting "oldorg" as the default target. =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D > > =C2=A0 =C2=A0 =3D Please adapt local.mk to your local setup! =C2=A0= =C2=A0 =C2=A0 =C2=A0 =3D > > =C2=A0 =C2=A0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > =C2=A0 =C2=A0 End of file during parsing > > =C2=A0 =C2=A0 make: [local.mk] Error 255 (ignored) > > =C2=A0 =C2=A0 make -C lisp autoloads > > =C2=A0 =C2=A0 rm -f org-version.el org-loaddefs.el org-version.elc > org-loaddefs.elc org-install.elc > > =C2=A0 =C2=A0 org-version: 8.0-pre (release_8.0-pre-150-g412d98) > > =C2=A0 =C2=A0 End of file during parsing > > =C2=A0 =C2=A0 make[1]: *** [org-version.el] Error 255 > > =C2=A0 =C2=A0 make: *** [autoloads] Error 2 > > > > Not sure where to go from here.=C2=A0 > > >=20=20=20=20=20 >=20=20=20=20=20 > This >=20=20=20=20=20 >=20=20=20=20=20 > > =C2=A0 =C2=A0 =C2=A0Start Emacs with > > =C2=A0 =C2=A0 the `--debug-init' option to view a complete error > backtrace. >=20=20=20=20=20 >=20=20=20=20=20 > would be a start. The "End of file during parsing" probably > indicates > a missing paren or some such, possibly in init.el. I presume emacs > -q > starts up properly? >=20=20=20=20=20 > Nick >=20=20=20=20=20 >=20=20=20=20=20 > --=20 Thomas S. Dye http://www.tsdye.com