Subject: Re: bug#40389: 12.2.0; AucTeX randomly inserts {\sc } instead of \textsc{}

From: Ikumi Keita <[email-masked]>
Date: Wed, 08 Apr 2020 14:59:12 +0900

Hi Guillaume, sorry for late response.

>>>>> Guillaume MULLER <[email-masked]> writes:
> However, on my machine, AucTeX randomly inserts font commands in old
> TeX style (`{\xx yyy}`) or modern one (`\text<xx>{yyy}`).

> I have absolutely no clue why the behaviour is not consistent accross
> all .tex files, nor why it does not respect the documentation (always
> using modern syntax)....

I suspect that the value of the variable `TeX-font-list' is not updated
in some of your buffers.  Could you examine the value of `TeX-font-list'
in the buffer where old TeX style command {\xx yyy} is inserted?

Regards,
Ikumi Keita