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:13:01 -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=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1430144025 12190 80.91.229.3 (27 Apr 2015 14:13:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Apr 2015 14:13:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier , Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 27 16:13:30 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 1Ymjml-0001T9-Ew for ged-emacs-devel@m.gmane.org; Mon, 27 Apr 2015 16:13:23 +0200 Original-Received: from localhost ([::1]:55335 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ymjmk-0008I8-PJ for ged-emacs-devel@m.gmane.org; Mon, 27 Apr 2015 10:13:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ymjmc-0008A4-KP for emacs-devel@gnu.org; Mon, 27 Apr 2015 10:13:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmjmY-0002HP-K5 for emacs-devel@gnu.org; Mon, 27 Apr 2015 10:13:14 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:19652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmjmY-0002HF-DQ for emacs-devel@gnu.org; Mon, 27 Apr 2015 10:13:10 -0400 Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t3RED3aW019853 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 27 Apr 2015 14:13:03 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t3RED2AR029417 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 27 Apr 2015 14:13:03 GMT Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t3RED2W0015460; Mon, 27 Apr 2015 14:13:02 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: userv0021.oracle.com [156.151.31.71] 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:185934 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 by default) ? >=20 > When should the custom-file be loaded? Before .emacs is too > early. After .emacs is too late. It should *not* be loaded automatically. It should be loaded by the user, explicitly (from the init file, typically). Unless the init file is absent or empty. In that case, it could be added to a virgin init file. Emacs could also provide a command that creates such a starter init-file, which contains only a sexp to load `custom-file'. A bigger question is how `custom-file' gets customized. Using Customize for that is problematic, for obvious reasons.