[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calling (package-initialize) sooner during initialization
From: |
Taylan Ulrich Bayırlı/Kammer |
Subject: |
Re: Calling (package-initialize) sooner during initialization |
Date: |
Sat, 18 Apr 2015 20:16:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Dmitry Gutov <address@hidden> writes:
> On 04/18/2015 08:16 PM, Stefan Monnier wrote:
>
>> Or else, have package-initialize be called by customize-set-variables.
>
> This would be the easiest to implement, I think.
It contradicts with the goal of running package-initialize before the
loading of init.el, since you would need to apply Customize settings
before loading init.el.
We probably don't want to apply Customize settings before (or at the
start of) loading init.el, do we?
So I would go with making Customize smarter and writing settings in the
package group to pre-package-init.el or `package-custom-file' (analogous
to `custom-file').
Given that
1. initialization of installed packages intuitively belongs before
loading user configuration (since it's likely to cover configuration
specific to some packages),
2. one might nevertheless want to configure the package system itself,
I don't see any clean solution other than to separate pre-package
configuration from normal configuration, be it for Customize or user
init files.
Does anyone see disadvantages with this design? I think it's the most
sensible approach.
Taylan
- Re: Calling (package-initialize) sooner during initialization, (continued)
- Re: Calling (package-initialize) sooner during initialization, Taylan Ulrich Bayırlı/Kammer, 2015/04/18
- Re: Calling (package-initialize) sooner during initialization, Artur Malabarba, 2015/04/18
- Re: Calling (package-initialize) sooner during initialization, Nic Ferrier, 2015/04/18
- Re: Calling (package-initialize) sooner during initialization, Taylan Ulrich Bayırlı/Kammer, 2015/04/18
- Re: Calling (package-initialize) sooner during initialization, Artur Malabarba, 2015/04/18
- Re: Calling (package-initialize) sooner during initialization, Nic Ferrier, 2015/04/18
- Re: Calling (package-initialize) sooner during initialization, Artur Malabarba, 2015/04/18
- Re: Calling (package-initialize) sooner during initialization, Taylan Ulrich Bayırlı/Kammer, 2015/04/18
- Re: Calling (package-initialize) sooner during initialization, Stefan Monnier, 2015/04/18
- Re: Calling (package-initialize) sooner during initialization, Dmitry Gutov, 2015/04/18
- Re: Calling (package-initialize) sooner during initialization,
Taylan Ulrich Bayırlı/Kammer <=
- Re: Calling (package-initialize) sooner during initialization, Artur Malabarba, 2015/04/18
- RE: Calling (package-initialize) sooner during initialization, Drew Adams, 2015/04/18
- RE: Calling (package-initialize) sooner during initialization, Artur Malabarba, 2015/04/18
- Re: Calling (package-initialize) sooner during initialization, Artur Malabarba, 2015/04/18
- Re: Calling (package-initialize) sooner during initialization, Dmitry Gutov, 2015/04/18
- Re: Calling (package-initialize) sooner during initialization, Artur Malabarba, 2015/04/19
- Re: Calling (package-initialize) sooner during initialization, Taylan Ulrich Bayırlı/Kammer, 2015/04/18
- Re: Calling (package-initialize) sooner during initialization, Artur Malabarba, 2015/04/18
- Re: Calling (package-initialize) sooner during initialization, Stefan Monnier, 2015/04/18
- Re: Calling (package-initialize) sooner during initialization, Philipp Stephani, 2015/04/19