From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: Calling (package-initialize) sooner during initialization Date: Mon, 27 Apr 2015 07:10:22 -0700 (PDT) Message-ID: References: <87383xk4ia.fsf@taylan.uni.cx> <87d22zi69k.fsf@taylan.uni.cx> <87a8xtoq3a.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1430143865 9093 80.91.229.3 (27 Apr 2015 14:11:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Apr 2015 14:11:05 +0000 (UTC) Cc: emacs-devel To: bruce.connor.am@gmail.com, Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 27 16:10:54 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 1YmjkC-0007Wd-N1 for ged-emacs-devel@m.gmane.org; Mon, 27 Apr 2015 16:10:44 +0200 Original-Received: from localhost ([::1]:55324 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmjkB-0006cU-UO for ged-emacs-devel@m.gmane.org; Mon, 27 Apr 2015 10:10:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ymjk2-0006c8-59 for emacs-devel@gnu.org; Mon, 27 Apr 2015 10:10:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ymjjy-0001dM-7d for emacs-devel@gnu.org; Mon, 27 Apr 2015 10:10:34 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:17482) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ymjjy-0001dE-0M for emacs-devel@gnu.org; Mon, 27 Apr 2015 10:10:30 -0400 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t3REANXT015907 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 27 Apr 2015 14:10:24 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id t3REAN2m025199 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 27 Apr 2015 14:10:23 GMT Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by userv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t3REAMOD013356; Mon, 27 Apr 2015 14:10:23 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 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:185933 Archived-At: > > Why don't you write to the custom-file (and make the use of > > custom-file the default instead of writing custom settings > > in .emacs bydefault) ? >=20 > Because the custom-file might not be loaded at the top of the > init file. It should not be presumed to be loaded at the top or bottom or at any other particular place in the init file. Its definitions can interact with other code in the init file, including loading of packages in a specific order. > And package-initialize needs to be placed at the very top > (otherwise it's not solving anything). Don't stick it in the init file or the `custom-file'. Find another solution for it.