From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: charles@aurox.ch (Charles A. Roelli) Newsgroups: gmane.emacs.devel Subject: Re: Emacs master: package-initialize warning Date: Sat, 31 Mar 2018 15:42:56 +0200 Message-ID: References: <1074185159.616115.1522500921139@mail.libero.it> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1522503692 29544 195.159.176.226 (31 Mar 2018 13:41:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 31 Mar 2018 13:41:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 31 15:41:28 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f2Gl4-0007ZV-Bx for ged-emacs-devel@m.gmane.org; Sat, 31 Mar 2018 15:41:26 +0200 Original-Received: from localhost ([::1]:51259 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f2Gn7-0002qO-VZ for ged-emacs-devel@m.gmane.org; Sat, 31 Mar 2018 09:43:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f2GmO-0002pI-FN for emacs-devel@gnu.org; Sat, 31 Mar 2018 09:42:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f2GmL-0004v4-Dk for emacs-devel@gnu.org; Sat, 31 Mar 2018 09:42:48 -0400 Original-Received: from sinyavsky.aurox.ch ([37.35.109.145]:44069) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f2GmL-0004rn-5f for emacs-devel@gnu.org; Sat, 31 Mar 2018 09:42:45 -0400 Original-Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id ABFD5226F1 for ; Sat, 31 Mar 2018 13:43:37 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= references:subject:subject:in-reply-to:to:from:from:message-id :date:date; s=dkim; t=1522503816; x=1523367817; bh=GBL6e93fUichK 2YNI8zHTA0UEwsIE/G5mp88seaTkE4=; b=WrovJvzWnJZMbNQGNepy1OPrRGslM ODZJvasZOezdwZFkN1kt8XE1QkfaTB8GqFJbnCQhXkQ8Z8NCy3ofjqbe8X3/gmFH NWRHt0neWTfjzT/q919DFajO987jXXg5kQG6DF9crC7wWreEx0MsE6nzqB+5X5rM 0r3+cncYYUOVds= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Original-Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id kEwIxjUZeYp9 for ; Sat, 31 Mar 2018 13:43:36 +0000 (UTC) Original-Received: from gray (202.100.1.85.dynamic.wline.res.cust.swisscom.ch [85.1.100.202]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 5F1B2226DA; Sat, 31 Mar 2018 13:43:36 +0000 (UTC) In-reply-to: <1074185159.616115.1522500921139@mail.libero.it> (message from Angelo Graziosi on Sat, 31 Mar 2018 14:55:21 +0200 (CEST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 37.35.109.145 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:224204 Archived-At: Sounds right to me, see etc/NEWS: ** Installed packages are now activated *before* loading the init file. This is part of a change intended to eliminate the behavior of package.el inserting a call to 'package-initialize' into the init file, which was previously done when Emacs was started. As a result of this change, it is no longer necessary to call 'package-initialize' in your init file. However, if your init file changes the values of 'package-load-list' or 'package-user-dir', or sets 'package-enable-at-startup' to nil then it won't work right without some adjustment: - you can move that code to the early init file (see above), so those settings apply before Emacs tries to activate the packages. - you can use the new 'package-quickstart` so activation of packages does not need to pay attention to 'package-load-list' or 'package-user-dir' any more.