[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Question about reftex mode in org-mode
From: |
Robert P. Goldman |
Subject: |
[O] Question about reftex mode in org-mode |
Date: |
Thu, 04 Apr 2013 13:21:30 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 |
Quite some time ago, I incorporated reftex into my use of org mode, per
a suggestion on Worg:
;;;---------------------------------------------------------------------------
;;; Use reftex with org-mode, per Worg
;;;---------------------------------------------------------------------------
(autoload 'turn-on-reftx "reftex" "Turn on RefTeX mode." t)
(defun org-mode-reftex-setup ()
(turn-on-reftex))
(add-hook 'org-mode-hook 'org-mode-reftex-setup)
Now I find that this has a bad behavior at least with Aquamacs: it can
cause attempts to use the menu bar to be interrupted by a cryptic popup
file selector that says "Master file:"
This seems to be reftex trying to set a value for TeX-master.
So maybe reftex is unhappy when it's not invoked inside of AucTeX (where
TeX-master is defined and set).
Anyone else seen this? Have a solution (e.g., have org files assume
that TeX-master is t)?
Thanks!
r
- [O] Question about reftex mode in org-mode,
Robert P. Goldman <=