On Thursday, 15 May 2014 at 09:05, John Kitchin wrote:
> Your error seems to be coming from reftex.Well, it seems that if you are going to use reftex in emacs 24.4.x, you
need to define some variables. I put the following in your
org-mode-reftex-setup function:
(setq-local tex-start-of-header "%\\*\\*start of header")
(setq-local tex-end-of-header "%\\*\\*end of header")
immediately after loading reftex and things work better (I haven't
checked whether everything works yet).
The problem is that tex-mode assumes that it is active in a mode that
has been derived from tex-mode (such as latex-mode or plain-tex-mode)
and those modes define the variables above. Org-mode doesn't!
This may be a change in tex-mode for the latest emacs versions? I
cannot verify this.
Am I correct in believing that you are using emacs 24.3?
--
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org release_8.2.6-958-g7c8559-git