From: Christopher Schmidt <christopher@ch.ristopher.com>
To: emacs-orgmode@gnu.org
Subject: Re: TeX-master: TeX-master is let-bound
Date: Tue, 30 Oct 2012 07:52:13 +0000 (GMT) [thread overview]
Message-ID: <87k3u8qtw0@ch.ristopher.com> (raw)
In-Reply-To: <2583.1351553130@alphaville> (Nick Dokos's message of "Mon, 29 Oct 2012 19:25:30 -0400")
Nick Dokos <nicholas.dokos@hp.com> writes:
Hi Nick,
> Christopher Schmidt <christopher@ch.ristopher.com> wrote:
>
>> Nick Dokos <nicholas.dokos@hp.com> 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 scenarios
>> > that I have tried work with no problem for me. I can load an org
>> > file, export to latex, open the latex file (which loads auctex) and
>> > do auctex things to it. I don't get any error. What exactly do I
>> > have to do in order to break it?
>>
>> In org-latex.el, within the binding:
>>
>> (if to-buffer
>> (unless (eq major-mode 'latex-mode) (latex-mode))
>> (save-buffer))
>>
>
> You mean that's where you get the error?
No, this is where AUCTeX is loaded.
>> Recipe:
>>
>> emacs -q # + AUCTeX
>> C-x b rms RET
>> M-x org-mode RET
>> M-: (insert "a") RET
>> C-x h
Are you sure that (featurep 'tex) is nil at this point?
>> M-x org-export-region-as-latex RET
... if it is nil, (latex-mode) should load AUCTeX, which ultimately
breaks AUCTeX due to the ignored defvar.
>> # In buffer *Org LaTeX Export*
>> C-c C-c
... this is where I actually get this error:
>> TeX-command-master: Symbol's value as variable is void: TeX-master
> I get latex errors saying it cannot find <none>.tex but no emacs
> errors:
[...]
> Org-mode version 7.9.2 (release_7.9.2-533-g07c889 @ /home/nick/elisp/org-mode/lisp/)
> GNU Emacs 24.2.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.4) of 2012-09-21 on alphaville
Org-mode version 7.9.2 (release_7.9.2-497-g8866f8)
GNU Emacs 24.2.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) of 2012-10-29
Thank you for your help.
Regards,
Christopher
next prev parent reply other threads:[~2012-10-30 7:52 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
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 [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k3u8qtw0@ch.ristopher.com \
--to=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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.