Re: [O] TeX-master: TeX-master is let-bound

2013-03-02 Thread Bastien
Hi Christopher, Christopher Schmidt writes: > Unfortunately I see is no other easy way to reproduce this. Well, I doubt anyone will have time to reproduce this before Org 7.9.4 and I'd rather concentrate on Org 8.0 for now, so... > (I am fine with wontfix in maint.) ... most probably this wil

Re: [O] TeX-master: TeX-master is let-bound

2013-02-23 Thread Christopher Schmidt
Bastien writes: Hi Bastien, > The problem is not in master anymore, That's great! > I add AUCTeX from ELPA, then I emacs -Q and loaded autoload-auctex.el > to make sure the autoloads were correct. I can reproduce this. (Current maint, GNU Emacs 24.2.93.2) Did you push AUCTeX's directory in

Re: [O] TeX-master: TeX-master is let-bound

2013-02-23 Thread Bastien
Hi Christopher, Christopher Schmidt writes: > In org-latex.el, within the binding: > > (if to-buffer > (unless (eq major-mode 'latex-mode) (latex-mode)) > (save-buffer)) The problem is not in master anymore, but we still need to fix it for maint, from which 7.9.4 will be relea

Re: [O] TeX-master: TeX-master is let-bound

2013-02-19 Thread Christopher Schmidt
Over at emacs-devel Tassilo Horn hit on the very same problem. This is what Glenn said (): Tassilo Horn wrote: > (let ((crm-separator ",")) > (require 'crm)) This is a long-standing issue. The only solution at the moment is "don't do that". Christopher

Re: [O] TeX-master: TeX-master is let-bound

2013-01-26 Thread Christopher Schmidt
Bastien writes: > Generating autoloads for tex-jp.el... > forward-sexp: Scan error: "Unbalanced parentheses", 8785, 28213 > > When compiling. I have no idea. emacs-24 (GNU Emacs 24.2.90.1) works fine. > I'm off for the week-end, I'll dig this further later on next week. Thank you very much. H

Re: [O] TeX-master: TeX-master is let-bound

2013-01-26 Thread Bastien
Hi Christopher, Christopher Schmidt writes: > Bastien writes: >> Christopher Schmidt writes: >> >>> $ emacs -q --eval "(progn (package-refresh-contents) (package-install >>> 'auctex) (kill-emacs))" >> >> I can't install auctex through package-install. > > Why is that? What's failing? Ge

Re: [O] TeX-master: TeX-master is let-bound

2013-01-26 Thread Christopher Schmidt
Bastien writes: > Christopher Schmidt writes: > >> $ emacs -q --eval "(progn (package-refresh-contents) (package-install >> 'auctex) (kill-emacs))" > > I can't install auctex through package-install. Why is that? What's failing? ( "export HOME=/tmp" makes Emacs use /tmp/.emacs.d as it's

Re: [O] TeX-master: TeX-master is let-bound

2013-01-26 Thread Bastien
Christopher Schmidt writes: > $ emacs -q --eval "(progn (package-refresh-contents) (package-install > 'auctex) (kill-emacs))" I can't install auctex through package-install. Can you give more directions? Thanks, -- Bastien

Re: [O] TeX-master: TeX-master is let-bound

2013-01-26 Thread Christopher Schmidt
Christopher Schmidt writes: > Bastien writes: >> Can you provide a reproducible recipe? > > I already did, check <87390w5...@ch.ristopher.com>. The issue I > described will only occur if one uses AUCTeX and AUCTeX has not been > loaded already. Nick did not follow the recipe so he was not able

Re: [O] TeX-master: TeX-master is let-bound

2013-01-25 Thread Christopher Schmidt
Bastien writes: Hi Bastien, thanks for your reply. > Christopher Schmidt writes: >> Christopher Schmidt writes: >>> The default value it t anyway. The docstring suggests that this >>> variable should be set via file variables. I do not think org-mode >>> should worry about AUCTeX. >> >> Pin

Re: [O] TeX-master: TeX-master is let-bound

2013-01-25 Thread Bastien
Hi Christopher, Christopher Schmidt writes: > Christopher Schmidt writes: >> The default value it t anyway. The docstring suggests that this >> variable should be set via file variables. I do not think org-mode >> should worry about AUCTeX. > > Ping? > > The default value of TeX-master is t.

Re: [O] TeX-master: TeX-master is let-bound

2013-01-24 Thread Christopher Schmidt
Christopher Schmidt writes: > The default value it t anyway. The docstring suggests that this > variable should be set via file variables. I do not think org-mode > should worry about AUCTeX. Ping? The default value of TeX-master is t. Binding a symbol which might be defvar'ed within the let-

Re: [O] TeX-master: TeX-master is let-bound

2012-11-01 Thread Nick Dokos
Christopher Schmidt wrote: > Nick Dokos writes: > > Hi Nick, > > were you able to reproduce my problem? > No - I didn't try to duplicate what ELPA does (or install through it): I just don't have the time for that. > > Christopher Schmidt wrote: > > > >> Nick Dokos writes: > >> > In any ca

Re: [O] TeX-master: TeX-master is let-bound

2012-11-01 Thread Christopher Schmidt
Nick Dokos writes: Hi Nick, were you able to reproduce my problem? > Christopher Schmidt wrote: > >> Nick Dokos writes: >> > In any case, if you can get rid of the let-bind (or the need to >> > muck with TeX-master at all within org), without introducing a >> > regression, we are all ears. >>

Re: [O] TeX-master: TeX-master is let-bound

2012-10-30 Thread Nick Dokos
Sebastien Vauban wrote: > Hi Nick, > > Nick Dokos wrote: > > Not in my case: (latex-mode) loads the standard tex mode. How do you get > > auctex loaded? I thought it was a separate package that needs special > > initialization: (load "auctex.el" nil t t) is what the documentation says. > > And I

Re: [O] TeX-master: TeX-master is let-bound

2012-10-30 Thread Sebastien Vauban
Hi Nick, Nick Dokos wrote: > Not in my case: (latex-mode) loads the standard tex mode. How do you get > auctex loaded? I thought it was a separate package that needs special > initialization: (load "auctex.el" nil t t) is what the documentation says. > And I have 11.86 which I believe is latest av

Re: [O] TeX-master: TeX-master is let-bound

2012-10-30 Thread Christopher Schmidt
Nick Dokos writes: > Not in my case: (latex-mode) loads the standard tex mode. How do you > get auctex loaded? I thought it was a separate package that needs > special initialization: (load "auctex.el" nil t t) is what the > documentation says. And I have 11.86 which I believe is latest > availabl

Re: [O] TeX-master: TeX-master is let-bound

2012-10-30 Thread Nick Dokos
Christopher Schmidt wrote: > Nick Dokos writes: > > Hi Nick, > > > Christopher Schmidt wrote: > > > >> Nick Dokos writes: > >> > What missing variable definition? By the time the export is > >> > finished, the let-bind is gone. There is no definition of > >> > TeX-master anywhere, just as if

Re: [O] TeX-master: TeX-master is let-bound

2012-10-30 Thread Christopher Schmidt
Nick Dokos writes: Hi Nick, > Christopher Schmidt wrote: > >> Nick Dokos writes: >> > What missing variable definition? By the time the export is >> > finished, the let-bind is gone. There is no definition of >> > TeX-master anywhere, just as if you never had org loaded: why >> > should auctex

Re: [O] TeX-master: TeX-master is let-bound

2012-10-29 Thread Nick Dokos
Christopher Schmidt wrote: > Nick Dokos writes: > > What missing variable definition? By the time the export is finished, > > the let-bind is gone. There is no definition of TeX-master anywhere, > > just as if you never had org loaded: why should auctex object to that? > > > > So I don't underst

Re: [O] TeX-master: TeX-master is let-bound

2012-10-29 Thread Christopher Schmidt
Nick Dokos writes: > What missing variable definition? By the time the export is finished, > the let-bind is gone. There is no definition of TeX-master anywhere, > just as if you never had org loaded: why should auctex object to that? > > So I don't understand why it would break: all the common sc

Re: [O] TeX-master: TeX-master is let-bound

2012-10-29 Thread Nick Dokos
Christopher Schmidt wrote: > Nick Dokos writes: > > In any case, if you can get rid of the let-bind (or the need to muck > > with TeX-master at all within org), without introducing a regression, > > we are all ears. > > I think adding (require 'tex nil t) before the let form is a nice fix. >

Re: [O] TeX-master: TeX-master is let-bound

2012-10-29 Thread Christopher Schmidt
Nick Dokos writes: > In any case, if you can get rid of the let-bind (or the need to muck > with TeX-master at all within org), without introducing a regression, > we are all ears. I think adding (require 'tex nil t) before the let form is a nice fix. IMO the situation ATM is pretty bad. If AUC

Re: [O] TeX-master: TeX-master is let-bound

2012-10-26 Thread Nick Dokos
Christopher Schmidt wrote: > Christopher Witte writes: > > It probably has something to do with this thread: > > http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg00473.html > > I do not think so, latex export has nothing to do with reftex. This is > the commit in questions > > h

Re: [O] TeX-master: TeX-master is let-bound

2012-10-26 Thread Christopher Schmidt
Christopher Witte writes: > It probably has something to do with this thread: > http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg00473.html I do not think so, latex export has nothing to do with reftex. This is the commit in questions http://orgmode.org/cgit.cgi/org-mode.git/commi

Re: [O] TeX-master: TeX-master is let-bound

2012-10-26 Thread Suvayu Ali
On Fri, Oct 26, 2012 at 11:30:17AM +0200, Christopher Witte wrote: > It probably has something to do with this thread: > http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg00473.html > > That thread was about auctex prompting for the master file name every > time an org file is opened. >

Re: [O] TeX-master: TeX-master is let-bound

2012-10-26 Thread Christopher Witte
It probably has something to do with this thread: http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg00473.html That thread was about auctex prompting for the master file name every time an org file is opened. On 26 October 2012 10:43, Christopher Schmidt wrote: > Suvayu Ali writes: >>

Re: [O] TeX-master: TeX-master is let-bound

2012-10-26 Thread Christopher Schmidt
Suvayu Ali writes: > I believe the reason was to get rid of auctex prompting for the master > file name every time an org file is exported to LaTeX. The default value it t anyway. The docstring suggests that this variable should be set via file variables. I do not think org-mode should worry ab

Re: [O] TeX-master: TeX-master is let-bound

2012-10-25 Thread Suvayu Ali
On Thu, Oct 25, 2012 at 11:19:30PM +0100, Christopher Schmidt wrote: > Suvayu Ali writes: > > On Thu, Oct 25, 2012 at 05:48:57PM +0100, Christopher Schmidt wrote: > >> org-export-as-latex (org-latex.el) let-binds TeX-master. Later on > >> feature tex may be loaded. This is a problem, because in

Re: [O] TeX-master: TeX-master is let-bound

2012-10-25 Thread Christopher Schmidt
Suvayu Ali writes: > On Thu, Oct 25, 2012 at 05:48:57PM +0100, Christopher Schmidt wrote: >> org-export-as-latex (org-latex.el) let-binds TeX-master. Later on >> feature tex may be loaded. This is a problem, because in that case >> the defvar TeX-master of tex (AUCTeX) is ignored. >> >> Warn

Re: [O] TeX-master: TeX-master is let-bound

2012-10-25 Thread Suvayu Ali
On Thu, Oct 25, 2012 at 05:48:57PM +0100, Christopher Schmidt wrote: > org-export-as-latex (org-latex.el) let-binds TeX-master. Later on > feature tex may be loaded. This is a problem, because in that case the > defvar TeX-master of tex (AUCTeX) is ignored. > > Warning: defvar ignored becaus