emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Alexander Poslavsky <alexander.poslavsky@gmail.com>
Cc: alan.schmitt@polytechnique.org, emacs-orgmode@gnu.org
Subject: Re: Using Eric Schulte's starter kit with org mode from source
Date: Wed, 24 Apr 2013 14:29:54 -0600	[thread overview]
Message-ID: <87ip3bd64d.fsf@gmail.com> (raw)
In-Reply-To: <25E0C59F-EE7D-42BC-9EB8-3A0F3A6AADD3@gmail.com>

Alexander Poslavsky <alexander.poslavsky@gmail.com> writes:

> Alan Schmitt writes:
>
>> Eric Schulte writes:
>>
>>> --8< snip
>>>
>>> Yes, the starter kit waits to load on the after-init-hook so that the
>>> Emacs package system will be fully loaded.  That is why the other file
>>> you load on the command line is loaded first.
>>
>> Then asynchronous export can't work, as it needs ox in that file. I've
>> changed my init.el to loading org before the after-init-hook, and I go
>> further but then I have an error about the "koma-letter" being
>> unknown. It seems that to go this way I would need to load all of my
>> export settings before the after-init-hook.
>
> I had problems with mixed up org-versions [1]. The starter-kit uses
> org-babel to create the lisp files Emacs needs.
>
> To solve this, I added org-mode-from-git's load-path to init.el, before
> require org. After that things worked for me.  The down-side is that
> your init.el is no longer the same as the starter-kit's, which makes
> upgrading a bit harder.
>
> Alex
>

It sounds like this is general a problem.  I've just added a portable
way to load Org-mode from the init.el.  It will now be possible to load
a local Emacs from source by setting the ORG_HOME environment variable.
If this variable is defined then Org-mode will be loaded from that
directory.

Note, this addition to the load path now happens *before* the
after-init-hook, so it may help with Alan's original problem as well.

See [1] for more information on this change.

Hope this helps,


Footnotes: 
[1]  https://github.com/eschulte/emacs24-starter-kit/commit/99107e9ee84c2935a614d7ac809aa27bce63c037

-- 
Eric Schulte
http://cs.unm.edu/~eschulte

  reply	other threads:[~2013-04-24 20:30 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-24 19:29 Alexander Poslavsky
2013-04-24 20:29 ` Eric Schulte [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-04-22 12:31 Alan Schmitt
2013-04-22 12:59 ` Eric Schulte
2013-04-22 14:11   ` Alan Schmitt
2013-04-23  7:42     ` Alan Schmitt
2013-04-23 13:27       ` Eric Schulte
2013-04-24  9:34         ` Alan Schmitt
2013-04-24 15:08           ` Eric Schulte
2013-04-24 17:31             ` Alan Schmitt
2013-04-24 17:51               ` Eric Schulte
2013-04-24 18:07                 ` Alan Schmitt
2013-04-24 18:25                   ` Eric Schulte
2013-04-24 19:29                     ` Thomas S. Dye
2013-04-25  7:27                       ` Alan Schmitt
2013-04-25 15:29                         ` Eric Schulte
2013-04-26  8:02                           ` Alan Schmitt

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=87ip3bd64d.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=alan.schmitt@polytechnique.org \
    --cc=alexander.poslavsky@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Using Eric Schulte'\''s starter kit with org mode from source' \
    /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

Code repositories for project(s) associated with this 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).