[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#64901: 29.1; use-package fails to require bind-key at runtime in com
From: |
Eli Zaretskii |
Subject: |
bug#64901: 29.1; use-package fails to require bind-key at runtime in compiled files |
Date: |
Fri, 28 Jul 2023 15:12:34 +0300 |
> From: "Basil L. Contovounesios" <contovob@tcd.ie>
> Cc: John Wiegley <johnw@gnu.org>, 64901@debbugs.gnu.org, david@fiander.info
> Date: Fri, 28 Jul 2023 11:28:35 +0200
>
> Eli Zaretskii [2023-07-28 09:56 +0300] wrote:
>
> I'm not John, but macroexpanding the use-package call (specifically the
> subexpression that calls the autoloaded bind-keys macro) reveals that it
> indeed refers to the bind-key.el variable personal-keybindings.
>
> My guess is that bind-key.el is loaded as expected for the autoloaded
> macro call during interpretation/compilation, but once macroexpanded,
> there is nothing left to load bind-key.el at runtime.
>
> So (require 'bind-key) is currently needed for byte-compiling such
> use-package keywords.
Thanks.
I'd like us to remove that restriction (and the need for the
workaround).
- bug#64901: 29.1; use-package fails to require bind-key at runtime in compiled files, David Fiander, 2023/07/27
- bug#64901: 29.1; use-package fails to require bind-key at runtime in compiled files, Eli Zaretskii, 2023/07/27
- bug#64901: 29.1; use-package fails to require bind-key at runtime in compiled files, David Fiander, 2023/07/27
- bug#64901: 29.1; use-package fails to require bind-key at runtime in compiled files, Eli Zaretskii, 2023/07/27
- bug#64901: 29.1; use-package fails to require bind-key at runtime in compiled files, Eli Zaretskii, 2023/07/28
- bug#64901: 29.1; use-package fails to require bind-key at runtime in compiled files, Basil L. Contovounesios, 2023/07/28
- bug#64901: 29.1; use-package fails to require bind-key at runtime in compiled files,
Eli Zaretskii <=
- bug#64901: 29.1; use-package fails to require bind-key at runtime in compiled files, Basil L. Contovounesios, 2023/07/28
- bug#64901: 29.1; use-package fails to require bind-key at runtime in compiled files, John Wiegley, 2023/07/28
- bug#64901: 29.1; use-package fails to require bind-key at runtime in compiled files, Eli Zaretskii, 2023/07/29