emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Loris Bennett <loris.bennett@fu-berlin.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Error with org-mode-reftex-setup after upgrade
Date: Mon, 19 May 2014 16:36:14 +0200	[thread overview]
Message-ID: <87k39hx2ch.fsf@bzg.ath.cx> (raw)
In-Reply-To: <87lhu26som.fsf@hornfels.zedat.fu-berlin.de> (Loris Bennett's message of "Fri, 16 May 2014 10:20:25 +0200")

Hi Loris,

"Loris Bennett" <loris.bennett@fu-berlin.de> writes:

> ,-------------------------------------------------
> | (defun org-mode-reftex-setup ()
> |   (interactive)
> |   (load-library "reftex")
> |   (and (buffer-file-name)
> |        (file-exists-p (buffer-file-name))
> |        (reftex-parse-all)))
> | 
> | (add-hook 'org-mode-hook 'org-mode-reftex-setup)
> `-------------------------------------------------
> Following the update, this now seems to throw the error:
> ,--------------------------------------------------------------------
> | Loading reftex...done
> | File mode specification error: (wrong-type-argument sequencep dwim)
> `--------------------------------------------------------------------
> Any ideas?

You need to use this defun instead:

(defun org-mode-reftex-setup ()
  (load-library "reftex")
  (and (buffer-file-name)
       (file-exists-p (buffer-file-name))
       (setq TeX-master t)
  (define-key org-mode-map (kbd "C-c )") 'reftex-citation))

setting TeX-master to t locally.



      reply	other threads:[~2014-05-19 14:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-16  8:20 Error with org-mode-reftex-setup after upgrade Loris Bennett
2014-05-19 14:36 ` Bastien [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:

  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=87k39hx2ch.fsf@bzg.ath.cx \
    --to=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=loris.bennett@fu-berlin.de \


* 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


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