[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Only signal package.el warnings when needed
From: |
Robert Pluim |
Subject: |
Re: [PATCH] Only signal package.el warnings when needed |
Date: |
Mon, 14 Jan 2019 17:10:21 +0100 |
Eli Zaretskii <address@hidden> writes:
>> 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.
Itʼs not caused me any problems, but Iʼm a simple user of
'package-initialize', so calling it once or twice would make no
difference.
What is annoying is the startup message I get on stdout because I have
package-quickstart set to t:
Loading ~/.emacs.d/package-quickstart.el (source)...
Loading ~/.emacs.d/package-quickstart.el (source)...done
It would be great if that disappeared.
Robert
- [PATCH] Only signal package.el warnings when needed, Radon Rosborough, 2019/01/14
- Re: [PATCH] Only signal package.el warnings when needed, Eli Zaretskii, 2019/01/14
- Re: [PATCH] Only signal package.el warnings when needed, Radon Rosborough, 2019/01/14
- Re: [PATCH] Only signal package.el warnings when needed, Eli Zaretskii, 2019/01/15
- Re: [PATCH] Only signal package.el warnings when needed, Radon Rosborough, 2019/01/15
- Re: [PATCH] Only signal package.el warnings when needed, Eli Zaretskii, 2019/01/15
- Re: [PATCH] Only signal package.el warnings when needed, Radon Rosborough, 2019/01/21
- Re: [PATCH] Only signal package.el warnings when needed, Eli Zaretskii, 2019/01/22