Re: [O] AUCTeX conflicting with org-mode

2012-03-26 Thread suvayu ali
Hi Bastien, On Mon, Mar 26, 2012 at 19:47, Bastien wrote: > Hi Suvayu, > > suvayu ali writes: > >> I hope you see the no-win situation now (:-p), hence my apprehension >> about the fix earlier. That said, I guess you have two choices: >> >> 1. Leave the bug unsolved, hoping there will be a clean

Re: [O] AUCTeX conflicting with org-mode

2012-03-26 Thread Bastien
Hi Suvayu, suvayu ali writes: > I hope you see the no-win situation now (:-p), hence my apprehension > about the fix earlier. That said, I guess you have two choices: > > 1. Leave the bug unsolved, hoping there will be a cleaner solution >later. After all, there is a very simple workaround o

Re: [O] AUCTeX conflicting with org-mode

2012-03-21 Thread Yagnesh Raghava Yakkala
Hello Suvayu., suvayu ali writes: > Hi Yagnesh, > > On Wed, Mar 21, 2012 at 07:01, Yagnesh Raghava Yakkala > wrote: >> 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,

Re: [O] AUCTeX conflicting with org-mode

2012-03-21 Thread suvayu ali
Hi Yagnesh, On Wed, Mar 21, 2012 at 07:01, Yagnesh Raghava Yakkala wrote: > 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, >

Re: [O] AUCTeX conflicting with org-mode

2012-03-20 Thread Yagnesh Raghava Yakkala
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

Re: [O] AUCTeX conflicting with org-mode

2012-03-20 Thread suvayu ali
Hi Bastien, On Tue, Mar 20, 2012 at 17:23, Bastien wrote: > 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

Re: [O] AUCTeX conflicting with org-mode

2012-03-20 Thread Bastien
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 i

Re: [O] AUCTeX conflicting with org-mode

2012-03-20 Thread suvayu ali
Hi Bastien and Yagnesh, On Tue, Mar 20, 2012 at 12:02, Bastien wrote: > Hi Yagnesh, > > Yagnesh Raghava Yakkala writes: > >> Thanks for the analysis. I think you are right. With my limited elisp skills >> I >> would say its a *bug* and coming from org. >> >> If I take that let-binding off and s

Re: [O] AUCTeX conflicting with org-mode

2012-03-20 Thread Bastien
Hi Yagnesh, Yagnesh Raghava Yakkala writes: > Thanks for the analysis. I think you are right. With my limited elisp skills I > would say its a *bug* and coming from org. > > If I take that let-binding off and setting the TeX-master by checking with > if it ever bound seems fixing this problem. >

Re: [O] AUCTeX conflicting with org-mode

2012-03-07 Thread Yagnesh Raghava Yakkala
Hello Nick., Nick Dokos writes: > suvayu ali wrote: > [snipped] > > Actually, your backtrace in the original post makes things clearer now. > > org-export-as-latex calls find-file-noselect on the .tex file, which > calls after-find-file which runs the find-file-hook. Somehow the > find-file

Re: [O] AUCTeX conflicting with org-mode

2012-03-07 Thread Nick Dokos
suvayu ali wrote: > Hi Nick, > > On Wed, Mar 7, 2012 at 21:00, Nick Dokos wrote: > > As a workaround-and-proof-of-concept, try > > > > (load "tex") > > > > before loading org. Assuming that that works, you will probably want > > to arrange things that this is always done. > > > > This worked a

Re: [O] AUCTeX conflicting with org-mode

2012-03-07 Thread suvayu ali
Hi Nick, On Wed, Mar 7, 2012 at 21:00, Nick Dokos wrote: > As a workaround-and-proof-of-concept, try > > (load "tex") > > before loading org. Assuming that that works, you will probably want > to arrange things that this is always done. > This worked as you hypothesised. :) > It might also be t

Re: [O] AUCTeX conflicting with org-mode

2012-03-07 Thread Nick Dokos
suvayu ali wrote: > 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

Re: [O] AUCTeX conflicting with org-mode

2012-03-07 Thread suvayu ali
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 e

Re: [O] AUCTeX conflicting with org-mode

2012-03-07 Thread Nick Dokos
Yagnesh Raghava Yakkala wrote: > > Hi Suvayu, > > suvayu ali writes: > > > Hi, > > > > I am having conflicts AUCTeX when I try to open plain latex files after > > I exporting an org file to latex. These are the exact steps. > > > > 1. Start Emacs as: emacs -q (so that the site files load and

Re: [O] AUCTeX conflicting with org-mode

2012-03-07 Thread suvayu ali
On Wed, Mar 7, 2012 at 06:08, Yagnesh Raghava Yakkala wrote: > I can reproduce this., I think your auctex installation is fine. Its > definitely from org. Thanks a lot for taking a look and confirming. :) -- Suvayu Open source is the future. It sets us free.

Re: [O] AUCTeX conflicting with org-mode

2012-03-06 Thread Yagnesh Raghava Yakkala
Hi Suvayu, suvayu ali writes: > Hi, > > I am having conflicts AUCTeX when I try to open plain latex files after > I exporting an org file to latex. These are the exact steps. > > 1. Start Emacs as: emacs -q (so that the site files load and I have >auctex available). > 2. Open any org file a

[O] AUCTeX conflicting with org-mode

2012-03-06 Thread suvayu ali
Hi, I am having conflicts AUCTeX when I try to open plain latex files after I exporting an org file to latex. These are the exact steps. 1. Start Emacs as: emacs -q (so that the site files load and I have auctex available). 2. Open any org file and export to latex, C-c C-e l. 3. Open another p