From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Schmidt Subject: Re: TeX-master: TeX-master is let-bound Date: Thu, 1 Nov 2012 14:50:56 +0000 (GMT) Message-ID: <87r4ods7fw@ch.ristopher.com> References: <87a9vajy4n@ch.ristopher.com> <20121025214510.GB24961@kuru.dyndns-at-home.com> <87sj92chzi@ch.ristopher.com> <20121026065115.GC24961@kuru.dyndns-at-home.com> <87mwz98vz4@ch.ristopher.com> <87k3uds0vv@ch.ristopher.com> <2831.1351269097@alphaville> <87625tj7tb@ch.ristopher.com> <647.1351549548@alphaville> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTw6m-0007fO-Aw for emacs-orgmode@gnu.org; Thu, 01 Nov 2012 10:51:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTw6l-0005hr-3t for emacs-orgmode@gnu.org; Thu, 01 Nov 2012 10:51:00 -0400 Received: from ristopher.com ([146.185.21.93]:39370 helo=saturn.ch.ristopher.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTw6k-0005hS-Rf for emacs-orgmode@gnu.org; Thu, 01 Nov 2012 10:50:59 -0400 In-Reply-To: <647.1351549548@alphaville> (Nick Dokos's message of "Mon, 29 Oct 2012 18:25:48 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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. >> >> I think adding (require 'tex nil t) before the let form is a nice fix. >> > > Not really: you end up pulling in auctex even if you are not going to > use it. What do you think about (when to-buffer (let ((sym 'latex-mode)) (while (symbolp sym) (setq sym (symbol-function sym))) (when (eq (car-safe sym) 'autoload) (load (cadr sym) sym t t)))) ? Christopher