[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Only signal package.el warnings when needed
From: |
Eli Zaretskii |
Subject: |
Re: [PATCH] Only signal package.el warnings when needed |
Date: |
Mon, 14 Jan 2019 17:48:52 +0200 |
> From: Radon Rosborough <address@hidden>
> Date: Sun, 13 Jan 2019 21:17:58 -0700
>
> In January 2018, we added support for an early init-file to Emacs 27,
> and adjusted Emacs startup to invoke `package-initialize' before
> loading the standard init-file (but after loading the early
> init-file). This change was adopted, at my suggestion, in order to
> obviate the need for `package-initialize' being called in the user's
> init-file, and to remove the feature by which Emacs added the call
> automatically (which had various disadvantages).
>
> The problem with this change is that many existing init-files contain
> a call to `package-initialize', meaning that the function is called
> twice during startup. Currently, a warning is emitted when this
> occurs. However, there is a better way to solve the problem: simply do
> nothing the second time `package-initialize' is invoked.
But we didn't actually hear complaints about that, did we? I wonder
why should we complicate this stuff even more before collecting enough
real-life experience, which will allow us to have some basis for code
changes -- provided that changes are indeed in order.
Thanks.