[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 <tsdh@gnu.org> writes:
> Ikumi Keita <ikumi@ikumi.que.jp> 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
- Re: Onwards to lexical binding (attempt 1), (continued)
Re: Onwards to lexical binding (attempt 1), Arash Esbati, 2020/09/05
Re: Onwards to lexical binding (attempt 1), Mosè Giordano, 2020/09/05
- Re: Onwards to lexical binding (attempt 1), Tassilo Horn, 2020/09/05
- Re: Onwards to lexical binding (attempt 1), Tassilo Horn, 2020/09/06
- Re: Onwards to lexical binding (attempt 1), Arash Esbati, 2020/09/07
- Re: Onwards to lexical binding (attempt 1), Ikumi Keita, 2020/09/08
- Re: Onwards to lexical binding (attempt 1), Tassilo Horn, 2020/09/09
- Re: Onwards to lexical binding (attempt 1),
Arash Esbati <=
- Re: Onwards to lexical binding (attempt 1), Ikumi Keita, 2020/09/10
- Re: Onwards to lexical binding (attempt 1), Ikumi Keita, 2020/09/10
- Re: Onwards to lexical binding (attempt 1), Tassilo Horn, 2020/09/10
- Re: Onwards to lexical binding (attempt 1), Ikumi Keita, 2020/09/10
- Re: Onwards to lexical binding (attempt 1), Tassilo Horn, 2020/09/10
- Re: Onwards to lexical binding (attempt 1), Ikumi Keita, 2020/09/11
- Re: Onwards to lexical binding (attempt 1), Tassilo Horn, 2020/09/11
- Re: Onwards to lexical binding (attempt 1), Ikumi Keita, 2020/09/11
- Re: Onwards to lexical binding (attempt 1), Tassilo Horn, 2020/09/11
- Re: Onwards to lexical binding (attempt 1), Ikumi Keita, 2020/09/11