From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: AUCTeX conflicting with org-mode Date: Wed, 7 Mar 2012 18:37:49 +0100 Message-ID: References: <87sjhlxako.fsf@live.com> <20423.1331134740@alphaville> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5Kob-0007FN-J5 for emacs-orgmode@gnu.org; Wed, 07 Mar 2012 12:38:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S5KoV-000710-7D for emacs-orgmode@gnu.org; Wed, 07 Mar 2012 12:38:17 -0500 Received: from mail-tul01m020-f169.google.com ([209.85.214.169]:40584) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5KoV-00070n-0T for emacs-orgmode@gnu.org; Wed, 07 Mar 2012 12:38:11 -0500 Received: by obbta14 with SMTP id ta14so8364262obb.0 for ; Wed, 07 Mar 2012 09:38:09 -0800 (PST) In-Reply-To: <20423.1331134740@alphaville> 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: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org, Yagnesh Raghava Yakkala Hi Nick, On Wed, Mar 7, 2012 at 16:39, Nick Dokos wrote: >> In org-latex.el Tex-master is set to t to suppress auctex from asking for >> that variable while exporting with org-latex..(IIRC there was a discussion and >> Carsten made that change) >> >> Some how org leaving that to void at the end of org-latex export (I coundn't >> figure out how?). >> > > That sounds far-fetched to me: once TeX-master is bound, one has to go > to some lengths to unbind it (see makunbound - but I'm pretty sure > that's not used anywhere in org code - there are a few instances of the > function analog, fmakunbound). > > It seems much more likely that in these cases, it never got bound in the > first place, possibly because of dependency problems in the loading of > packages. But I cannot reproduce the problem, so I'm speaking > theoretically only and my imagination may be failing me. I think Yagnesh is talking about this thread: I took a quick look at the commit (ca49e89) and the source (org-latex.el line 888), but everything looks good to me. To add more information, while exporting to latex I get the following warning when auctex site files are present. Export buffer: Exporting to LaTeX... Warning: defvar ignored because TeX-master is let-bound Making TeX-master buffer-local while let-bound! Hope this clearly explains the problem I am facing. PS: BTW, why is AUCTeX not part of Emacs? -- Suvayu Open source is the future. It sets us free.