On Fri, Jul 28, 2023 at 3:43 PM Hongyi Zhao <hongyi.z...@gmail.com> wrote: > > On Fri, Jul 28, 2023 at 2:43 PM Ikumi Keita <ik...@ikumi.que.jp> wrote: > > > > Hi, > > > > >>>>> Hongyi Zhao <hongyi.z...@gmail.com> writes: > > > After starting with 'emacs -Q', I tried to do the above test with the > > > guidance here [1] to install auctex: > > > > > M-x package-install RET auctex RET > > > > > But I meet the following: > > > > > Install package: auctex RET > > > > > no match > > > > I think that your local elpa database wasn't updated when you tried it > > and emacs tries to install older version of AUCTeX, which no longer > > existed on the elpa server. > > I tried with `M-x package-refresh-contents' but still meet the same problem. > > And I also tried with `M-x package-list-packages` and find that auctex > already installed as shown in the attachment. > > > >> Hongyi Zhao <hongyi.z...@gmail.com> writes: > > > > > Any then, I use a minimal tex file: > > > > > \documentclass{article} > > > \begin{document} > > > Hello world. > > > \end{document} > > > > > After opening the above file, eval the following setting: > > > > > M-: (setq LaTeX-electric-left-right-brace t) RET > > > > > Then, I observed the same effect as shown be you. > > > > Is that buffer in AUCTeX latex mode? I suspect that it's in emacs > > built-in latex mode due to '-Q' option. > > See the attached screenshot. But this time, all test fails.
I see, due to auctex has already been installed, I must test it as follows: emacs -Q M-x package-reinstall RET auctex RET Open a tex file, and `M-: (setq LaTeX-electric-left-right-brace t) RET' Then test the problem discussed here. See the attached screenshot for the results. > > Regards, > > Ikumi Keita > > #StandWithUkraine #StopWarInUkraine > > Best, > Zhao