On Fri, Dec 02, 2016 at 01:52:57PM +0100, Rémi Vanicat wrote: > Julian Gilbey <j...@debian.org> writes: > > > Package: auctex > > Version: 11.88-1.3 > > Severity: important > > > > auctex failed to compile for emacs25. The CompilationLog file (see in > > full below) ends with the lines: > > > > In toplevel form: > > style/subfigure.el:44:5:Error: missing value for ‘TeX-complete-list’ at end > > of setq > > > > Something is strange here, because the setq for TeX-complete-list is at > line 48 in the package style/subfigure.el file, and not at line 44. Line > 44 to 51 of /usr/share/emacs/site-lisp/auctex/style/subfigure.el should be:
Something is very strange, indeed. The directory /usr/share/emacs25/site-lisp/auctex/ has meaningful symlinks to ../../../emacs/site-lisp/auctex/* files, but the subdirectory style has no symlinks in it at all, but that is presumably because line 94 of /usr/lib/emacsen-common/packages/install/auctex deletes them. On the other hand, as you say, in /usr/share/emacs/site-lisp/auctex/style/subfigure.el, the setq TeX-complete-list is at line 48. I tried a modified version of install/auctex which does not delete the style/*.el files, and confirmed that indeed lines 44-51 are as you say. I think I have found the bug, though, and here's a patch which I believe fixes it; the paretheses are wrong in the append command: --- style/subfigure.el 2016-11-25 11:00:39.000000000 +0000 +++ style/subfigure2.el 2016-12-02 14:00:18.598610954 +0000 @@ -47,8 +47,8 @@ ;; Install completion for labels: (setq TeX-complete-list (append - '(("\\\\[Ss]ubref{\\([^{}\n\r\\%,]*\\)" 1 LaTeX-label-list "}"))) - TeX-complete-list) + '(("\\\\[Ss]ubref{\\([^{}\n\r\\%,]*\\)" 1 LaTeX-label-list "}")) + TeX-complete-list)) ;; Fontification (when (and (featurep 'font-latex) I don't know why this doesn't cause a problem in emacs24, or why no-one else has seen/had/noticed the problem. Best wishes, Julian