From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Re: Cleaning up my org setup, using version from git Date: Fri, 22 Mar 2013 15:27:23 -0600 Message-ID: References: <6066.1363986172@alphaville> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec5523a56f30ab604d88a1e05 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJ9Uj-0001qn-Ko for emacs-orgmode@gnu.org; Fri, 22 Mar 2013 17:27:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UJ9Uh-0003DH-W1 for emacs-orgmode@gnu.org; Fri, 22 Mar 2013 17:27:25 -0400 Received: from mail-ob0-x22a.google.com ([2607:f8b0:4003:c01::22a]:46106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJ9Uh-0003D5-Q3 for emacs-orgmode@gnu.org; Fri, 22 Mar 2013 17:27:23 -0400 Received: by mail-ob0-f170.google.com with SMTP id wc20so4467632obb.15 for ; Fri, 22 Mar 2013 14:27:23 -0700 (PDT) In-Reply-To: <6066.1363986172@alphaville> 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: Org Mode --bcaec5523a56f30ab604d88a1e05 Content-Type: text/plain; charset=ISO-8859-1 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 > > ====================================================== > > = Invoke "make help" for a synopsis of make targets. = > > = Created a default local.mk template. = > > = Setting "oldorg" as the default target. = > > = Please adapt local.mk to your local setup! = > > ====================================================== > > 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 > > --bcaec5523a56f30ab604d88a1e05 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Nick, thank you for the reply.

Happens it was an erro= r specific to the terminal version of emacs (OpenStep could not be found, b= y org-mac-protocol). Not loading that file solved the issue.

It looks like I just need to upgrade from org-remember to org-ca= pture.

However, I'm getting the following mess= age when calling org-version:

Org-mode versio= n 8.0-pre (release_8.0-pre-150-g412d98-git @ org-loaddefs.el can not be fou= nd!)

What does org-loaddefs do and how could I get org= -loaddefs to be loaded?

Thanks!

- Marcelo
=A0

On = Fri, Mar 22, 2013 at 3:02 PM, Nick Dokos <nicholas.dokos@hp.com>= ; wrote:
Marc= elo de Moraes Serpa <celoserpa@gm= ail.com> wrote:


> I have org in ~/.emacs.d/vendor/org, and I also added the following li= nes to my init.el:
>
> (add-to-list load-path (cons (concat dotfiles-dir "vendor/org/lis= p") =A0load-path))
> (add-to-list load-path (cons (concat dotfiles-dir "vendor/org/con= trib/lisp") =A0load-path))
>
> But it fails hard when emacs inits:
>
> =A0 =A0 Warning (initialization): An error occurred while loading `/Us= ers/fullofcaffeine/.emacs.d/
> =A0 =A0 init.el':
> =A0 =A0 error: Autoloading failed to define function org-babel-do-load= -languages
> =A0 =A0 To ensure normal operation, you should investigate and remove = the
> =A0 =A0 cause of the error in your initialization file. =A0Start Emacs= with
> =A0 =A0 the `--debug-init' option to view a complete error backtra= ce.
>
> When I try to "make autoloads" I get the following:
>
> =A0 =A0 org git:(master): make autoloads
> =A0 =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
> =A0 =A0 =3D Invoke "make help" for a synopsis of make target= s. =3D
> =A0 =A0 =3D Created a default local.mk template. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D
> =A0 =A0 =3D Setting "oldorg" as the default target. =A0 =A0 = =A0 =A0 =A0 =A0=3D
> =A0 =A0 =3D Please adapt local.mk to your local setup! =A0 =A0 =A0 =A0 =3D
> =A0 =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
> =A0 =A0 End of file during parsing
> =A0 =A0 make: [local.mk<= /a>] Error 255 (ignored)
> =A0 =A0 make -C lisp autoloads
> =A0 =A0 rm -f org-version.el org-loaddefs.el org-version.elc org-loadd= efs.elc org-install.elc
> =A0 =A0 org-version: 8.0-pre (release_8.0-pre-150-g412d98)
> =A0 =A0 End of file during parsing
> =A0 =A0 make[1]: *** [org-version.el] Error 255
> =A0 =A0 make: *** [autoloads] Error 2
>
> Not sure where to go from here.=A0
>

This

> =A0 =A0 =A0Start Emacs with
> =A0 =A0 the `--debug-init' option to view a complete error backtra= ce.

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


--bcaec5523a56f30ab604d88a1e05--