From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Corwin Brust Newsgroups: gmane.emacs.bugs Subject: bug#53885: Autoload package-installed-p Date: Tue, 8 Feb 2022 23:39:37 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28226"; mail-complaints-to="usenet@ciao.gmane.io" To: 53885@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 09 06:40:38 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 1nHfiY-0007B8-J8 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Feb 2022 06:40:38 +0100 Original-Received: from localhost ([::1]:53334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHfiX-000882-6K for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Feb 2022 00:40:37 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHfhz-00083W-Cs for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2022 00:40:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55514) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHfhy-0002Ce-RK for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2022 00:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHfhy-0005K6-Cc for bug-gnu-emacs@gnu.org; Wed, 09 Feb 2022 00:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Corwin Brust Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Feb 2022 05:40: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.164438519620441 (code B ref 53885); Wed, 09 Feb 2022 05:40:02 +0000 Original-Received: (at 53885) by debbugs.gnu.org; 9 Feb 2022 05:39:56 +0000 Original-Received: from localhost ([127.0.0.1]:49411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHfhs-0005Jc-62 for submit@debbugs.gnu.org; Wed, 09 Feb 2022 00:39:56 -0500 Original-Received: from mail-ed1-f44.google.com ([209.85.208.44]:39828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHfhq-0005JN-Jn for 53885@debbugs.gnu.org; Wed, 09 Feb 2022 00:39:54 -0500 Original-Received: by mail-ed1-f44.google.com with SMTP id u18so2881315edt.6 for <53885@debbugs.gnu.org>; Tue, 08 Feb 2022 21:39:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=5oMU5+RugFF+vL2TGMPuG/e1nJRVs2kWYZagsByoI3I=; b=KzAtrdBfKhduefAlz0ehkqrut6efE9FcCq8ZwfLhXmTuPtyhmfcVFcW2fAGOLfi4Qv KgQ4UZY7ZPENZJ995mrSt7ZAd/Smt2R/YpwC9iC5awn3dLAa3rtc52fyjGkj0hew/Bx2 PlPraNUnM6E14TbOrFhokHsqp5QmulR7yISWfVc9M+nDER+7Kb3n8ZhieS+74OE58MvK Esjf3x3R2H9xuF5xgqX/l+o62ODVcrvUGAqf8g+nlyDKZTUDSMavWwdTy4fDx40tvC5J vfzNCDgwI17/wmzue2+bazeRpkHeDLEocDTQQpBdBlJGh3UTAFtmyWO55fbAtf4+2bAP 0f0g== X-Gm-Message-State: AOAM530dC38f5VqF+QChqmtpavfNclZBJT0R59CHmAMgEO679nXGc94w gmD1CQovogNU8YyAUZHsDTeY/8NYz5rToLi+DbxMmHTeHDU= X-Google-Smtp-Source: ABdhPJyP9ApjJA8CSCCJS1sgYgiLfB7atXRGleI49eAYq9OdmZEqSsp8G/NhhAgB+pppPe37gz1hDRGTbZkHushl4sY= X-Received: by 2002:a05:6402:5248:: with SMTP id t8mr764617edd.14.1644385188545; Tue, 08 Feb 2022 21:39:48 -0800 (PST) In-Reply-To: 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:226434 Archived-At: retitle 53885 28.0.91 [PATCH] Autoload package-installed-p thanks I inadvertently included an explicit call to `require' in the reproducer, which functions as a work-around for this (IMO) missing autoload. Sorry for any confusion caused. > > Reproducer: > > NOTE: Make sure you have a folder beneth your home directory called > "elpa" and that it is empty. > > Launch emacs -Q > Insert and evaluate: Corrected reproducer: (progn (setq package-user-dir "~/elpa") (setq package-archives '(("MELPA" . "https://melpa.org/packages/"))) (unless (package-installed-p 'use-package) (package-install 'use-package)))