unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Kangas <stefan@marxist.se>,
	Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 47072@debbugs.gnu.org, jscheid@protonmail.com
Subject: bug#47072: 28.0.50; Package package can't be reloaded anymore
Date: Thu, 22 Apr 2021 09:58:03 +0300	[thread overview]
Message-ID: <83lf9aq004.fsf@gnu.org> (raw)
In-Reply-To: <CADwFkm=7a076SZJWunihKoat09d-B4L_QiO2Bm15sSN9_6H51g@mail.gmail.com> (message from Stefan Kangas on Wed, 21 Apr 2021 15:28:20 -0700)

> From: Stefan Kangas <stefan@marxist.se>
> Date: Wed, 21 Apr 2021 15:28:20 -0700
> Cc: 47072@debbugs.gnu.org
> 
> Julian Scheid <jscheid@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?





  reply	other threads:[~2021-04-22  6:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-11 11:16 bug#47072: 28.0.50; Package package can't be reloaded anymore Julian Scheid via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-04-21 22:28 ` Stefan Kangas
2021-04-22  6:58   ` Eli Zaretskii [this message]
2021-04-22 13:35     ` Stefan Monnier
2022-06-23 16:58       ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83lf9aq004.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=47072@debbugs.gnu.org \
    --cc=jscheid@protonmail.com \
    --cc=monnier@iro.umontreal.ca \
    --cc=stefan@marxist.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).