From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: AUCTeX conflicting with org-mode Date: Wed, 21 Mar 2012 09:21:58 +0100 Message-ID: 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> <87k42ev6f3.fsf@live.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAGoM-000272-O7 for emacs-orgmode@gnu.org; Wed, 21 Mar 2012 04:22:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SAGoG-0007SE-Hk for emacs-orgmode@gnu.org; Wed, 21 Mar 2012 04:22:26 -0400 Received: from mail-yw0-f41.google.com ([209.85.213.41]:44282) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAGoG-0007RO-BI for emacs-orgmode@gnu.org; Wed, 21 Mar 2012 04:22:20 -0400 Received: by yhr47 with SMTP id 47so847478yhr.0 for ; Wed, 21 Mar 2012 01:22:18 -0700 (PDT) In-Reply-To: <87k42ev6f3.fsf@live.com> 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: Yagnesh Raghava Yakkala Cc: emacs-orgmode@gnu.org Hi Yagnesh, On Wed, Mar 21, 2012 at 07:01, Yagnesh Raghava Yakkala w= rote: > Hi Bastien and Suvayu, > > suvayu ali writes: >> > [snipped 35 lines] >> >> 1. Leave the bug unsolved, hoping there will be a cleaner solution >> =C2=A0 =C2=A0later. After all, there is a very simple workaround on the = user side, >> =C2=A0 =C2=A0do (load "tex.el") before using org-latex. > > how about this patch (to hotfix branch). > I tested it, the problem is still there. I don't think you can put arbitrary code within a let* bind and expect to retain the effect in the main body. The only possible solution I can see seems to be ensuring tex.el is loaded properly. More importantly though, if more users cannot replicate this bug this might as well be a detail specific to how the AUCTeX site files behave in my setup (I use AUCTeX from the Fedora repositories). Not sure if that is something org should handle. Cheers, --=20 Suvayu Open source is the future. It sets us free.