From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte <schulte.eric@gmail.com> Subject: Re: Using Eric Schulte's starter kit with org mode from source Date: Tue, 23 Apr 2013 07:27:19 -0600 Message-ID: <878v49mgew.fsf@gmail.com> References: <m2fvyi7nne.fsf@polytechnique.org> <87y5ca67ra.fsf@gmail.com> <m21ua2fyf6.fsf@polytechnique.org> <m2bo953d7l.fsf@polytechnique.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org> Received: from eggs.gnu.org ([208.118.235.92]:33226) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <schulte.eric@gmail.com>) id 1UUerZ-0001tB-Ni for emacs-orgmode@gnu.org; Tue, 23 Apr 2013 11:10:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <schulte.eric@gmail.com>) id 1UUerT-0006OR-M9 for emacs-orgmode@gnu.org; Tue, 23 Apr 2013 11:10:33 -0400 Received: from mail-pd0-f178.google.com ([209.85.192.178]:39560) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <schulte.eric@gmail.com>) id 1UUerT-0006OE-HA for emacs-orgmode@gnu.org; Tue, 23 Apr 2013 11:10:27 -0400 Received: by mail-pd0-f178.google.com with SMTP id w11so489187pde.23 for <emacs-orgmode@gnu.org>; Tue, 23 Apr 2013 08:10:26 -0700 (PDT) List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=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 <alan.schmitt@polytechnique.org> Cc: emacs-orgmode <emacs-orgmode@gnu.org> Alan Schmitt <alan.schmitt@polytechnique.org> writes: > Hi Eric, > > I have a follow-up question about this setup. It seems that I no longer > can use asynchronous export with it, I get this in the *Org Export Process* > buffer: > > ,---- > | Cannot open load file: ox > `---- > > Can it be related to switching to the starter kit? > I can think of some possibilities, 1. Your load-path either isn't pointing to the newest Org-mode, or you are somehow also loading an older version of Org-mode. Although I believe I just helped you setup your load path, so lets assume this isn't the case. 2. Do you explicitly require whichever ox-* new exporter you want to use? 3. Maybe you should run make in the Org-mode directory, to ensure all autoload files etc... are in place. I'm sure there is a way around having to do this every time, but it may help in this instance. Sorry I can't be of more help. If the solution you find appears to be a general one, please let me know if it should be folded into the starter kit. Thanks, > > Thanks a lot, > > Alan > > Alan Schmitt writes: > >> Eric Schulte writes: >> >>> Adding a line to init.el will allow you to specify the Org-mode instill >>> to use. Something like the following should work. >>> >>> (add-hook 'after-init-hook >>> `(lambda () >>> ;; remember this directory >>> (setq starter-kit-dir >>> ,(file-name-directory (or load-file-name (buffer-file-name)))) >>> ;; load up the starter kit >>> (add-to-list 'load-path "~/path/to/org-mode/lisp/") >>> (require 'org) >>> (org-babel-load-file (expand-file-name "starter-kit.org" starter-kit-dir)))) >> >> Thanks a lot, it works great! >> >> Alan > -- Eric Schulte http://cs.unm.edu/~eschulte