From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#31397: 27.0.50; Emacs doesn't call package-initialize if there's no elpa directory Date: Mon, 04 Nov 2019 21:01:10 +0100 Message-ID: <87y2wvbed5.fsf@marxist.se> References: <87o9gyd6hp.fsf@gmail.com> <87fu2acchi.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="169901"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 31397@debbugs.gnu.org, radon.neon@gmail.com, Zachary Kanfer , npostavs@gmail.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 04 21:02:22 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iRiYQ-000i4t-88 for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Nov 2019 21:02:22 +0100 Original-Received: from localhost ([::1]:37876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iRiYO-0005hj-N6 for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Nov 2019 15:02:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39285) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iRiY9-0005gq-SY for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2019 15:02:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iRiY7-0006LJ-Q8 for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2019 15:02:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56990) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iRiY6-0006Ku-NA for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2019 15:02:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iRiY6-0000co-If for bug-gnu-emacs@gnu.org; Mon, 04 Nov 2019 15:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Nov 2019 20:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31397 X-GNU-PR-Package: emacs Original-Received: via spool by 31397-submit@debbugs.gnu.org id=B31397.1572897682397 (code B ref 31397); Mon, 04 Nov 2019 20:02:02 +0000 Original-Received: (at 31397) by debbugs.gnu.org; 4 Nov 2019 20:01:22 +0000 Original-Received: from localhost ([127.0.0.1]:37578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRiXS-00005p-69 for submit@debbugs.gnu.org; Mon, 04 Nov 2019 15:01:22 -0500 Original-Received: from host.gofardesign.uk ([208.79.239.190]:58794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRiXR-0008S2-Cw for 31397@debbugs.gnu.org; Mon, 04 Nov 2019 15:01:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=anECvKqiatx299UnUHW9o/Qsgy5qobfdLSETChZOJfg=; b=j60dI207Ay/MhjStMjRCF/zgU9 +tDCqSiU0NAby3lcoXj7L7O6WswDO9EekzEUBliGeVgCmSsF9gDpym2DPW1JPB66z4cc+9+LsYEUH T0Xw8zo3T1VIlNd1K4zqIovqynHkUmjwUWwBglGyc6BG7t8BYMi7LCibB1fep7nQvqcE=; Original-Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:54780 helo=localhost) by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iRiXI-00060Q-Uc; Mon, 04 Nov 2019 14:01:13 -0600 In-Reply-To: (Stefan Monnier's message of "Tue, 22 Jan 2019 18:12:09 -0500") X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: host.gofardesign.uk: stefan@marxist.se 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: 209.51.188.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:170959 Archived-At: Stefan Monnier writes: >> I'm circling back around to this; I think that that change makes a lot of >> sense. > > I installed an alternative patch which doesn't fully initialize package, > but does make package-installed-p work even if package-initialize hasn't > been called yet. Thanks. >> What other functions would need to call package-initialize, if it hasn't >> been called? > > Good question. I hope the answer is none, and I think if we find one, > we should change it so it initializes the relevant vars automatically. I agree, and have had a cursory look without finding any obvious candidates. Perhaps it's best to do them on a case-by-case basis, i.e. treat them as normal bugs if/when they are found. IOW, I'm not sure it makes sense if it makes sense to keep this bug open just for the eventuality that there are more functions with similar bugs. Best regards, Stefan Kangas