[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Value of `TeX-global-input-files'
From: |
Ikumi Keita |
Subject: |
Re: Value of `TeX-global-input-files' |
Date: |
Tue, 11 May 2021 18:49:51 +0900 |
Hi Arash,
>>>>> Arash Esbati <arash@gnu.org> writes:
> I like the idea. What do think about `TeX-normal-mode-reset-list' as a
> name for TeX-XXX-YYY?
It looks reasonable.
> Yes, that would happen. But besides your proposal below, we could also
> add
> (eval-when-compile (require 'latex))
> to tex.el and delete the byte compiler silencing defvar's for latex.el.
No, that introduces cross-dependency between tex.el and latex.el. When
emacs byte-compiles tex.el, it requires latex.el, which requires
tex.el, and results in:
Warning: Eager macro-expansion skipped due to cycle:
… => (load "tex.el") => (macroexpand-all …) => (macroexpand
(eval-when-compile …)) => (load "latex.el") => (load "tex.el")
Eager macro-expansion failure: (error "Recursive `require' for feature `latex'")
Regards,
Ikumi Keita