From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#31397: 27.0.50; Emacs doesn't call package-initialize if there's no elpa directory Date: Tue, 29 May 2018 07:52:02 -0400 Message-ID: <87o9gyd6hp.fsf@gmail.com> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1527594666 1325 195.159.176.226 (29 May 2018 11:51:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 29 May 2018 11:51:06 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: 31397@debbugs.gnu.org, Radon Rosborough To: Zachary Kanfer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 29 13:51:02 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNd9Z-0000EF-ML for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 May 2018 13:51:01 +0200 Original-Received: from localhost ([::1]:60441 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNdBg-00025o-Tz for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 May 2018 07:53:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNdBb-00025i-56 for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 07:53:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNdBW-0002N3-9D for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 07:53:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45309) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fNdBW-0002Mi-5J for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 07:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fNdBV-0000eS-RK for bug-gnu-emacs@gnu.org; Tue, 29 May 2018 07:53:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 May 2018 11:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31397 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31397-submit@debbugs.gnu.org id=B31397.15275947312441 (code B ref 31397); Tue, 29 May 2018 11:53:01 +0000 Original-Received: (at 31397) by debbugs.gnu.org; 29 May 2018 11:52:11 +0000 Original-Received: from localhost ([127.0.0.1]:53206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNdAh-0000dJ-03 for submit@debbugs.gnu.org; Tue, 29 May 2018 07:52:11 -0400 Original-Received: from mail-it0-f54.google.com ([209.85.214.54]:52315) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNdAf-0000d5-9W for 31397@debbugs.gnu.org; Tue, 29 May 2018 07:52:09 -0400 Original-Received: by mail-it0-f54.google.com with SMTP id y189-v6so17996893itb.2 for <31397@debbugs.gnu.org>; Tue, 29 May 2018 04:52:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=niTLsTdyYQn3MT5AllXb3lbXehEF3QiLT8g7Ci1cZws=; b=eUxPsgsJ0MQjiWlIRUQF3PfL/VbsGQVaEB7zOIF9KaJl9jBsqv64dHyrxD1lUOD07g 2X54NIlX4aSuwWq6OMvMxw0LYDKHeV66ViERV7hAj1/Dwqj9MKXQhG4RldKSJfx+GjeG YWP3fXhOBIeYVRyGU00bYm2MDHkWXRHzKdvrlxODnULZqJsjI6JDR5XYR+zjat4byZty 6KiBS6DArBvBmBajciRtKJoE/kT0GNHhtpZsNM50OihxaZs3YskuF/NT93g8NTSh9Lua MFgBVALWjWxF+qQQ103mJTv7hu8lFYA8LS7X+Ruf07P5xfVNgMdZTR1gO5cqmspAWlGH s/QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=niTLsTdyYQn3MT5AllXb3lbXehEF3QiLT8g7Ci1cZws=; b=HE/+VEAq/A5/pFQ9YcioAQCtFyKGRM5O9F8e/i0D1tTJZvhOZKNxTyCDadvgoavzEa h1mWaIMHywmBBKJ/XGrnlSIr6ZWRu6p4fpCQanOu6zACcarAZy1F18XXN8OPreeXMgSZ plvbQgSjJt6ixVrOTbiEIlQmJXYiU8pBFO+vkTJ/7y3mmFuxGKKAl7pby7R2/rkX3LV7 RLsJLUXFWp8OKlxSBikpcmsaZtOi8xidWzecwmkPZixKPtRo73S1oW2pS8tlrgy8+IGD hqJGvCH3r3FlRmF2YhZCyD5YqU1o6iN4oU6POROpTWIITuNQLl38VCRYdwtwflRJmp+F uhpQ== X-Gm-Message-State: ALKqPwf4kNTZDEC+9SWQDjM9WaN3pff3AGpI03XkHptdOtolV+qcl8RF 9ABl/L4E4e4DkPND3jUUd+k= X-Google-Smtp-Source: ADUXVKJinQuyG9QYbP9Nxtt3HNWwv3X/5QGUsxwcZ76a1hJfFTt5pFvoUweGvFgIzePkUnOhcFBLJQ== X-Received: by 2002:a24:8705:: with SMTP id f5-v6mr13931395ite.146.1527594723844; Tue, 29 May 2018 04:52:03 -0700 (PDT) Original-Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id i133-v6sm7197724itf.15.2018.05.29.04.52.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 May 2018 04:52:03 -0700 (PDT) In-Reply-To: (Zachary Kanfer's message of "Thu, 10 May 2018 01:17:12 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:146688 Archived-At: Zachary Kanfer writes: > I like my init file to completely set up Emacs: I want to be able to > start with an empty ~/.emacs.d/ move my init file into it, and start up > Emacs. [...] > I've read up on the early init file. My understanding is that users > should no longer call #'package-initialize in their init files. This is > supported by, if I do have a call to #'package-initialize, starting > Emacs gives me a warning "Warning (package): Unnecessary call to > =E2=80=98package-initialize=E2=80=99 in init file". So I figured I would = remove it. But > I quickly ran into a problem, or at least an area for better > documentation. [...] > A minimal init file that shows my problem is here: > > (require 'package) > (add-to-list 'package-archives > '("melpa" . "https://melpa.org/packages/")) > > (message "use-package is installed: %s" (package-installed-p 'use-pac= kage)) > > Here's how I delete the elpa directory, and then start up Emacs: > > $ rm -r ~/.emacs.d/elpa > $ src/emacs > > Upon doing so, here's the error I get: > > Warning (initialization): An error occurred while loading > =E2=80=98/home/zck/.emacs.d/init.el=E2=80=99: > > error: package.el is not yet initialized! > Anything I can do to help narrow this down? I'm not sure what to do to ma= ke this work. Perhaps adding Radon to Cc will help, not sure if they're subscribed to the bug list.