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: Nick Dokos
Subject: Re: [O] TeX-master: TeX-master is let-bound
Date: Thu, 01 Nov 2012 11:22:42 -0400

Christopher Schmidt <address@hidden> wrote:

> Nick Dokos <address@hidden> 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 <address@hidden> wrote:
> >
> >> Nick Dokos <address@hidden> 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




reply via email to

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