I also run emacs 24.3.

nearly my whole setup is here: https://github.com/jkitchin/jmax

If you are on windows, you should be able to clone that repository, and run jmax.bat which will run the emacs binary in that repository and load the jmax code which includes org-ref. You may not want to use my setup all the time, but it might help figure out what is different with your setup.

For Macs or Linux, you just need to run something like "emacs -q -l path/to/jmax/init.el" to try it out.

John

-----------------------------------
John Kitchin
Associate Professor
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
http://kitchingroup.cheme.cmu.edu



On Tue, May 13, 2014 at 11:58 PM, Andreas Reuleaux <andreas@a-rx.info> wrote:
Eric,

I don't have auctex installed, and org-ref works fine for me.

But I do run a recent self-compiled emacs 24 (haven't tested yet,
if it works with my older emacs24 from debian as well),
and I get updated packages like dash relatively often via cask
( https://github.com/cask/cask , http://cask.github.io/ ),
i. e. I have in my Cask file

  (depends-on "dash")

so it wouldn't have happend to me to have an outdated dash pkg,
isolating your problem and pointing at what exactly is causing your
trouble is of course more difficult (and creating a minimal config that
works for me takes more time than I currently have, sorry).

Hope this helps, nevertheless


-Andreas



Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> John,
>
> another data point.  When I try to load an org file, once org-ref is
> loaded, I get the following problem:
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>   re-search-forward(nil 10001 t)
>   tex-main-file()
>   reftex-TeX-master-file()
>   reftex-tie-multifile-symbols()
>   reftex-access-scan-info((16))
>   reftex-parse-all()
>   (and (buffer-file-name) (file-exists-p (buffer-file-name))
> (global-auto-revert-mode t) (reftex-parse-all))
>   org-mode-reftex-setup()
>   run-hooks(change-major-mode-after-body-hook text-mode-hook
> outline-mode-hook org-mode-hook)
>   apply(run-hooks (change-major-mode-after-body-hook text-mode-hook
> outline-mode-hook org-mode-hook))
>   run-mode-hooks(org-mode-hook)
>
> Because of this, org-ref doesn't get initialised properly.
>
> Any idea what may be causing this?  Do I need to configure auctex or
> similar?
>
> thanks,
> eric