GNU bug report logs -
#47072
28.0.50; Package package can't be reloaded anymore
Previous Next
Reported by: Julian Scheid <jscheid <at> protonmail.com>
Date: Thu, 11 Mar 2021 15:24:02 UTC
Severity: normal
Tags: confirmed
Found in version 28.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #13 received at 47072 <at> debbugs.gnu.org (full text, mbox):
> From: Stefan Kangas <stefan <at> marxist.se>
> Date: Wed, 21 Apr 2021 15:28:20 -0700
> Cc: 47072 <at> debbugs.gnu.org
>
> Julian Scheid <jscheid <at> protonmail.com> writes:
>
> > This used to work not long ago:
> >
> > emacs -Q --batch --eval "(progn (require 'package) (unload-feature 'package) (require 'package))"
> >
> > Now it breaks with:
> >
> > Debugger entered--Lisp error: (void-variable package-user-dir)
> > require(package)
> > (progn (require 'package) (unload-feature 'package) (require 'package))
> > eval((progn (require 'package) (unload-feature 'package) (require 'package)) t)
> > command-line-1(("--eval" "(progn (require 'package) (unload-feature 'package..."))
> > command-line()
> > normal-top-level()
> >
> > Which in turn breaks my fix for
> > https://github.com/alphapapa/makem.sh/issues/31
> >
> > If this is something that can't/won't be fixed, could you recommend a
> > workaround?
>
> I can confirm that the above recipe works using 27.2 but not with
> 28.0.50.
Stefan Monnier tweaked the code there recently, perhaps that's the
reason. Stefan, can you take a look, please?
This bug report was last modified 3 years and 31 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.