From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Calling (package-initialize) sooner during initialization Date: Tue, 28 Apr 2015 09:30:02 +0900 Message-ID: <87618hqelx.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87383xk4ia.fsf@taylan.uni.cx> <87d22zi69k.fsf@taylan.uni.cx> <87a8xtoq3a.fsf@gmail.com> <87fv7lzl0q.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1430181035 329 80.91.229.3 (28 Apr 2015 00:30:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Apr 2015 00:30:35 +0000 (UTC) Cc: emacs-devel@gnu.org, Thierry Volpiatto To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 28 02:30:20 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YmtPl-0003u6-7M for ged-emacs-devel@m.gmane.org; Tue, 28 Apr 2015 02:30:17 +0200 Original-Received: from localhost ([::1]:58197 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmtPk-0007sd-7L for ged-emacs-devel@m.gmane.org; Mon, 27 Apr 2015 20:30:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmtPg-0007rT-Hu for emacs-devel@gnu.org; Mon, 27 Apr 2015 20:30:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmtPc-0003vD-OI for emacs-devel@gnu.org; Mon, 27 Apr 2015 20:30:12 -0400 Original-Received: from shako.sk.tsukuba.ac.jp ([130.158.97.161]:51673) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmtPc-0003fg-Eg for emacs-devel@gnu.org; Mon, 27 Apr 2015 20:30:08 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by shako.sk.tsukuba.ac.jp (Postfix) with ESMTPS id 85B501C389A; Tue, 28 Apr 2015 09:30:02 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 750551A2CDF; Tue, 28 Apr 2015 09:30:02 +0900 (JST) In-Reply-To: X-Mailer: VM undefined under 21.5 (beta34) "kale" 83e5c3cd6be6 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 130.158.97.161 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:185946 Archived-At: Stefan Monnier writes: > > What is the difference with: > > - (load custom-file) + (load user-init-file) > > - loading init file with (load custom-file) on top of it. > > The first case will crash-and-burn if some of the settings in > custom-file only work after some of the code in the user's > user-init-file. XEmacs did this for years (when XEmacs was very popular), and there were no such problems. I suppose settings in custom-file rarely depend on init settings in "crash and burn" way. The real issue is supporting the occasional user who wants fine control over the custom-loading process. See my reply to Thierry for a use case.