[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Onwards to lexical binding (attempt 1)

From: Ikumi Keita
Subject: Re: Onwards to lexical binding (attempt 1)
Date: Thu, 10 Sep 2020 13:34:01 +0900

Hi Tassilo,

>>>>> Tassilo Horn <> writes:
> I worked upon your patch and committed that.  Should work again.
> TeX-file-fn is now gone and one should simply use `TeX-active-master' in
> TeX-expand-list{,-builtin} where formally `file' (and then
> `TeX-file-fn') has been used.

Works fine for normal typeset.

However, it seems that the first run of preview-latex on any region
fails. It must be my conceptual patch that is guilty for that. I haven't
looked into the actual codes yet, but my impression is that some kind of
initialization is required to fix this...

>> I think that the second argument of TeX-command-expand is no longer
>> necessary, thanks to the fine utility TeX-active-master.

> Indeed.  Here is an untested patch which does that (all tests still
> pass).

The attachment is empty:-)

> Since it also affects preview-latex which I did not test, I haven't
> committed it yet. If it works, could also be changed to
> that preview-gs-file is no cons of (TeX-active-master . file) where
> the car is unused anymore.


Ikumi Keita

reply via email to

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