Re: [O] orgmode and auctex

2012-02-24 Thread Christopher Witte
It's been working for me so far so I think I'll stick with it. Thanks for all your help. Chris. On 24 February 2012 06:34, Nick Dokos nicholas.do...@hp.com wrote: Christopher Witte ch...@witte.net.au wrote: Hi all, (setq TeX-auto-save t) (setq TeX-parse-self t) (setq-default

Re: [O] orgmode and auctex

2012-02-23 Thread Nick Dokos
Christopher Witte ch...@witte.net.au wrote: Hi all, (setq TeX-auto-save t) (setq TeX-parse-self t) (setq-default TeX-master nil) (make-variable-buffer-local 'TeX-master) ;; I think this is need because the variable is not buffer local until Auctex is active (defun

Re: [O] orgmode and auctex

2012-02-20 Thread Christopher Witte
Hi all, (setq TeX-auto-save t) (setq TeX-parse-self t) (setq-default TeX-master nil) (make-variable-buffer-local 'TeX-master) ;; I think this is need because the variable is not buffer local until Auctex is active (defun org-mode-reftex-setup () (setq TeX-master t) (load-library reftex)

Re: [O] orgmode and auctex

2012-02-11 Thread Christopher Witte
Yes, I get this response when I open a .org file. I only want it when I open a .tex file. Cheers, Chris On 9 February 2012 21:08, Nick Dokos nicholas.do...@hp.com wrote: Thomas Alexander Gerds tagt...@sund.ku.dk wrote: Hi Chris, maybe I cannot follow exactly what you are trying to do,

Re: [O] orgmode and auctex

2012-02-11 Thread Nick Dokos
Christopher Witte ch...@witte.net.au wrote: Yes, I get this response when I open a .org file. I only want it when I open a .tex file. Cheers, Chris I just reproduced it (no idea why I wasn't able to reproduce it earlier). Stay tuned. Nick On 9 February 2012 21:08, Nick Dokos

Re: [O] orgmode and auctex

2012-02-11 Thread Carsten Dominik
On 9.2.2012, at 21:08, Nick Dokos wrote: Thomas Alexander Gerds tagt...@sund.ku.dk wrote: Hi Chris, maybe I cannot follow exactly what you are trying to do, but when I start emacs -q and evaluate (setq-default TeX-master nil) and then open a new file test.tex, then I get the same

Re: [O] orgmode and auctex

2012-02-11 Thread Nick Dokos
Carsten Dominik carsten.domi...@gmail.com wrote: On 9.2.2012, at 21:08, Nick Dokos wrote: Thomas Alexander Gerds tagt...@sund.ku.dk wrote: Hi Chris, maybe I cannot follow exactly what you are trying to do, but when I start emacs -q and evaluate (setq-default TeX-master nil)

Re: [O] orgmode and auctex

2012-02-09 Thread Christopher Witte
OK so using the setq-default inside a hook is probably not a good idea. But I can reliably reproduce this problem, I'm surprised you couldn't. If I start emacs using emacs -Q and open an org file everything is fine. If I then evaluate this (setq-default TeX-master nil) (defun

Re: [O] orgmode and auctex

2012-02-09 Thread Thomas Alexander Gerds
Hi Chris, maybe I cannot follow exactly what you are trying to do, but when I start emacs -q and evaluate (setq-default TeX-master nil) and then open a new file test.tex, then I get the same prompt Master file:. so maybe, if you do not want to get prompted, you could try setting (setq-default

Re: [O] orgmode and auctex

2012-02-09 Thread Nick Dokos
Thomas Alexander Gerds tagt...@sund.ku.dk wrote: Hi Chris, maybe I cannot follow exactly what you are trying to do, but when I start emacs -q and evaluate (setq-default TeX-master nil) and then open a new file test.tex, then I get the same prompt Master file:. I think Chris means that

[O] orgmode and auctex

2012-02-07 Thread Christopher Witte
I've had a small problem with orgmode and auctex. Follwing the auctex quickstart I added the following to my .emacs (setq-default TeX-master nil) and then from the orgmode FAQ to setup reftex in orgmode I added the following (defun org-mode-reftex-setup () (load-library reftex) (and

Re: [O] orgmode and auctex

2012-02-07 Thread Nick Dokos
Christopher Witte ch...@witte.net.au wrote: I've had a small problem with orgmode and auctex.  Follwing the auctex quickstart I added the following to my .emacs (setq-default TeX-master nil) and then from the orgmode FAQ to setup reftex in orgmode I added the following (defun