From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs Subject: bug#30506: Say Added by package.el Date: Fri, 19 Jul 2019 08:51:20 +0200 Message-ID: <87tvbi1pqv.fsf@gnu.org> References: <87606vauik.fsf@jidanni.org> <874l3ozire.fsf@mouse.gnus.org> <87d0icfjk2.5.fsf@jidanni.org> <87d0i7qiuq.fsf@gnu.org> <87wogekb57.7.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="217587"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , 30506@debbugs.gnu.org To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 19 08:52:08 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1hoMkR-000NjW-HM for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Jul 2019 08:52:07 +0200 Original-Received: from localhost ([::1]:42678 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hoMkQ-0005hw-4y for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Jul 2019 02:52:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51549) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hoMkN-0005hq-Ap for bug-gnu-emacs@gnu.org; Fri, 19 Jul 2019 02:52:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hoMkM-00034l-Cp for bug-gnu-emacs@gnu.org; Fri, 19 Jul 2019 02:52:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46192) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hoMkM-00034X-9Z for bug-gnu-emacs@gnu.org; Fri, 19 Jul 2019 02:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hoMkM-0000g7-60 for bug-gnu-emacs@gnu.org; Fri, 19 Jul 2019 02:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Jul 2019 06:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30506 X-GNU-PR-Package: emacs Original-Received: via spool by 30506-submit@debbugs.gnu.org id=B30506.15635190932570 (code B ref 30506); Fri, 19 Jul 2019 06:52:02 +0000 Original-Received: (at 30506) by debbugs.gnu.org; 19 Jul 2019 06:51:33 +0000 Original-Received: from localhost ([127.0.0.1]:55013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hoMjt-0000fO-AV for submit@debbugs.gnu.org; Fri, 19 Jul 2019 02:51:33 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hoMjr-0000fC-Lf for 30506@debbugs.gnu.org; Fri, 19 Jul 2019 02:51:31 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hoMjm-0002XI-3A; Fri, 19 Jul 2019 02:51:26 -0400 Original-Received: from auth1-smtp.messagingengine.com ([66.111.4.227]:46415) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1hoMjl-00089W-Pb; Fri, 19 Jul 2019 02:51:25 -0400 Original-Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailauth.nyi.internal (Postfix) with ESMTP id 3CB3A2223B; Fri, 19 Jul 2019 02:51:25 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Fri, 19 Jul 2019 02:51:25 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrieeigdduudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufhfffgjkfgfgggtgfesthhqredttderjeenucfhrhhomhepvfgrshhs ihhlohcujfhorhhnuceothhsughhsehgnhhurdhorhhgqeenucfkphepgeeirdektddrje dtrddvheenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhrnhdomhgvshhmthhprghu thhhphgvrhhsohhnrghlihhthidqkeeijeefkeejkeegqdeifeehvdelkedqthhsughhpe epghhnuhdrohhrghesfhgrshhtmhgrihhlrdhfmhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Original-Received: from thinkpad-t440p (p2e504619.dip0.t-ipconnect.de [46.80.70.25]) by mail.messagingengine.com (Postfix) with ESMTPA id 6E79180064; Fri, 19 Jul 2019 02:51:23 -0400 (EDT) In-Reply-To: <87wogekb57.7.fsf@jidanni.org> ("=?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson"'s message of "Fri, 19 Jul 2019 10:31:48 +0800") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:173311 =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson writes: > TH> package.el[c] is still there, but it doesn't add the above comment > TH> and code to the user's init file. > > Maybe the package-initialize's docstring should say "You may have > noticed a line in your .emacs file... Well it is now safe to remove > that line." The NEWS entry is this: --8<---------------cut here---------------start------------->8--- ** 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. --8<---------------cut here---------------end--------------->8--- So I guess the entry won't hurt anyone but simply removing it might cause issues for people with some special configurations. Additionally, `package-initialize' prints a warning Unnecessary call to `package-initialize' in init file to *Messages* if it is called once packages have been initialized already and no such special configurations apply. So it looks to me like it has been catered for the unnecessary call case already. I'm closing this issue. Bye, Tassilo