From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#53885: 28.0.51 [PATCH] Autoload package-installed-p Date: Thu, 10 Feb 2022 10:18:22 +0200 Message-ID: <83y22jt9rl.fsf@gnu.org> References: <83y22kupn7.fsf@gnu.org> <87v8xng5ig.fsf@gnus.org> <83bkzfuu8o.fsf@gnu.org> <871r0bfcdy.fsf@gnus.org> <831r0bupb6.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32338"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 53885@debbugs.gnu.org To: Corwin Brust Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 10 09:25:50 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nI4lw-0008DH-U4 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Feb 2022 09:25:49 +0100 Original-Received: from localhost ([::1]:48292 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nI4lv-0000c7-J5 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Feb 2022 03:25:47 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nI4fO-00055X-Oh for bug-gnu-emacs@gnu.org; Thu, 10 Feb 2022 03:19:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59873) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nI4fO-0005Gm-FD for bug-gnu-emacs@gnu.org; Thu, 10 Feb 2022 03:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nI4fO-0001ky-CM for bug-gnu-emacs@gnu.org; Thu, 10 Feb 2022 03:19:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Feb 2022 08:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53885 X-GNU-PR-Package: emacs Original-Received: via spool by 53885-submit@debbugs.gnu.org id=B53885.16444811176712 (code B ref 53885); Thu, 10 Feb 2022 08:19:02 +0000 Original-Received: (at 53885) by debbugs.gnu.org; 10 Feb 2022 08:18:37 +0000 Original-Received: from localhost ([127.0.0.1]:53770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nI4ez-0001kB-6V for submit@debbugs.gnu.org; Thu, 10 Feb 2022 03:18:37 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nI4ex-0001jw-37 for 53885@debbugs.gnu.org; Thu, 10 Feb 2022 03:18:36 -0500 Original-Received: from [2001:470:142:3::e] (port=51154 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nI4er-0005AL-I5; Thu, 10 Feb 2022 03:18:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=THFENMYOwNP4VviUh6LenVKRnhxYzrPuG/OAbpNqVSA=; b=Cq/vM1R8KGw5 GWojFygXMwCeDpqJhV2UBX8R5Sa1wJZOTN3qIzEqvn89i4bd7+ep81FRzRe/TvjIE1PXpih9+xyRq 0mRJ2yHl6XKV6DujECmDP9MblYoDEuiUeBK2cntQS5gBlXeLOgKxKiBP7QF3W/7K5QWoD8T/8hO24 NDu73OIdxo3/ogjerloNNT7VataWRMCuyCad0rcO7i311CBmIEVJh4KXOjDQAH14FoKhsV8ur683W nHTNjP6J7528wJeUci4rtHhCpxGGE8TwJVXk3vsQg4UMlqbui3Yn46/Fxe3ozy0v2wgkkJBz+GeWT 56b9pYsI43jH0RtV2VIPOQ==; Original-Received: from [87.69.77.57] (port=2455 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nI4eq-0006EX-Mt; Thu, 10 Feb 2022 03:18:29 -0500 In-Reply-To: (message from Corwin Brust on Thu, 10 Feb 2022 02:09:34 -0600) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:226553 Archived-At: > From: Corwin Brust > Date: Thu, 10 Feb 2022 02:09:34 -0600 > Cc: Lars Ingebrigtsen , 53885@debbugs.gnu.org > > On Thu, Feb 10, 2022 at 1:57 AM Eli Zaretskii wrote: > > > > Now I'm confused: which code calls package-installed-p in the > > scenarios you have in mind? I thought it was use-package, but you > > seem to say that's not the case? > > The user's Emacs configuration, e.g. init.el Why do users do that without making sure the relevant feature is loaded? And what makes package-installed-p special in this case?