unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: David Fiander <david@fiander.info>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 64901@debbugs.gnu.org
Subject: bug#64901: 29.1; use-package fails to require bind-key at runtime in compiled files
Date: Thu, 27 Jul 2023 12:03:10 -0500	[thread overview]
Message-ID: <e8723fe3-389e-0242-0c85-bd02bb5f2415@fiander.info> (raw)
In-Reply-To: <83jzull2jp.fsf@gnu.org>

How very odd. I'm running on a pretty much vanilla 29.1RC build, and 
have confirmed this on both my main FreeBSD 13.2 machine and on Ubuntu 
LTS 22.04. Loading the source file works, but loading the complied file 
doesn't.

- David

On 2023-07-27 11:52, Eli Zaretskii wrote:
>> Date: Thu, 27 Jul 2023 09:51:35 -0500
>> From: David Fiander <david@fiander.info>
>>
>> Create a file called "bind-test.el" with the contents:
>> ---
>> (use-package dired
>>       :bind ("C-c d" . dired-at-point))
>> ---
>>
>> Compile this file.
>>
>> Run emacs -Q and then
>>
>>       (load-file "bind-test.elc")
>>
>> See the error message
>> The error message
>>
>>       ⛔ Error (use-package): dired/:catch: Symbol’s value as variable is
>> void: personal-keybindings
>>
>> appears.
> 
> I cannot reproduce this.  I get no errors, and the binding in :bind is
> performed.





  reply	other threads:[~2023-07-27 17:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-27 14:51 bug#64901: 29.1; use-package fails to require bind-key at runtime in compiled files David Fiander
2023-07-27 16:52 ` Eli Zaretskii
2023-07-27 17:03   ` David Fiander [this message]
2023-07-27 17:12     ` Eli Zaretskii
2023-07-28  6:56       ` Eli Zaretskii
2023-07-28  9:28         ` Basil L. Contovounesios via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-28 12:12           ` Eli Zaretskii
2023-07-28 16:55             ` Basil L. Contovounesios via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-28 17:37               ` John Wiegley
2023-07-29  7:52                 ` Eli Zaretskii
2023-08-01 21:37                   ` John Wiegley
2023-08-03  8:59                     ` Eli Zaretskii
2023-08-03 22:16                       ` John Wiegley
2023-08-04  6:43                         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e8723fe3-389e-0242-0c85-bd02bb5f2415@fiander.info \
    --to=david@fiander.info \
    --cc=64901@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).