>> This is the message when installing auctex-14.0.9.tar >> Auctex-pkg.el:0:0: error: void-function: (lisp-data-mode) > > This issue is more interesting. auctex-pkg.el from auctex-14.0.9.tar > contains (line breaks added for legibility): > > --8<---------------cut here---------------start------------->8--- > ;; Generated package description from auctex.el -*- mode: lisp-data; > no-byte-compile: t -*- > (define-package "auctex" > "14.0.9" "Integrated environment for *TeX*" > '((emacs "27.1")) > :commit "ee58d625501af073bde569718db02d1236162283" > --8<---------------cut here---------------end--------------->8--- > > AUCTeX requires Emacs 27.1, but the package seems to be generated with > Emacs 28, since `lisp-data-mode' was introduced with that version[2]. > Hence, the installation of the tarball doesn't work on Emacs<28 with: > > M-x package-install-file RET auctex-14.0.9.tar RET > > @Stefan: Can you help us out with this issue?
14.0.9 was released in Feb 2025, and this problem was (supposedly) fixed by: commit e25d268067c3464c2dccfd090b2a95e0d0d7567d Author: Stefan Monnier <monn...@iro.umontreal.ca> Date: Wed Mar 19 18:01:50 2025 -0400 elpa-admin.el: Remove `:main-file` and use `lisp-data-mode` less * elpa-admin.el (elpaa--main-file): Don't pay attention to `:main-file`. (elpaa--supported-keywords): Remove `:main-file`. (elpaa--write-pkg-file): Use `lisp-data-mode` only for packages destined for Emacs≥28. So, AFAIK, the problem would have been fixed in the AUCTeX-14.1.0 package which was released in July, except that this one changed its dependency to Emacs-28 anyway. In the mean time, I recommend adding (unless (fboundp 'lisp-data-mode) (defalias 'lisp-data-mode 'emacs-lisp-mode)) to your init file to work around such problems. 🙁 Stefan