From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Re: Calling (package-initialize) sooner during initialization Date: Sun, 12 Apr 2015 02:00:27 +0100 Message-ID: References: <20150411231042.GA25541@odonien> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1428800449 9651 80.91.229.3 (12 Apr 2015 01:00:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Apr 2015 01:00:49 +0000 (UTC) Cc: emacs-devel To: Vasilij Schneidermann Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 12 03:00:48 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 1Yh6GW-0004QN-8O for ged-emacs-devel@m.gmane.org; Sun, 12 Apr 2015 03:00:48 +0200 Original-Received: from localhost ([::1]:44175 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yh6GV-0007gG-Cu for ged-emacs-devel@m.gmane.org; Sat, 11 Apr 2015 21:00:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yh6GF-0007g9-Ho for emacs-devel@gnu.org; Sat, 11 Apr 2015 21:00:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yh6GC-0005s5-W4 for emacs-devel@gnu.org; Sat, 11 Apr 2015 21:00:31 -0400 Original-Received: from mail-lb0-x22f.google.com ([2a00:1450:4010:c04::22f]:34699) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yh6GC-0005qs-K6 for emacs-devel@gnu.org; Sat, 11 Apr 2015 21:00:28 -0400 Original-Received: by lbcga7 with SMTP id ga7so36581335lbc.1 for ; Sat, 11 Apr 2015 18:00:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=KXiV13j+aQyJ1QZvxuE33FKREksBZgtRTVG5bH1Wm9s=; b=ZzJsHHSaBE/RJ4WlgfuiMZnTeLzilKlI8RU2nI6S8QppZvDkhpDLKwDkm1hhGkYwKK 01Ib2KNDH6oskMYuJO+jVZgn3Y/pjrE24gML0zqzWCE4UxSHuhkhzPJkK27yvBC1vQ3f OUXIe532arbm6Nl0+nQM/2rzgJo4dFH7Zt2kqTqZX0y1ZNwPtof9T3enG68K0pQZDc2O GddedZcpUJu3H2trP+FyRW5XrK4Szj8s9AWtVktdj3mK2GvBxBGSdBO2VSXG4FUfwVvk izvqag1QkuoZAxQqWqfvnXp5zFoamAg37kvnNA/yjl4E0H5bPRt0oX92I5Z0N3DOwTD5 0C2w== X-Received: by 10.112.63.165 with SMTP id h5mr7237120lbs.16.1428800427378; Sat, 11 Apr 2015 18:00:27 -0700 (PDT) Original-Received: by 10.25.150.131 with HTTP; Sat, 11 Apr 2015 18:00:27 -0700 (PDT) In-Reply-To: <20150411231042.GA25541@odonien> X-Google-Sender-Auth: x6op49mw7ginLLg_OP9NULYZp-o X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22f 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:185309 Archived-At: 2015-04-12 0:10 GMT+01:00 Vasilij Schneidermann : > Hello, > > I am surprised that option #2 is being favoured and has been met with a > fair amount of discussion considering it's the hackier solution (why > *add* text to the init file if one could merely *do* the package > initialization step in startup.el, completely bypassing issues like init > code possibly getting added multiple times to the file and the general > annoyance as this cluttering cannot be disabled at all and can happen at > every installation) and involves more work. > > Since option #1 wasn't discussed in the prior discussion, I'd suggest a > third one, enabling packages in startup.el unless an Emacs-specific > environment variable is set (or Emacs is started up in a special mode of > operation). Doing so works cross-platform, avoids cluttering anything > (be it an existing or new file) and is simple to get right. > > Any thoughts on this proposal? I'm fine with this too. Like I said in the previous post, I'm just glad this issue is up for the slaughter, I don't care whether we kill it with a magnum or a tennis racket. It's important to note that an extra envvar will probably need to be documented in places I'm not aware of.