From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Julian Scheid via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#47072: 28.0.50; Package package can't be reloaded anymore Date: Thu, 11 Mar 2021 11:16:36 +0000 Message-ID: Reply-To: Julian Scheid Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26750"; mail-complaints-to="usenet@ciao.gmane.io" To: 47072@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 11 17:11:56 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lKNul-0006mV-Un for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Mar 2021 17:11:56 +0100 Original-Received: from localhost ([::1]:47574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKNuk-0005yL-UB for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Mar 2021 11:11:54 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51236) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKNAR-0006xO-G4 for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2021 10:24:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43108) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKNAR-0006Nz-8i for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2021 10:24:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKNAR-0002Es-4i for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2021 10:24:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Julian Scheid Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Mar 2021 15:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47072 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16154762418582 (code B ref -1); Thu, 11 Mar 2021 15:24:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Mar 2021 15:24:01 +0000 Original-Received: from localhost ([127.0.0.1]:54652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKNAO-0002EL-I1 for submit@debbugs.gnu.org; Thu, 11 Mar 2021 10:24:01 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:59232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKJJH-0008Jd-R2 for submit@debbugs.gnu.org; Thu, 11 Mar 2021 06:16:56 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKJJH-0006gP-Mb for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2021 06:16:55 -0500 Original-Received: from mail2.protonmail.ch ([185.70.40.22]:29462) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKJJE-0007o2-Fc for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2021 06:16:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1615461407; bh=hAr9GRJIVl8JlASonXZdegAoL28kjZxTZOWJWrqi1pQ=; h=Date:To:From:Reply-To:Subject:From; b=bJV5RMJLiuJxCAwgxv4KBP53hzgrpLHEZvJxi6rRMgZXsWsysA6h1ie3jH38ct2Yp lz+HonQR1Fu1elvZSz1KZN6814d4kjvPkxFRdPH+u4H8DfudxUuie26AGBRVgtnynh L6+9znuSWQSh4HWd7tITlyKScDavn1VayEkfkBy0= Received-SPF: pass client-ip=185.70.40.22; envelope-from=jscheid@protonmail.com; helo=mail2.protonmail.ch X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 11 Mar 2021 10:23:59 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" X-ACL-Warn: , Julian Scheid Xref: news.gmane.io gmane.emacs.bugs:202068 Archived-At: 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 'packag= e)) t) command-line-1(("--eval" "(progn (require 'package) (unload-feature 'pack= age...")) 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? In GNU Emacs 28.0.50 (build 14, x86_64-apple-darwin19.6.0, NS appkit-1894.6= 0 Version 10.15.7 (Build 19H524)) of 2021-03-11 built on foo Repository revision: 053abfe6e9a35a76b7f0af866a6336fb35d959f9 Repository branch: master Windowing system distributor 'Apple', version 10.3.1894 System Description: Mac OS X 10.15.7 Configured features: ACL DBUS GIF GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG THREADS TIFF TOOLKIT_SCROLL_BARS XIM ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: ELisp/l Minor modes in effect: bug-reference-prog-mode: t global-git-commit-mode: t magit-auto-revert-mode: t auto-revert-mode: t shell-dirtrack-mode: t global-flycheck-mode: t flycheck-mode: t delete-selection-mode: t savehist-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (bug-reference eieio-opt speedbar ezimage dframe shortdoc loadhist sh-script smie help-fns radix-tree misearch multi-isearch gnus-cite flyspell ispell gnus-async qp gnus-ml nndraft nnmh nnfolder utf-7 executable gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig nntp gnus-cache gnus-sum shr kinsoku svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range gnus-win gnus nnheader gnutls mail-extr vc-git vc-dispatcher pp shadow emacsbug flycheck-cask smtpmail sendmail lsp-ui lsp-ui-flycheck lsp-ui-doc goto-addr lsp-ui-imenu lsp-ui-peek lsp-ui-sideline face-remap lsp-ui-util string-inflection lsp-mode lsp-protocol es-mode request js cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs yasnippet xref project tree-widget wid-edit spinner pcase network-stream nsm markdown-mode edit-indirect noutline outline lv inline ht ewoc compile bindat multiple-cursors mc-separate-operations rectangular-region-mode mc-mark-pop mc-edit-lines mc-hide-unmatched-lines-mode mc-mark-more thingatpt mc-cycle-cursors multiple-cursors-core rect magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode diff diff-mode git-commit log-edit easy-mmode message rmc puny dired dired-loaddefs rfc822 mml mml-sec gnus-util rmail rmail-loaddefs text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process with-editor magit-mode transient cl-extra magit-git magit-section magit-utils crm server tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete parse-time iso8601 time-date ls-lisp format-spec flycheck find-func help-mode web-mode advice disp-table epa-file epa derived epg epg-config edmacro kmacro delsel ido savehist coffee-mode comint ansi-color ring f dash s exec-path-from-shell finder-inf sanityinc-tomorrow-night-theme color-theme-sanityinc-tomorrow color rx info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 540190 152740) (symbols 48 44238 117) (strings 32 178016 7085) (string-bytes 1 5463424) (vectors 16 79009) (vector-slots 8 1583591 177291) (floats 8 476 539) (intervals 56 5208 175) (buffers 992 27))