From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Robert P. Goldman" Subject: Question about reftex mode in org-mode Date: Thu, 04 Apr 2013 13:21:30 -0500 Message-ID: <515DC4AA.6050401@sift.info> Reply-To: rpgoldman@sift.info Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59581) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNon3-0007e8-Kh for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 14:21:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNomy-0004BN-2k for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 14:21:37 -0400 Received: from 23-25-144-217-static.hfc.comcastbusiness.net ([23.25.144.217]:52974 helo=mpls.sift.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNomx-0004AB-Um for emacs-orgmode@gnu.org; Thu, 04 Apr 2013 14:21:32 -0400 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: Org Mode 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