From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Poslavsky Subject: Re: Using Eric Schulte's starter kit with org mode from source Date: Wed, 24 Apr 2013 21:29:14 +0200 Message-ID: <25E0C59F-EE7D-42BC-9EB8-3A0F3A6AADD3@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47288) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV5Nb-0008Qx-9E for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 15:29:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UV5NW-0000m9-Kl for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 15:29:23 -0400 Received: from mail-ea0-x236.google.com ([2a00:1450:4013:c01::236]:62553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UV5NW-0000lt-Ed for emacs-orgmode@gnu.org; Wed, 24 Apr 2013 15:29:18 -0400 Received: by mail-ea0-f182.google.com with SMTP id r16so897198ead.27 for ; Wed, 24 Apr 2013 12:29:17 -0700 (PDT) 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: alan.schmitt@polytechnique.org Cc: emacs-orgmode@gnu.org, schulte.eric@gmail.com 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 [1] I use prelude, but use org-babel for my private settings, like the starter-kit does