From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: TeX-master: TeX-master is let-bound Date: Thu, 01 Nov 2012 11:22:42 -0400 Message-ID: <11728.1351783362@alphaville> 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> <87r4ods7fw@ch.ristopher.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTwbW-0002DY-BI for emacs-orgmode@gnu.org; Thu, 01 Nov 2012 11:22:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTwbU-0006k1-SB for emacs-orgmode@gnu.org; Thu, 01 Nov 2012 11:22:45 -0400 Received: from g4t0014.houston.hp.com ([15.201.24.17]:19080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTwbU-0006jr-Lg for emacs-orgmode@gnu.org; Thu, 01 Nov 2012 11:22:44 -0400 Received: from g4t0009.houston.hp.com (g4t0009.houston.hp.com [16.234.32.26]) by g4t0014.houston.hp.com (Postfix) with ESMTP id D63972423F for ; Thu, 1 Nov 2012 15:22:43 +0000 (UTC) Received: from alphaville.americas.hpqcorp.net (openvpn.lnx.usa.hp.com [16.125.113.33]) by g4t0009.houston.hp.com (Postfix) with ESMTP id 8D6EAC008 for ; Thu, 1 Nov 2012 15:22:43 +0000 (UTC) Received: from alphaville (localhost [127.0.0.1]) by alphaville.americas.hpqcorp.net (Postfix) with ESMTP id 966B74209D for ; Thu, 1 Nov 2012 11:22:42 -0400 (EDT) In-Reply-To: Message from Christopher Schmidt of "Thu, 01 Nov 2012 14:50:56 -0000." <87r4ods7fw@ch.ristopher.com> 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 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 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)))) > Haven't even tried to decypher this yet, but I assume it makes your problem go away? I can try it with my setup and see if it causes any problems. Nick