GNU bug report logs - #76264
[GNU ELPA] Use lisp-data-mode in generated *-pkg.el files

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefankangas <at> gmail.com>

Date: Thu, 13 Feb 2025 12:25:01 UTC

Severity: wishlist

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Kangas <stefankangas <at> gmail.com>
To: "Basil L. Contovounesios" <basil <at> contovou.net>, Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Philip Kaludercic <philipk <at> posteo.net>, 76264 <at> debbugs.gnu.org
Subject: bug#76264: [GNU ELPA] Use lisp-data-mode in generated *-pkg.el files
Date: Wed, 19 Mar 2025 14:52:44 -0700
"Basil L. Contovounesios" <basil <at> contovou.net> writes:

> Stefan Monnier [2025-03-19 11:00 -0400] wrote:
>
>>> Here I see more than just a warning, in Emacs versions 24 through 27:
>>>
>>> 0. cd "$(mktemp -d)"
>>> 1. HOME="$PWD" XDG_CONFIG_HOME="$PWD" emacs-27.2
>>> 2. M-: (setq package-check-signature nil) RET
>>> 3. M-x toggle-debug-on-error RET
>>> 4. M-x package-install RET dash RET
>>>
>>> I attach backtraces from Emacs 24.5 and 27.2.
>>
>> Does it signal an error if you don't enable `toggle-debug-on-error`, or
>> do we get a backtrace because of a `with-demoted-error` or some such?
>
> AFAICT it's a real error, in the case of Emacs 27.2 (re)signalled from a
> condition-case handler at the end of autoload-generate-file-autoloads:

Maybe the patch should just be reverted, then?

Just to add some details:

See this issue in use-package, its recent comment, and linked issues for
more people that are affected:
https://github.com/jwiegley/use-package/issues/1083

What I don't understand is why the OP saw a similar error already in
September 2024.  Is there something else going on here as well?
Unfortunately, there is no backtrace, so it's hard to tell, but maybe
someone else will be able to eyeball it.




This bug report was last modified 59 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.