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: Mon, 27 Apr 2015 16:36:01 +0200 Message-ID: <87h9s1zlim.fsf@gmail.com> 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 X-Trace: ger.gmane.org 1430145392 6667 80.91.229.3 (27 Apr 2015 14:36:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Apr 2015 14:36:32 +0000 (UTC) Cc: emacs-devel To: bruce.connor.am@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 27 16:36:23 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 1Ymk8x-0006L4-0f for ged-emacs-devel@m.gmane.org; Mon, 27 Apr 2015 16:36:19 +0200 Original-Received: from localhost ([::1]:55429 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ymk8v-0007xy-Tz for ged-emacs-devel@m.gmane.org; Mon, 27 Apr 2015 10:36:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ymk8s-0007xp-Ca for emacs-devel@gnu.org; Mon, 27 Apr 2015 10:36:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ymk8n-0002f5-8q for emacs-devel@gnu.org; Mon, 27 Apr 2015 10:36:14 -0400 Original-Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:36112) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ymk8n-0002ej-2I for emacs-devel@gnu.org; Mon, 27 Apr 2015 10:36:09 -0400 Original-Received: by wizk4 with SMTP id k4so102175032wiz.1 for ; Mon, 27 Apr 2015 07:36:07 -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=kgU9pcTS9PwWRjTrWQhl9hvx1bmYYzKoHmk0AvMOTi4=; b=aqszE4W/a8Lu9dhPE5Gt9uxNOF8iklB4d1qfgERssLiX0m5M7o6Ux+8zjL4Rmp/NK4 ReEl3MMxmspTp+Dmui7t6F8RFbgHUTi55gRdvB02oJCIlfm8nhWAnAJdhhzZ0JngU8mT XP9cu0qOBvoJl6vFOHmjGNUAOc9VHlm8QTGEoRKK4XbypXhglCxYaKDuDBDG2sK2xMLI MpXg+27IVW3RW2IHzgb0lRii5A/0fF4R4vFv3UaTnFvIyBSjcB5JGJJFEutdE44MbStv f88d62ly8gfBVMaLhcgXt9K09Jlh7xGyoa0h4CoJXughaLW9HxISjQDECWuB/iOfOgRN 0IVg== X-Received: by 10.180.100.194 with SMTP id fa2mr21063705wib.8.1430145367779; Mon, 27 Apr 2015 07:36:07 -0700 (PDT) Original-Received: from dell-14z ([37.164.118.234]) by mx.google.com with ESMTPSA id ex5sm11925873wib.2.2015.04.27.07.36.05 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 27 Apr 2015 07:36:06 -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:185936 Archived-At: Artur Malabarba writes: > 2015-04-27 10:52 GMT+01:00 Thierry Volpiatto : >> Stefan Monnier writes: >> >>> But the current code in Emacs's "master" solves this problem by adding >>> "(package-initialize)" in the user's ~/.emacs. >> >> This is a very bad idea, I don't want my init file modified. >> Only the user should modify this file. > > It's not a great idea, but the previous situation was unnacceptable, > so something was done about it. We can certainly improve on it. > >> 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) ? > > Because the custom-file might not be loaded at the top of the init > file. Why ? If the default is using always the custom-file, this file could be loaded by default before the init file. And IMO it should be the default, writing custom setting at end of init file is the first thing one want to prevent when writing its emacs init file. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997