[Top][All Lists]

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

Re: Onwards to lexical binding (attempt 1)

From: Arash Esbati
Subject: Re: Onwards to lexical binding (attempt 1)
Date: Wed, 09 Sep 2020 22:40:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50

Hi Tassilo and Keita,

Tassilo Horn <> writes:

> Ikumi Keita <> writes:
>> When "View" command is issued, TeX-command-expand calls
>> TeX-view-command-raw, which in turn calls TeX-command-expand with the
>> second argument being nil. This second call of TeX-command-expand
>> overwrites the dynamic scope variable TeX-file-fn with wrong value, so
>> the error occurs after emacs continues the execution of the first
>> TeX-command-expand.
>> Attached is a conceptual patch to fix the problem.
> 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.

Thanks for the analysis and the fix.  "View" works again.

Best, Arash

reply via email to

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