emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: Marcelo de Moraes Serpa <celoserpa@gmail.com>
Cc: nicholas.dokos@hp.com, Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Cleaning up my org setup, using version from git
Date: Fri, 22 Mar 2013 11:35:47 -1000	[thread overview]
Message-ID: <m1ppyrrubw.fsf@poto.myhome.westell.com> (raw)
In-Reply-To: <CACHMzOEGR-F+N12M-AVuwS-Cdwqs8S5497ULq+S9_Fo3WiARmw@mail.gmail.com> (Marcelo de Moraes Serpa's message of "Fri, 22 Mar 2013 15:27:23 -0600")

Aloha Marcelo,

Marcelo de Moraes Serpa <celoserpa@gmail.com> 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 loaded?

Did you `make autoloads'?

Tom

>
> Thanks!
>
> - Marcelo
>
>
> On Fri, Mar 22, 2013 at 3:02 PM, Nick Dokos <nicholas.dokos@hp.com> wrote:
>
>> Marcelo de Moraes Serpa <celoserpa@gmail.com> 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
>>
>>
> 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 <nicholas.dokos@hp.com>
> wrote:
>
>     
>     Marcelo de Moraes Serpa <celoserpa@gmail.com> 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
>     
>     
>

-- 
Thomas S. Dye
http://www.tsdye.com

  reply	other threads:[~2013-03-22 21:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-22 20:04 Cleaning up my org setup, using version from git Marcelo de Moraes Serpa
2013-03-22 21:02 ` Nick Dokos
2013-03-22 21:27   ` Marcelo de Moraes Serpa
2013-03-22 21:35     ` Thomas S. Dye [this message]
2013-03-22 21:54       ` Marcelo de Moraes Serpa
2013-03-22 22:19         ` Thomas S. Dye
2013-03-22 22:24           ` Marcelo de Moraes Serpa
2013-03-22 22:35             ` Nick Dokos
2013-03-22 22:27         ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1ppyrrubw.fsf@poto.myhome.westell.com \
    --to=tsd@tsdye.com \
    --cc=celoserpa@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).