Re: [O] AUCTeX conflicting with org-mode

2012-03-26 Thread Bastien
Hi Suvayu, suvayu ali fatkasuvayu+li...@gmail.com 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

Re: [O] AUCTeX conflicting with org-mode

2012-03-26 Thread suvayu ali
Hi Bastien, On Mon, Mar 26, 2012 at 19:47, Bastien b...@gnu.org wrote: Hi Suvayu, suvayu ali fatkasuvayu+li...@gmail.com 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,

Re: [O] AUCTeX conflicting with org-mode

2012-03-21 Thread Yagnesh Raghava Yakkala
Hi Bastien and Suvayu, suvayu ali fatkasuvayu+li...@gmail.com 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

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 yagn...@live.com wrote: Hi Bastien and Suvayu, suvayu ali fatkasuvayu+li...@gmail.com writes: [snipped 35 lines] 1. Leave the bug unsolved, hoping there will be a cleaner solution    later. After all, there is a very

Re: [O] AUCTeX conflicting with org-mode

2012-03-21 Thread Yagnesh Raghava Yakkala
Hello Suvayu., suvayu ali fatkasuvayu+li...@gmail.com writes: Hi Yagnesh, On Wed, Mar 21, 2012 at 07:01, Yagnesh Raghava Yakkala yagn...@live.com wrote: Hi Bastien and Suvayu, suvayu ali fatkasuvayu+li...@gmail.com writes: [snipped 35 lines] 1. Leave the bug unsolved, hoping there

Re: [O] AUCTeX conflicting with org-mode

2012-03-20 Thread Bastien
Hi Yagnesh, Yagnesh Raghava Yakkala yagn...@live.com 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

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 b...@gnu.org wrote: Hi Yagnesh, Yagnesh Raghava Yakkala yagn...@live.com 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

Re: [O] AUCTeX conflicting with org-mode

2012-03-20 Thread Bastien
Hi Suvayu, suvayu ali fatkasuvayu+li...@gmail.com 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

Re: [O] AUCTeX conflicting with org-mode

2012-03-20 Thread suvayu ali
Hi Bastien, On Tue, Mar 20, 2012 at 17:23, Bastien b...@gnu.org wrote: Hi Suvayu, suvayu ali fatkasuvayu+li...@gmail.com 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

Re: [O] AUCTeX conflicting with org-mode

2012-03-07 Thread suvayu ali
On Wed, Mar 7, 2012 at 06:08, Yagnesh Raghava Yakkala yagn...@live.com 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-07 Thread Nick Dokos
Yagnesh Raghava Yakkala yagn...@live.com wrote: Hi Suvayu, suvayu ali fatkasuvayu+li...@gmail.com 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

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 nicholas.do...@hp.com 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

Re: [O] AUCTeX conflicting with org-mode

2012-03-07 Thread Nick Dokos
suvayu ali fatkasuvayu+li...@gmail.com wrote: Hi Nick, On Wed, Mar 7, 2012 at 16:39, Nick Dokos nicholas.do...@hp.com 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

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 nicholas.do...@hp.com 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

Re: [O] AUCTeX conflicting with org-mode

2012-03-07 Thread Nick Dokos
suvayu ali fatkasuvayu+li...@gmail.com wrote: Hi Nick, On Wed, Mar 7, 2012 at 21:00, Nick Dokos nicholas.do...@hp.com 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

Re: [O] AUCTeX conflicting with org-mode

2012-03-07 Thread Yagnesh Raghava Yakkala
Hello Nick., Nick Dokos nicholas.do...@hp.com writes: suvayu ali fatkasuvayu+li...@gmail.com 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

Re: [O] AUCTeX conflicting with org-mode

2012-03-06 Thread Yagnesh Raghava Yakkala
Hi Suvayu, suvayu ali fatkasuvayu+li...@gmail.com 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.