emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Bastien
Subject: Re: [O] TeX-master: TeX-master is let-bound
Date: Sat, 23 Feb 2013 10:16:53 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Hi Christopher,

Christopher Schmidt <address@hidden> 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 released soon,
and which will be part of Emacs 24.3.

> Recipe:
>
>     emacs -q # + AUCTeX
>     C-x b rms RET
>     M-x org-mode RET
>     M-: (insert "a") RET
>     C-x h
>     M-x org-export-region-as-latex RET
>
>     # In buffer *Org LaTeX Export*
>     C-c C-c
>
>     TeX-command-master: Symbol's value as variable is void:
>     TeX-master

I still cannot reproduce this.

I add AUCTeX from ELPA, then I emacs -Q and loaded autoload-auctex.el
to make sure the autoloads were correct.

I have this in my minimal config:

  (add-to-list 'auto-mode-alist '("\\.tex\\'" nil TeX-LaTeX-mode))

Even in this case, with Org from maint, C-c C-c in the temporary
buffer returns an error about the buffer not associated with the
file (which is what I expected), not an error about TeX-master.

I've closely read the thread started by Tassilo, but I don't
think we are in the same boat: this thread is about defvar'ing
a variable that is currently let-bound, not about let-binding
a variable that is otherwise defvar'ed.

Please let me know if you have another recipe to reproduce
the bug, I want to get rid of this issue before 7.9.4.

Thanks,

-- 
 Bastien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]