From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.devel Subject: Re: Calling (package-initialize) sooner during initialization Date: Wed, 29 Apr 2015 10:01:06 +0200 Message-ID: <87383jgy7x.fsf@gmail.com> 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 X-Trace: ger.gmane.org 1430294502 18329 80.91.229.3 (29 Apr 2015 08:01:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Apr 2015 08:01:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 29 10:01:28 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 1YnMvv-0005xH-Be for ged-emacs-devel@m.gmane.org; Wed, 29 Apr 2015 10:01:27 +0200 Original-Received: from localhost ([::1]:37549 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnMvu-0002Zk-DW for ged-emacs-devel@m.gmane.org; Wed, 29 Apr 2015 04:01:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50234) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnMvm-0002YA-Q4 for emacs-devel@gnu.org; Wed, 29 Apr 2015 04:01:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YnMvi-000580-Nz for emacs-devel@gnu.org; Wed, 29 Apr 2015 04:01:18 -0400 Original-Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:35041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnMvi-00057B-Hs for emacs-devel@gnu.org; Wed, 29 Apr 2015 04:01:14 -0400 Original-Received: by widdi4 with SMTP id di4so169380561wid.0 for ; Wed, 29 Apr 2015 01:01:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; bh=egRGzx0K5H5DGFWZwWXyUrBScKObonLmH7IrNa6e9jU=; b=Am5Yczi1qb4a8ecZlyGnw1ZVMIX7PAvI/uk/LH3X1JPuQO5Pu3eiC4kK2Cihp/H6z4 YzskikRnDKsdE0J32TnkvzQalWXupRWpUXBGikF1bTTl0fcAMvlKz8QKCjhZ1K5tcKbT 9za1xbTpscCCbQTIl+YfoQXrWGLpaKANjAZz2QiURoVv7az8L+GLUgaesuKdYxVJwFog jQYJbzG3Jcb8F0uXYcRnCdLq5OENT40/gAT976g2dHW1ASt30TfZ1rvD/LiULCSGuYJx 8aWXigEFecopdPVSl2F1PgfmUUf5SUZcADvn/4hrKL5EpujO80d6GXl1quWrm47Px2bM 6iCw== X-Received: by 10.180.99.2 with SMTP id em2mr37161806wib.59.1430294472801; Wed, 29 Apr 2015 01:01:12 -0700 (PDT) Original-Received: from dell-14z ([37.161.3.211]) by mx.google.com with ESMTPSA id fa8sm19982966wib.14.2015.04.29.01.01.09 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 29 Apr 2015 01:01:11 -0700 (PDT) In-reply-to: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::233 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:186000 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. Hmm, I am not sure of this, I don't see yet what kind of code have to be run before setting variables from custom-file. > The second case is completely different, because the user has control > over where the (load custom-file) is placed, so if it crashes-and-burns > when placed at the very top, he can move it elsewhere. User should not have do take care of this IMHO. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997