Subject: Re: bug#53529: 29.0.50; Error with debbugs 0.30 from ELPA

From: Michael Albinus <[email-masked]>
Date: Wed, 26 Jan 2022 14:00:34 +0100

Arash Esbati <[email-masked]> writes:

> Hi all,

Hi Arash,

> debbugs 0.30 landed via package-update and while byte-compiling the new
> version, Emacs says:
>
>   Compiling file z:/pathto/.emacs.d/elpa/debbugs-0.30/debbugs-autoloads.el at Tue Jan 25 17:36:45 2022
>   Entering directory ‘z:/pathto/.emacs.d/elpa/debbugs-0.30/’
>   debbugs-autoloads.el: Error: End of file during parsing

I have installed debbugs 0.30 unde GNU/Linux, using

GNU Emacs 29.0.50 (build 29, x86_64-pc-linux-gnu, GTK+ Version
 3.24.31, cairo version 1.17.4) of 2022-01-22

In buffer *Compile-Log* there is

--8<---------------cut here---------------start------------->8---
Compiling internal form(s) at Tue Jan 25 17:58:40 2022
Leaving directory ‘/home/albinus/.emacs.d/elpa/debbugs-0.30’

Compiling file /home/albinus/.emacs.d/elpa/debbugs-0.30/debbugs-browse.el at Wed Jan 26 13:19:19 2022
Entering directory ‘/home/albinus/.emacs.d/elpa/debbugs-0.30/’

Compiling file /home/albinus/.emacs.d/elpa/debbugs-0.30/debbugs-gnu.el at Wed Jan 26 13:19:19 2022

Compiling file /home/albinus/.emacs.d/elpa/debbugs-0.30/debbugs-org.el at Wed Jan 26 13:19:19 2022

Compiling file /home/albinus/.emacs.d/elpa/debbugs-0.30/debbugs.el at Wed Jan 26 13:19:20 2022
--8<---------------cut here---------------end--------------->8---

No error, and also no compilation of debbugs-autoloads.el.

> Killing and re-starting Emacs leaves this message in the shell:
>
>   Error loading autoloads: (user-error Local variables entry is missing
>   the suffix)

Whatever it means. debbugs-autoloads.el contains at the end:

--8<---------------cut here---------------start------------->8---
;; Local Variables:
;; version-control: never
;; no-byte-compile: t
;; no-update-autoloads: t
;; coding: utf-8-emacs-unix
;; End:
;;; debbugs-autoloads.el ends here
--8<---------------cut here---------------end--------------->8---

This looks ok to me. The user error is raised in
`hack-local-variables--find-variables'. There has been a change in that
function recently (2dad332a1439b59a62cd5ed0d8e3626d9e91e3e5), don't know
whether this is related. Adding Stefan to Cc.

> Best, Arash

Best regards, Michael.