From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#42316: 28.0.50; package.el has trouble reloading and activating GNU ELPA :core packages Date: Wed, 25 Nov 2020 01:42:59 -0800 Message-ID: References: <87eepjdopp.fsf@gmail.com> 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="37801"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 42316@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 25 10:45:25 2020 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 1khrMa-0009iw-56 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Nov 2020 10:45:24 +0100 Original-Received: from localhost ([::1]:50220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khrMZ-0004TN-5B for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Nov 2020 04:45:23 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35008) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khrLG-0003ii-Ap for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 04:44:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51088) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khrLG-0002ed-35 for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 04:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1khrLF-0002dW-Vv for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 04:44:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Nov 2020 09:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42316 X-GNU-PR-Package: emacs Original-Received: via spool by 42316-submit@debbugs.gnu.org id=B42316.160629739610070 (code B ref 42316); Wed, 25 Nov 2020 09:44:01 +0000 Original-Received: (at 42316) by debbugs.gnu.org; 25 Nov 2020 09:43:16 +0000 Original-Received: from localhost ([127.0.0.1]:34401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khrKN-0002cC-JW for submit@debbugs.gnu.org; Wed, 25 Nov 2020 04:43:16 -0500 Original-Received: from mail-ej1-f44.google.com ([209.85.218.44]:43487) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khrKL-0002bf-Om for 42316@debbugs.gnu.org; Wed, 25 Nov 2020 04:43:06 -0500 Original-Received: by mail-ej1-f44.google.com with SMTP id k27so2055452ejs.10 for <42316@debbugs.gnu.org>; Wed, 25 Nov 2020 01:43:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc :content-transfer-encoding; bh=WIjN5iDpzOllKaPNFJ/z0usycG2H/TLERDOpF0hxyc8=; b=YI8jn+RSdd3g/Xep+kJSh3J5F2bYjpP4uBUWEcWNmwGsXJaLQCiETz3aIwUkeubfnf Gekmn2HHxKySpshhoq2oDBQFXkJd5uA32nNYeknxaikWPgrm7dhLMFC+HV1SrTlccQ0C b23hoYDBoZZYQ7n7B8MGoqOMsCb1MQbW+KQ+nU5yPukwaWoDwQgdKNjKG00i6inGa6r+ YUYkDPJ+B84cZ2B2DykuWHMYYJND5o492kO9a93OHk3J8M2G654R+cq+BUfyOa3Kq/wf hdK6q5zuwb5Eibglm3okNAx8A3tOQ5CN23Q9LPPA8un5xdjMBClHFP6xcln5wixklwQc trag== X-Gm-Message-State: AOAM531v11nh7gJIljbK9FzCAeavIma4pRfr1na3ladrR8ofx3YwS3Jj PYj9QwgZotgiHDSJLFUF/3GI79kJNg1q4KMZNBg= X-Google-Smtp-Source: ABdhPJxnvW2FTmW91SqUFshBZB4MCNnFJg3K3MPzb8qaqCmsAJeibFqhAUOaUpc+bOuUN8D/EJ7D0Mlet1lAY+xfTwY= X-Received: by 2002:a17:906:1918:: with SMTP id a24mr2355553eje.432.1606297379821; Wed, 25 Nov 2020 01:42:59 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 25 Nov 2020 01:42:59 -0800 In-Reply-To: <87eepjdopp.fsf@gmail.com> ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Fri, 10 Jul 2020 22:50:26 +0100") 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" Xref: news.gmane.io gmane.emacs.bugs:194177 Archived-At: Jo=C3=A3o T=C3=A1vora writes: > Stefan Monnier writes: > >>> 2. When you shut down that Emacs session, start it again, run >>> package-initialize, you _still_ don't have the new eldoc.el file >>> (1.2.0) loaded. This is only for eldoc.el, flymake.el works >>> correctly in this use case. >> >> Yes, this is because it's preloaded in Emacs, so when package.el comes >> to activate the package, the autoloads in `eldoc-autoloads.el` won't hav= e any >> effect because all its functions are already defined (since `eldoc.el` >> is already loaded). >> >> This is not a really bug in package.el but arguably a missing feature, >> indeed. When `package-activate-all` is called, it should probably >> reload all packages that were already loaded before (when the version >> already loaded is different from the one that's just been activated). Is this the same as Bug#40971? > Sounds reasonable. But can these changes ever reach Emacs 26.3? How? > Only by updating package.el itself, right? Is that possible? I guess if we make package.el into a :core package. But then again we will have the same bug on Emacs 26.3, so it will never be loaded...