From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yagnesh Raghava Yakkala Subject: Re: AUCTeX conflicting with org-mode Date: Wed, 21 Mar 2012 15:01:36 +0900 Message-ID: <87k42ev6f3.fsf@live.com> References: <87sjhlxako.fsf@live.com> <20423.1331134740@alphaville> <3555.1331150405@alphaville> <4125.1331159402@alphaville> <87399jo9go.fsf@live.com> <87r4wnpmbn.fsf@gnu.org> <877gyfkzrs.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAEcO-00027Z-7C for emacs-orgmode@gnu.org; Wed, 21 Mar 2012 02:01:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SAEcM-0006Kz-Ey for emacs-orgmode@gnu.org; Wed, 21 Mar 2012 02:01:55 -0400 Received: from plane.gmane.org ([80.91.229.3]:56495) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAEcM-0006K7-8A for emacs-orgmode@gnu.org; Wed, 21 Mar 2012 02:01:54 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SAEcI-00030t-0E for emacs-orgmode@gnu.org; Wed, 21 Mar 2012 07:01:50 +0100 Received: from 59x158x65x92.ap59.ftth.ucom.ne.jp ([59.158.65.92]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Mar 2012 07:01:49 +0100 Received: from yagnesh by 59x158x65x92.ap59.ftth.ucom.ne.jp with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Mar 2012 07:01:49 +0100 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: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Hi Bastien and Suvayu, suvayu ali writes: > [snipped 35 lines] > > 1. Leave the bug unsolved, hoping there will be a cleaner solution > later. After all, there is a very simple workaround on the user side, > do (load "tex.el") before using org-latex. how about this patch (to hotfix branch). --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=org-latex.el.diff diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 2e11ca4..438e5a4 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -871,6 +871,7 @@ when PUB-DIR is set, use this as the publishing directory." filename))) (auto-insert nil); Avoid any auto-insert stuff for the new file (TeX-master (boundp 'TeX-master)) + (dummy (unless TeX-master (makunbound 'TeX-master))) ; make sure we are not introducing TeX-master (buffer (if to-buffer (cond ((eq to-buffer 'string) (get-buffer-create --=-=-= Content-Type: text/plain -- YYR --=-=-=--