emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Alan Schmitt <alan.schmitt@polytechnique.org>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Using Eric Schulte's starter kit with org mode from source
Date: Tue, 23 Apr 2013 07:27:19 -0600	[thread overview]
Message-ID: <878v49mgew.fsf@gmail.com> (raw)
In-Reply-To: m2bo953d7l.fsf@polytechnique.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

  reply	other threads:[~2013-04-23 15:10 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-22 12:31 Using Eric Schulte's starter kit with org mode from source 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 [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
2013-04-24 19:29 Alexander Poslavsky
2013-04-24 20:29 ` Eric Schulte

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=878v49mgew.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=alan.schmitt@polytechnique.org \
    --cc=emacs-orgmode@gnu.org \
    /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).