From mboxrd@z Thu Jan 1 00:00:00 1970 From: Allen Li Subject: Re: Package System questions ? Date: Fri, 14 Dec 2018 18:01:28 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXzH2-0002uN-7s for emacs-orgmode@gnu.org; Fri, 14 Dec 2018 21:01:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXzGw-0008W1-G8 for emacs-orgmode@gnu.org; Fri, 14 Dec 2018 21:01:43 -0500 Received: from mail-it1-x12b.google.com ([2607:f8b0:4864:20::12b]:51792) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gXzGt-0008T7-Ny for emacs-orgmode@gnu.org; Fri, 14 Dec 2018 21:01:40 -0500 Received: by mail-it1-x12b.google.com with SMTP id x19so11685562itl.1 for ; Fri, 14 Dec 2018 18:01:39 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: David Masterson Cc: Org Mode List On Fri, Dec 14, 2018 at 3:46 PM David Masterson wrote: > > Am I reading the startup process right? > > In GNU Emacs v26+, it appears that package-initialize is run out of > startup.el which is run (I think) before the various "init" files. > Therefore, it is hardcoding the assumptions that: > > 1. The standard packages are in site-lisp or elpa directories. > 2. The user packages are in .emacs.d/elpa directory. > > This means that, if you set up a number of package-archives to install > packages from (such as "melpa"), all of the packages must be installed > in "elpa" directories in your local setup. This would seem to be a > configuration issue. >From the NEWS file in emacs master: ** Emacs can now be configured using an early init file. The file is called 'early-init.el', in 'user-emacs-directory'. It is loaded very early in the startup process: before graphical elements such as the tool bar are initialized, and before the package manager is initialized. The primary purpose is to allow customizing how the package system is initialized given that initialization now happens before loading the regular init file (see below). Also, this question belongs on the Emacs mailing list rather than the Org mode mailing list. > > True? > -- > David >