From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Explicit call to package-initialize does not trigger a warn. Date: Wed, 19 Jun 2019 08:45:09 -0400 Message-ID: References: <20190618234804.pfone6l72w7uz7mk@Ergus> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="215415"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 19 14:45:57 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hdZyO-000trV-C9 for ged-emacs-devel@m.gmane.org; Wed, 19 Jun 2019 14:45:56 +0200 Original-Received: from localhost ([::1]:38022 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdZyM-0006OT-Ut for ged-emacs-devel@m.gmane.org; Wed, 19 Jun 2019 08:45:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58716) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdZy6-0006OC-8t for emacs-devel@gnu.org; Wed, 19 Jun 2019 08:45:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdZy3-0000at-Ss for emacs-devel@gnu.org; Wed, 19 Jun 2019 08:45:38 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:62909) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hdZy2-0000D8-Ji for emacs-devel@gnu.org; Wed, 19 Jun 2019 08:45:35 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id C638B100964; Wed, 19 Jun 2019 08:45:11 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 5555A10089B; Wed, 19 Jun 2019 08:45:10 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1560948310; bh=Yk5LhvCDcThA2aJ8B7P+jFGW8T5S8D0E/MX7QuTc25Q=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=V87VO3YILFsewwcFSuaROyZsRpeQ5X+UVpHv/yxp1zeMkpyy1v/pjcbhX45CVklBs bqZd5Myg1kwqdy82sXUwMg66aBfg4yewqWSbPNXz0jtWVfFDvaENVsJaeuhyUhLQcz b+pYnjmW4AlLyt6ttKCpTbaulWbGroxAfZNHBJU3nlSEQqrv2wUp0Il8YTSk1yyks4 8Qu9gV7CmtyNRYs30JAi2HrxKCqwHPcqZ8BlqcEAZVjCgWNno32UdBklFCWfXKZFut LOgK6HBrLGdMauXl1sb5eVfB+L2oWWl6g6mydTOgrmmHNEHOkIIbjt87poUUgXQKf6 fUIH40Ui3z8yw== Original-Received: from alfajor (unknown [108.161.117.173]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 1E3E41203CF; Wed, 19 Jun 2019 08:45:10 -0400 (EDT) In-Reply-To: <20190618234804.pfone6l72w7uz7mk@Ergus> (Ergus's message of "Wed, 19 Jun 2019 01:48:06 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:237885 Archived-At: > I have observed that doing an explicit call to package-initialize in the > init file is not triggering a warning as the documentation says it > should do in emacs 27. That would be a bug in the docs. Could you point out the actual place where we say that? In current Emacs-27, normal startup automatically activates all installed packages, but it doesn't do what (package-initialize t) does (i.e. setup the list of packages available in repositories, based on the already downloaded `archive-contents` files). IOW, in Emacs-27, we have tried to separate the handling of "locally installed packages" and the handling of "packages that we could download". This is akin to Debian's separation between `dpkg` and `apt`. Stefan