>> We should fix this for Emacs-30.
>> [ And then add some backward compatibility hack (presumably using
>> an advice for when AUCTeX is used on Emacs<30). ]
> I attach my tentative proposal for Emacs<30, using an advice.
So, IIUC, you're counting on Someone™ to do the work on the Emacs side 🙂
>>> (a-2) Now `TeX-add-local-master' adds entry of new mode names such as
>>> %%% Local Variables:
>>> %%% mode: LaTeX <-- not `latex'
>>> %%% End:
>
>> I don't like this very much: IMO the `mode:` cookie should really not specify
>> the "mode" to use but rather describe the file-type (Emacs c
> Stefan Monnier writes:
> So, IIUC, you're counting on Someone™ to do the work on the Emacs side 🙂
Yes. 😉
Actually, I only looked at very limited portion of the related codes in
emacs core and don't have reasonable ideas how to do that in emacs side.
> I hope we can arrange the code in Ema