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 12:19:39 -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]:41787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJAJj-0001cG-F7 for emacs-orgmode@gnu.org; Fri, 22 Mar 2013 18:20:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UJAJg-0001r3-Ae for emacs-orgmode@gnu.org; Fri, 22 Mar 2013 18:20:07 -0400 Received: from oproxy7-pub.bluehost.com ([67.222.55.9]:41876) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1UJAJf-0001ZU-Sz for emacs-orgmode@gnu.org; Fri, 22 Mar 2013 18:20:04 -0400 In-Reply-To: (Marcelo de Moraes Serpa's message of "Fri, 22 Mar 2013 15:54:45 -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 Sorry, I didn't read closely. Tom Marcelo de Moraes Serpa writes: > Yes, > > >> 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 > > > > > > On Fri, Mar 22, 2013 at 3:35 PM, Thomas S. Dye wrote: > >> 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 >> (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 loade= d? >> >> 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 t= he >> >> > cause of the error in your initialization file. Start Emacs wi= th >> >> > 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 >> > >> > >> > 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 >> > >> > >> > >> >> -- >> Thomas S. Dye >> http://www.tsdye.com >> >> > Yes, > > > > 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=C2=A0local.mk=C2=A0template. =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D > =3D Setting "oldorg" as the default target. =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0=3D > =3D Please adapt=C2=A0local.mk=C2=A0to your local setup! =C2=A0 =C2= =A0 =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=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 > > > > > > On Fri, Mar 22, 2013 at 3:35 PM, Thomas S. Dye wrote: > > Aloha Marcelo, >=20=20=20=20=20 >=20=20=20=20=20 > Marcelo de Moraes Serpa writes: >=20=20=20=20=20 > > 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? >=20=20=20=20=20 >=20=20=20=20=20 > Did you `make autoloads'? >=20=20=20=20=20 > Tom >=20=20=20=20=20 >=20=20=20=20=20 >=20=20=20=20=20 > > > > 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") > >> =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 = loading > >> `/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 targ= ets. =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.e= lc > >> 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. > >> > > >> > >> This > >> > >> > =C2=A0 =C2=A0 =C2=A0Start Emacs with > >> > =C2=A0 =C2=A0 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: > > > > > > =C2=A0 =C2=A0 Marcelo de Moraes Serpa wrote: > > > > > > =C2=A0 =C2=A0 > I have org in ~/.emacs.d/vendor/org, and I also add= ed the > > =C2=A0 =C2=A0 following lines to my init.el: > > =C2=A0 =C2=A0 > > > =C2=A0 =C2=A0 > (add-to-list load-path (cons (concat dotfiles-dir > > =C2=A0 =C2=A0 "vendor/org/lisp") =C2=A0load-path)) > > =C2=A0 =C2=A0 > (add-to-list load-path (cons (concat dotfiles-dir > > =C2=A0 =C2=A0 "vendor/org/contrib/lisp") =C2=A0load-path)) > > =C2=A0 =C2=A0 > > > =C2=A0 =C2=A0 > But it fails hard when emacs inits: > > =C2=A0 =C2=A0 > > > =C2=A0 =C2=A0 > =C2=A0 =C2=A0 Warning (initialization): An error oc= curred while > loading > > =C2=A0 =C2=A0 `/Users/fullofcaffeine/.emacs.d/ > > =C2=A0 =C2=A0 > =C2=A0 =C2=A0 init.el': > > =C2=A0 =C2=A0 > =C2=A0 =C2=A0 error: Autoloading failed to define f= unction > > =C2=A0 =C2=A0 org-babel-do-load-languages > > =C2=A0 =C2=A0 > =C2=A0 =C2=A0 To ensure normal operation, you shoul= d investigate and > > =C2=A0 =C2=A0 remove the > > =C2=A0 =C2=A0 > =C2=A0 =C2=A0 cause of the error in your initializa= tion file. =C2=A0Start > Emacs > > =C2=A0 =C2=A0 with > > =C2=A0 =C2=A0 > =C2=A0 =C2=A0 the `--debug-init' option to view a c= omplete error > > =C2=A0 =C2=A0 backtrace. > > =C2=A0 =C2=A0 > > > =C2=A0 =C2=A0 > When I try to "make autoloads" I get the following: > > =C2=A0 =C2=A0 > > > =C2=A0 =C2=A0 > =C2=A0 =C2=A0 org git:(master): make autoloads > > =C2=A0 =C2=A0 > =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 > =C2=A0 =C2=A0 =3D Invoke "make help" for a synopsis= of make targets. =3D > > =C2=A0 =C2=A0 > =C2=A0 =C2=A0 =3D Created a default local.mk templa= te. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D > > =C2=A0 =C2=A0 > =C2=A0 =C2=A0 =3D Setting "oldorg" as the default t= arget. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=3D > > =C2=A0 =C2=A0 > =C2=A0 =C2=A0 =3D Please adapt local.mk to your loc= al setup! =C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D > > =C2=A0 =C2=A0 > =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 > =C2=A0 =C2=A0 End of file during parsing > > =C2=A0 =C2=A0 > =C2=A0 =C2=A0 make: [local.mk] Error 255 (ignored) > > =C2=A0 =C2=A0 > =C2=A0 =C2=A0 make -C lisp autoloads > > =C2=A0 =C2=A0 > =C2=A0 =C2=A0 rm -f org-version.el org-loaddefs.el = org-version.elc > > =C2=A0 =C2=A0 org-loaddefs.elc org-install.elc > > =C2=A0 =C2=A0 > =C2=A0 =C2=A0 org-version: 8.0-pre (release_8.0-pre= -150-g412d98) > > =C2=A0 =C2=A0 > =C2=A0 =C2=A0 End of file during parsing > > =C2=A0 =C2=A0 > =C2=A0 =C2=A0 make[1]: *** [org-version.el] Error 2= 55 > > =C2=A0 =C2=A0 > =C2=A0 =C2=A0 make: *** [autoloads] Error 2 > > =C2=A0 =C2=A0 > > > =C2=A0 =C2=A0 > Not sure where to go from here.=C2=A0 > > =C2=A0 =C2=A0 > > > > > > > =C2=A0 =C2=A0 This > > > > > > =C2=A0 =C2=A0 > =C2=A0 =C2=A0 =C2=A0Start Emacs with > > =C2=A0 =C2=A0 > =C2=A0 =C2=A0 the `--debug-init' option to view a c= omplete error > > =C2=A0 =C2=A0 backtrace. > > > > > > =C2=A0 =C2=A0 would be a start. The "End of file during parsing" pr= obably > > =C2=A0 =C2=A0 indicates > > =C2=A0 =C2=A0 a missing paren or some such, possibly in init.el. I = presume > emacs > > =C2=A0 =C2=A0 -q > > =C2=A0 =C2=A0 starts up properly? > > > > =C2=A0 =C2=A0 Nick > > > > > > >=20=20=20=20=20 >=20=20=20=20=20 > -- > Thomas S. Dye > http://www.tsdye.com >=20=20=20=20=20 >=20=20=20=20=20 > --=20 Thomas S. Dye http://www.tsdye.com