From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Settings Date: Tue, 27 Aug 2019 09:20:51 +0300 Message-ID: <83zhjvdt8c.fsf@gnu.org> References: <87y2zuumeg.fsf@mouse.gnus.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="167910"; mail-complaints-to="usenet@blaine.gmane.org" Cc: larsi@gnus.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 27 08:21:11 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i2Uqr-000hXJ-Ks for ged-emacs-devel@m.gmane.org; Tue, 27 Aug 2019 08:21:09 +0200 Original-Received: from localhost ([::1]:46972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2Uqo-0007Kw-UB for ged-emacs-devel@m.gmane.org; Tue, 27 Aug 2019 02:21:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45777) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2Uqh-0007Kn-86 for emacs-devel@gnu.org; Tue, 27 Aug 2019 02:21:00 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i2Uqh-0005Ul-3i; Tue, 27 Aug 2019 02:20:59 -0400 Original-Received: from [176.228.60.248] (port=3474 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1i2UqY-0000Go-06; Tue, 27 Aug 2019 02:20:50 -0400 In-reply-to: (message from Richard Stallman on Mon, 26 Aug 2019 19:13:30 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:239607 Archived-At: > From: Richard Stallman > Date: Mon, 26 Aug 2019 19:13:30 -0400 > Cc: larsi@gnus.org, emacs-devel@gnu.org > > > IOW if Emacs just loads ~/.emacs.d/custom.el before ~/.emacs.d/emacs.el > > some things will break, and same thing if it swaps the order. > > I wonder if we can do something more intelligent about this. > For instance, can we figure out that certain variables need to be set early > and others late? What is "early" and what is "late" depends on the order of user customizations in .emacs, which is entirely out of our control, and can be almost arbitrary. We introduced the early-init file in Emacs 27 to let users themselves control which customizations are done early and which later, because some customizations should be in place before we read .emacs.