From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vasilij Schneidermann Newsgroups: gmane.emacs.devel Subject: Re: Calling (package-initialize) sooner during initialization Date: Sun, 12 Apr 2015 01:10:42 +0200 Message-ID: <20150411231042.GA25541@odonien> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1428797698 4454 80.91.229.3 (12 Apr 2015 00:14:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Apr 2015 00:14:58 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 12 02:14:53 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 1Yh5Y5-0002i0-1d for ged-emacs-devel@m.gmane.org; Sun, 12 Apr 2015 02:14:53 +0200 Original-Received: from localhost ([::1]:44123 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yh5Y4-0006sR-86 for ged-emacs-devel@m.gmane.org; Sat, 11 Apr 2015 20:14:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yh4Y6-0004ep-7z for emacs-devel@gnu.org; Sat, 11 Apr 2015 19:10:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yh4Y1-00012i-6A for emacs-devel@gnu.org; Sat, 11 Apr 2015 19:10:50 -0400 Original-Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:35096) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yh4Y0-00012c-VU for emacs-devel@gnu.org; Sat, 11 Apr 2015 19:10:45 -0400 Original-Received: by widdi4 with SMTP id di4so33389124wid.0 for ; Sat, 11 Apr 2015 16:10:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=smdDTwD/V3zVeSZWNO8ylGWidZQTC9Z51GbYNvV4crQ=; b=g8NsytRZYINsUWDbyZqd4YpSGLPqMFuCsaBThcbNh9KuMLG21oRroZp3eGwcVO+szc J7v2A+mMKrW21zxs27fPgDCaCGhd8K7wH8nR/Wad5UXttva5nMb/TjdQcjSDl/Y/KF1H THiYTg5Mjyapb4UvFdHDKKXehktFvlR6ls3cPY1Xq1/0RXsfskAjVQpmPV8r33nUBQX8 HB0SYG2/mHcucEwjx1KJmGpjcy+TvuYuOFqfJmW4bf4KA7CHmmwEPaS8BZQ0yMx1fCpV 5FmTXa2pNNZiozqgtn+qBfBdszkr9MiOCerhG+j8JzvHEXuWgZJK/I3vYuu00xknBZ0T LhTQ== X-Received: by 10.194.121.68 with SMTP id li4mr11645520wjb.84.1428793844042; Sat, 11 Apr 2015 16:10:44 -0700 (PDT) Original-Received: from localhost (xdsl-87-79-53-156.netcologne.de. [87.79.53.156]) by mx.google.com with ESMTPSA id fa8sm4658399wib.14.2015.04.11.16.10.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 Apr 2015 16:10:43 -0700 (PDT) Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22e X-Mailman-Approved-At: Sat, 11 Apr 2015 20:14:41 -0400 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:185307 Archived-At: 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?