emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeffrey Spencer <jeffspencerd@gmail.com>
To: John Kitchin <jkitchin@andrew.cmu.edu>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Org-mode export doesn't work anymore after moving to OsX
Date: Wed, 13 Apr 2016 16:58:52 +0000	[thread overview]
Message-ID: <CALmFPZ0ZbRoZERi8L8kK0eHWbxrXbGUEFYoHOioPAxrXEXJttw@mail.gmail.com> (raw)
In-Reply-To: <m2y48hekr9.fsf@Johns-MacBook-Air.local>

[-- Attachment #1: Type: text/plain, Size: 3256 bytes --]

How do I change the below to load for example: ~/Dropbox/kitchingroup/jmax/
instead of the current directory the init.el file is in. Then I can link
init.el to .emacs.d and I think all will work properly.

(defconst starter-kit-dir (file-name-directory (or load-file-name
(buffer-file-name))))



On Wed, Apr 13, 2016 at 10:49 PM John Kitchin <jkitchin@andrew.cmu.edu>
wrote:

> That is done automatically if you run it like:
>
> emacs -q -l /path/to-init.el
>
> the jmax directory is stored at load time
> (https://github.com/jkitchin/jmax/blob/master/init.el#L16) and the
> variable is used every where else that is needed.
>
> alternatively, you might try (with your path obviously) in your init
> file:
>
> (load-file "~/Dropbox/kitchingroup/jmax/init.el")
>
> It should do the same thing.
>
>
> Jeffrey Spencer writes:
>
> > Well I installed emacs as you did and still didn't work but if I use your
> > configuration file it works fine and exports. I like the features for
> > org-mode so I might merge some of the things in my setup files and just
> use
> > your configuration. What's the best way to get it as the default on
> > macbook? I know I can link the init.el to .emacs but how do I make sure
> it
> > knows where the jmax folder resides on the system.
> >
> >
> > On Wed, Apr 13, 2016 at 12:14 PM John Kitchin <jkitchin@andrew.cmu.edu>
> > wrote:
> >
> >> How did you install emacs?
> >>
> >> You can see how I do it here:
> >>
> >> https://github.com/jkitchin/jmax/blob/master/install-jmax-mac.sh#L12
> >>
> >> this has worked for me for a long time.
> >>
> >> Jeffrey Spencer writes:
> >>
> >> > I keep getting the following error when exporting from org-mode but
> >> > everything else seems to work fine except maybe spell-checking is
> broken
> >> > too. I just pulled the newest version from git as well.
> >> >
> >> > ```
> >> > File mode specification error: (void-function exec-installed-p)
> >> > Debug (ox-odt): Searching for OpenDocument styles files...
> >> > Debug (ox-odt): Trying /usr/share/emacs/etc/org/styles/... [2 times]
> >> > Debug (ox-odt): Trying
> >> > /Users/big/Dropbox/SyncedPrograms/emacs/loadPath/etc/styles/...
> >> > Debug (ox-odt): Trying
> >> >
> >>
> /Users/big/Dropbox/SyncedPrograms/emacs/loadPath/org-mode/lisp/etc/styles/...
> >> > Debug (ox-odt): Trying
> >> > /usr/local/Cellar/emacs/24.5/share/emacs/24.5/etc/org/...
> >> > Debug (ox-odt): Using styles under
> >> > /usr/local/Cellar/emacs/24.5/share/emacs/24.5/etc/org/
> >> > Debug (ox-odt): Searching for OpenDocument schema files...
> >> > Debug (ox-odt): Trying /usr/share/emacs/etc/org/schema/... [2 times]
> >> > Debug (ox-odt): No OpenDocument schema files installed
> >> > and: Symbol's function definition is void: exec-installed-p
> >> > ```
> >> >
> >> > cheers,
> >> > Jeff
> >>
> >>
> >> --
> >> Professor John Kitchin
> >> Doherty Hall A207F
> >> Department of Chemical Engineering
> >> Carnegie Mellon University
> >> Pittsburgh, PA 15213
> >> 412-268-7803
> >> @johnkitchin
> >> http://kitchingroup.cheme.cmu.edu
> >>
>
>
> --
> Professor John Kitchin
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu
>

[-- Attachment #2: Type: text/html, Size: 6149 bytes --]

      reply	other threads:[~2016-04-13 17:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-13  0:57 Org-mode export doesn't work anymore after moving to OsX Jeffrey Spencer
2016-04-13  2:14 ` John Kitchin
2016-04-13 11:47   ` Jeffrey Spencer
2016-04-13 12:49     ` John Kitchin
2016-04-13 16:58       ` Jeffrey Spencer [this message]

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=CALmFPZ0ZbRoZERi8L8kK0eHWbxrXbGUEFYoHOioPAxrXEXJttw@mail.gmail.com \
    --to=jeffspencerd@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jkitchin@andrew.cmu.edu \
    /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).