From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: package-initialize warning despite no package-initialize Date: Sun, 25 Mar 2018 17:32:18 +0200 Message-ID: <87fu4o41dp.fsf@gmx.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1521991829 4069 195.159.176.226 (25 Mar 2018 15:30:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Mar 2018 15:30:29 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 25 17:30:25 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 1f07bE-000109-TG for ged-emacs-devel@m.gmane.org; Sun, 25 Mar 2018 17:30:25 +0200 Original-Received: from localhost ([::1]:51609 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f07dI-0005k6-Ex for ged-emacs-devel@m.gmane.org; Sun, 25 Mar 2018 11:32:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f07dC-0005jh-Jh for emacs-devel@gnu.org; Sun, 25 Mar 2018 11:32:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f07d7-0003pZ-MV for emacs-devel@gnu.org; Sun, 25 Mar 2018 11:32:26 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:48427) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f07d7-0003oN-Do for emacs-devel@gnu.org; Sun, 25 Mar 2018 11:32:21 -0400 Original-Received: from rosalinde ([83.135.3.157]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LoaCE-1eO47t0YGo-00gUpW for ; Sun, 25 Mar 2018 17:32:19 +0200 X-Provags-ID: V03:K0:i7KG3hdqqRe/3BnRpwqfUJ9amvZuR4engWML2A81zHQ8tA4cY5S ZpnCNmXAEKNvFXIXdmFDu0tRtxW0eM+zWF+w7UIwAnPuE0758wPcjcrq88Nrp0ud7/8JcKB EY0kW7x8leZFZYVVq6jWkUAY0Nc+pypfbZX9nsXuuMB2OlRRS7qgQT6Wd9cNt1wYOusGYGN 6grejfvMC1Vk24Yv9rWhQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:Bv8CQn5yJ0s=:STx4FbKgyLg2t30IefSnOU ixPk62HNw40Xhv2WHMO0FNwhoCUnUkMu9gMlse+kbUhOuXPC+Dg5z9z4ZNHYshvy1/UoKHk2S 0vpZvAH6/zm4ACHAN1qlkt2DR5z9dlERMxTsoa9BNFBCj8ie2DbcqOyjrO6/TWOQu+R0z0Swf oyUCPhVaLZMSsjHISGlnQhZ5KI9NlLRzFwvVlSQWFhQ32A1D3Wb+G6w+sWtKLJ154M1/ey0uE Ae8U2n4wNuJVNJmvUe0XG7h16yvgcnR3Fyd3aanGVl8agjS151l4bBebwfkhzRVKxsenyduy7 DEjO2lCk5NwRY3TPsi9kmOiOtLrFkgP3jmkDTT2jhBJhCeam3o/j1KdWH2Yw2ee3V1wieVbUx 3wCRyX95i/PKrFqOu1wgah4UUE5grKPjdMsgGIjKu+zPaJzk2Gv0OopwLNBHcOzaPbPeDQBPr LmCJsa0rT+IQdS7kyiyxRg+oynz1KnQMsEf2OFchVNRchb2JlgxA8eawHs5cWG6Gj8fxjYeht GleVAucI+3qNTQiQm30GC4LurJuieCNzn6BGRv5v8e9NRFFd9X+Kddv8OLsexGpiMmSxJL6+t gmmtfGECn97B3SpaHA1KLrTtEcnyHHtCqjZDKOLPNvjwZ9F1dqlgtBXP8qxEZuE/TeaYzFNBn LcwUXuBxZqjsIlVrCi1tK1V0D6e1kbVDO/2eSps9d/e8mPOPSHaLXDdCy3jaGBxXfTDE9QGba KPJ+4PT9ipFZE+w4tV80VwMVWPvCcL14rPvKG9Hyi3dpwaN6+n6GMNHP3cBy2jB6DHa8/GZY X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.22 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:224003 Archived-At: I just updated and rebuilt emacs from master for the first time since the changes involving package-initialize in 24acb31c04 and 2db57579b0. On restarting emacs with my initializations I got the warning "Warning (package): Unnecessary call to =E2=80=98package-initialize=E2=80=99 in init= file", since I still had `(package-initialize)' in my init file. Following the advice in the doc string of package-initialize I removed that sexp and restarted emacs, but still get the warning. I do not have an early init file and I rebuilt with `make bootstrap'. I grepped for package-initialize and found no calls to it in files in my load-path other than startup.el. Is the doc string wrong or is there something else causing that warning that I've overlooked? In any case, how do I get rid of this warning? Another surprising thing is that, although emacs-26 does not have the above changes and hence AFIU should still need `(package-initialize)' in the init file, yet starting emacs-26 with the same init file lacking this sexp, my packages nevertheless are immediately available (I infer this because my init file calls `pdf-tools-install' from the pdf-tools package and viewing PDF files does indeed use this package in emacs-26 just as in emacs from master). That is, it seems that package-initialize is not needed in the init file in emacs-26 either, or have I misunderstood this too? Steve Berman