emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Calling (package-initialize) sooner during initialization


From: Artur Malabarba
Subject: RE: Calling (package-initialize) sooner during initialization
Date: Sun, 19 Apr 2015 01:38:18 +0100

On Apr 19, 2015 1:24 AM, "Drew Adams" <address@hidden> wrote:
>
> > I usually tell people to place their custom-set-variables at the top
> > of their init file.
>
> Sorry, but any such advice is misguided, IMO. 
>
> There is simply no such one-size-fits-all rule wrt when Customize
> settings should be made. 

I agree 100%, there's no right order that will cover every case. I was just saying that keeping it at the top avoids a common problem with themes. It's not something I advocate religiously, it's just something I tell new users when they run into this theme issue.

> > Otherwise, if you install a new theme and try to
> > `(load-theme 'theme-name)' in your init file, you'll get problems
> > because `custom-safe-themes' hasn't been set yet.
>
> Welcome to the world of Customize.  That is one consideration.
> There are others.  You will not find a simple rule such as you
> are suggesting that works in general, precisely because what
> else is in the init file matters.

Again, agreed.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]