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 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 > > 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 >