emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Christopher Schmidt <christopher@ch.ristopher.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: TeX-master: TeX-master is let-bound
Date: Sat, 23 Feb 2013 10:16:53 +0100	[thread overview]
Message-ID: <874nh35ms8.fsf@bzg.ath.cx> (raw)
In-Reply-To: <87390w51k0@ch.ristopher.com> (Christopher Schmidt's message of "Mon, 29 Oct 2012 22:57:35 +0000 (GMT)")

Hi Christopher,

Christopher Schmidt <christopher@ch.ristopher.com> 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	other threads:[~2013-02-23 10:57 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-25 16:48 TeX-master: TeX-master is let-bound Christopher Schmidt
2012-10-25 21:45 ` Suvayu Ali
2012-10-25 22:19   ` Christopher Schmidt
2012-10-26  6:51     ` Suvayu Ali
2012-10-26  8:43       ` Christopher Schmidt
2012-10-26  9:30         ` Christopher Witte
2012-10-26 11:41           ` Suvayu Ali
2012-10-26 15:34           ` Christopher Schmidt
     [not found]             ` <christopher@ch.ristopher.com>
2012-10-26 16:31               ` Nick Dokos
2012-10-29 21:18                 ` Christopher Schmidt
2012-10-29 22:25               ` Nick Dokos
2012-10-29 22:57                 ` Christopher Schmidt
2013-02-23  9:16                   ` Bastien [this message]
2013-02-23 14:32                     ` Christopher Schmidt
2013-03-02 15:11                       ` Bastien
2012-11-01 14:50                 ` Christopher Schmidt
2012-10-29 23:25               ` Nick Dokos
2012-10-30  7:52                 ` Christopher Schmidt
2012-10-30 17:45               ` Nick Dokos
2012-10-30 19:01                 ` Christopher Schmidt
2012-10-30 20:32                 ` Sebastien Vauban
2012-10-30 20:54                   ` Nick Dokos
2012-11-01 15:22               ` Nick Dokos
2013-01-24 19:25         ` Christopher Schmidt
2013-01-25 10:42           ` Bastien
2013-01-25 11:36             ` Christopher Schmidt
2013-01-26 13:54               ` Christopher Schmidt
2013-01-26 14:20                 ` Bastien
2013-01-26 14:28                   ` Christopher Schmidt
2013-01-26 15:35                     ` Bastien
2013-01-26 16:23                       ` Christopher Schmidt
2013-02-19 10:38           ` Christopher Schmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874nh35ms8.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=christopher@ch.ristopher.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).