From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "John Wiegley" Newsgroups: gmane.emacs.bugs Subject: bug#64901: 29.1; use-package fails to require bind-key at runtime in compiled files Date: Fri, 28 Jul 2023 10:37:48 -0700 Message-ID: References: <11c7327a-236e-7dab-e6bd-215fd9aac972@fiander.info> <83jzull2jp.fsf@gnu.org> <83h6ppl1n3.fsf@gnu.org> <83v8e4jzhh.fsf@gnu.org> <87wmykfkqk.fsf@epfl.ch> <83cz0cjkul.fsf@gnu.org> <87a5vgou07.fsf@epfl.ch> Mime-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33351"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Cyrus-JMAP/3.9.0-alpha0-592-ga9d4a09b4b-fm-defalarms-20230725.001-ga9d4a09b Cc: 64901@debbugs.gnu.org, david@fiander.info To: "Basil L. Contovounesios" , "Eli Zaretskii" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 28 19:56:48 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 1qPRho-0008WI-2p for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Jul 2023 19:56:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qPRQg-00087z-1U; Fri, 28 Jul 2023 13:39:06 -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 1qPRQd-000843-C7 for bug-gnu-emacs@gnu.org; Fri, 28 Jul 2023 13:39:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qPRQd-0007bt-07 for bug-gnu-emacs@gnu.org; Fri, 28 Jul 2023 13:39:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qPRQc-0001hN-RH for bug-gnu-emacs@gnu.org; Fri, 28 Jul 2023 13:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "John Wiegley" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Jul 2023 17:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64901 X-GNU-PR-Package: emacs Original-Received: via spool by 64901-submit@debbugs.gnu.org id=B64901.16905658996459 (code B ref 64901); Fri, 28 Jul 2023 17:39:02 +0000 Original-Received: (at 64901) by debbugs.gnu.org; 28 Jul 2023 17:38:19 +0000 Original-Received: from localhost ([127.0.0.1]:46081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qPRPv-0001g7-2Q for submit@debbugs.gnu.org; Fri, 28 Jul 2023 13:38:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qPRPs-0001fr-FF for 64901@debbugs.gnu.org; Fri, 28 Jul 2023 13:38:17 -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 1qPRPm-0007RL-H7; Fri, 28 Jul 2023 13:38:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Subject:To:From:Date:References:In-Reply-To: Mime-Version; bh=BDQ3HPhVohQdOCffa520prt066KDkMIIsd5T2qaG84s=; b=Wk83ywNnIjCQ HzwxNmvwmeKjryBKo8yont5T3wB4bleayvRp5HNw+//7mQxxAb6U0JEd+62qML8NOnq2OEVZWrlwA jWX6zqP4jt/R5B5NWq5lsPEWMd4EnZbmpcMhyrEmi9OWBMpER2eS4DH+HVh0dNRhzvgWIyYFbaTYk e1rJsaDcSglUEFP+1wxVZkF1gTtJh+gG/97dXp4tv6i/o11r+zb5S9ANUZ1pm67F+DPs4buO0FZaW 9K4tVizvE/gVhDLHcFtXX6trLfIsE3uUFjxUWvJP8EKEoQkwMDD9LLpMgZelWBejPc490RSSadbNT H3xYMmk6GZxsKYHvrDrWtw==; Original-Received: from auth1-smtp.messagingengine.com ([66.111.4.227]) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qPRPm-0008Ns-6g; Fri, 28 Jul 2023 13:38:10 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailauth.nyi.internal (Postfix) with ESMTP id 4E11627C0054; Fri, 28 Jul 2023 13:38:09 -0400 (EDT) Original-Received: from imap42 ([10.202.2.92]) by compute5.internal (MEProxy); Fri, 28 Jul 2023 13:38:09 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrieeigdduuddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtgfesthhqredtreerjeenucfhrhhomhepfdfl ohhhnhcuhghivghglhgvhidfuceojhhohhhnfiesghhnuhdrohhrgheqnecuggftrfgrth htvghrnhepveegieegvdfhgeegtdeikeetgfeutdffledvgeetkeeihfdujeeuvdeiteet fffhnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjh hohhhnfidomhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqieekjeektdelgeeg qddujeejheefkeduiedqjhhohhhnfieppehgnhhurdhorhhgsehnvgifrghrthhishgrnh hsrdgtohhm X-ME-Proxy: Feedback-ID: ib64945b7:Fastmail Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id 05FA0BC007C; Fri, 28 Jul 2023 13:38:09 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: <87a5vgou07.fsf@epfl.ch> 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:266292 Archived-At: I have no further notes to add, but I would like to see that restriction= lifted also. John On Fri, Jul 28, 2023, at 9:55 AM, Basil L. Contovounesios wrote: > Eli Zaretskii [2023-07-28 15:12 +0300] wrote: > >>> From: "Basil L. Contovounesios" >>> Cc: John Wiegley , 64901@debbugs.gnu.org, david@fia= nder.info >>> Date: Fri, 28 Jul 2023 11:28:35 +0200 >>>=20 >>> So (require 'bind-key) is currently needed for byte-compiling such >>> use-package keywords. >> >> I'd like us to remove that restriction (and the need for the >> workaround). > > It looks like a pretty pervasive restriction in bind-key.el: all of its > autoloads are macros, and all of them expand to reference non-autoload= ed > bind-key.el definitions. E.g. try byte-compiling (unbind-key "=F0=9F=92= =A5"). > > So I think the library was designed to be used with (require 'bind-key= ). > > Of course, I think it would be better to lift that restriction, so that > the library's autoloads are not redundant. But maybe John or a user of > bind-key.el should chime in. > > --=20 > Basil