From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: org-ref code Date: Thu, 15 May 2014 10:19:10 -0400 Message-ID: References: <878uql7r7p.fsf@ucl.ac.uk> <87eh0d62ys.fsf@ucl.ac.uk> <87lhu9ofqa.fsf@ucl.ac.uk> <871tvzm859.fsf@pinto.chemeng.ucl.ac.uk> <87zjimnccb.fsf@a-rx.info> <87tx8uc59f.fsf@ucl.ac.uk> <87zjil4ex1.fsf@ucl.ac.uk> <87k39ojkc2.fsf@ucl.ac.uk> <8738gbr0i5.fsf@ucl.ac.uk> <87tx8rpib1.fsf@ucl.ac.uk> <87bnuznp8r.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bdcab7c0d276904f970fb7a Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkwV6-0001pd-Vj for emacs-orgmode@gnu.org; Thu, 15 May 2014 10:19:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkwV5-0002Sd-Nz for emacs-orgmode@gnu.org; Thu, 15 May 2014 10:19:12 -0400 Received: from mail-wg0-x229.google.com ([2a00:1450:400c:c00::229]:60329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkwV5-0002SL-Df for emacs-orgmode@gnu.org; Thu, 15 May 2014 10:19:11 -0400 Received: by mail-wg0-f41.google.com with SMTP id z12so3591067wgg.24 for ; Thu, 15 May 2014 07:19:10 -0700 (PDT) In-Reply-To: <87bnuznp8r.fsf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Kitchin , "emacs-orgmode@gnu.org" --047d7bdcab7c0d276904f970fb7a Content-Type: text/plain; charset=UTF-8 yes, I am using emacs 24.3. 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 Thu, May 15, 2014 at 9:30 AM, Eric S Fraga wrote: > 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 > --047d7bdcab7c0d276904f970fb7a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
yes, I am using emacs 24.3.

John

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



On Thu, May 15, 2014 at 9:30 AM, Eric S = Fraga <e.fraga@ucl.ac.uk> wrote:
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, y= ou
need to define some variables. =C2=A0I put the following in your
org-mode-reftex-setup function:

=C2=A0 =C2=A0 (setq-local tex-start-of-header "%\\*\\*start of header&= quot;)
=C2=A0 =C2=A0 (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. =C2=A0Org-mode doesn't!

This may be a change in tex-mode for the latest emacs versions? =C2=A0I
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

--047d7bdcab7c0d276904f970fb7a--