From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: AUCTeX conflicting with org-mode Date: Tue, 20 Mar 2012 17:23:03 +0100 Message-ID: <877gyfkzrs.fsf@gnu.org> References: <87sjhlxako.fsf@live.com> <20423.1331134740@alphaville> <3555.1331150405@alphaville> <4125.1331159402@alphaville> <87399jo9go.fsf@live.com> <87r4wnpmbn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA1oh-0002Nm-FW for emacs-orgmode@gnu.org; Tue, 20 Mar 2012 12:21:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SA1of-0005Vz-N5 for emacs-orgmode@gnu.org; Tue, 20 Mar 2012 12:21:47 -0400 Received: from incoming2.cnam.fr ([163.173.128.34]:20900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SA1of-0005Vs-HY for emacs-orgmode@gnu.org; Tue, 20 Mar 2012 12:21:45 -0400 In-Reply-To: (suvayu ali's message of "Tue, 20 Mar 2012 15:48:23 +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: suvayu ali Cc: emacs-orgmode@gnu.org, Yagnesh Raghava Yakkala Hi Suvayu, suvayu ali writes: > I wanted to comment earlier but it slipped my mind, sorry about that. > > I am not sure if this patch is quite corect. It removes the let bind and > instead conditionally uses setq to bind it to t. From the docs I see the > variable becomes buffer local when set in any fashion, but does that > still mean it is okay to use setq? > > I can imagine in a complicated publishing project, an org file might > need to set the value to something. I suppose this will override any > such custom config. Is my analysis correct? It might be worth thinking > about before applying the patch. > > Is a conditional let binding possible, it might be the safer choice in > that case. I applied a patch into hotfix-7.8.06 using the let binding -- let me know if this works correctly. Thanks! -- Bastien