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#63260: 29.0.90; Regression installing/activating packages without autoloads Date: Sun, 07 May 2023 15:54:28 +0300 Message-ID: <83fs88e1yz.fsf@gnu.org> References: <87ild8tnbg.fsf@tcd.ie> <87ttwsnn59.fsf@gmail.com> <87zg6kysao.fsf@tcd.ie> <87lei3nv24.fsf@gmail.com> <87a5yhtxkw.fsf@tcd.ie> <83sfc9fva8.fsf@gnu.org> <87mt2go4ne.fsf@tcd.ie> <83pm7ce7p2.fsf@gnu.org> <87y1m0co2z.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14119"; mail-complaints-to="usenet@ciao.gmane.io" Cc: contovob@tcd.ie, 63260@debbugs.gnu.org, rpluim@gmail.com To: Philip Kaludercic Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 07 14:54:11 2023 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 1pvdty-0003SU-RU for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 May 2023 14:54:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pvdtr-0002oK-JR; Sun, 07 May 2023 08:54:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pvdtq-0002nz-64 for bug-gnu-emacs@gnu.org; Sun, 07 May 2023 08:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pvdtp-00010a-Te for bug-gnu-emacs@gnu.org; Sun, 07 May 2023 08:54:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pvdtp-00047u-PE for bug-gnu-emacs@gnu.org; Sun, 07 May 2023 08:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 May 2023 12:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63260 X-GNU-PR-Package: emacs Original-Received: via spool by 63260-submit@debbugs.gnu.org id=B63260.168346402015832 (code B ref 63260); Sun, 07 May 2023 12:54:01 +0000 Original-Received: (at 63260) by debbugs.gnu.org; 7 May 2023 12:53:40 +0000 Original-Received: from localhost ([127.0.0.1]:36656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvdtT-00047H-JQ for submit@debbugs.gnu.org; Sun, 07 May 2023 08:53:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvdtR-000471-W9 for 63260@debbugs.gnu.org; Sun, 07 May 2023 08:53:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pvdtL-0000u5-TU; Sun, 07 May 2023 08:53:31 -0400 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=N2RupsrZR2cU01le7aUH/HkPGyAQ5BzrQDONaB09QXk=; b=Pb3uO8OzjPZO QYi9runmH1+P6yIifsYQULLmRF2/Wz9FKBn4KxG5cF4pdZoxcNbhVyHpk4sYAPAEdQS6TkxbULX8R TQGlbYSCmfnbZiUM0znwQCmk7UOoWTQEMCEULtkYK0qcl3RieNIbAb3sVALsxhX47NEFSpQuwt2OF HGXhoBq4hierPlVs1Yf8BwMBmk+YOVKOrqTG/sQNHzP37C8fjVABMcy0Tn5fp8u8Vh28vC3Qrcgo2 rusEsinECEn/7yOm4ASZ2Ppo+TuIqGlLkhPTVVRkT8WKJ5C55rxj28NS6kactPoNTWhHy1XtSsHbE OQ00Hrapb9R7PmPJKLAKFA==; Original-Received: from [87.69.77.57] (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 1pvdtL-0006l2-9S; Sun, 07 May 2023 08:53:31 -0400 In-Reply-To: <87y1m0co2z.fsf@posteo.net> (message from Philip Kaludercic on Sun, 07 May 2023 12:39:48 +0000) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:261256 Archived-At: > From: Philip Kaludercic > Cc: Basil Contovounesios , 63260@debbugs.gnu.org, > rpluim@gmail.com > Date: Sun, 07 May 2023 12:39:48 +0000 > > Eli Zaretskii writes: > > > AFAIU, in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62734 I asked > > Philip what would happen in this case, and he replied that the changes > > he proposed did TRT in that case? So what is different here? Philip? > > No, that appears to have been my mistake. The issue is that > `loaddefs-generate' generates the autoload file while looping over all > definitions to autoload, but if there are no files, Basil is right that > nothing happens. This is fine in general, but `loaddefs-generate' has > the extra task of modifying load-path (which has been the root of the > issue in bug#62734). Perhaps it is best to revert the commit, and come > up with a alternative solution. I have an idea, but I'll have to test > it again before I forget something like this. If we revert that commit, we will bring back bug#62734, which to me sounds like a similarly serious, perhaps even more serious, issue, don't you agree? So I think maybe we need to amend that commit with something that takes care of the particular situation reported here. Specifically, it seems we need to detect the situation where a package has no autoloads at all, and then produce the minimal autoloads file that such packages expect.