Hongyi Zhao <hongyi.z...@gmail.com> writes: > While loading auctex, the following problem occurred: > > Loading /home/werner/.emacs.d/straight/repos/auctex/style/listings.elc...done > font-lock-compile-keywords: Font-lock trying to use keywords before > setting them up
I have no idea about straight, but you can start Emacs with '-Q', eval this in scratch (setq TeX-data-directory "/home/werner/.emacs.d/straight/repos/auctex" TeX-lisp-directory TeX-data-directory) (load "/home/werner/.emacs.d/straight/repos/auctex/auctex.el" nil t t) (setq debug-on-error t) and open a .tex file and see what happens. Best, Arash