Subject: Re: bug#62018: 30.0.50; (require 'dbus) hangs in batch mode when called through execute-kbd-macro

From: Spencer Baugh <[email-masked]>
Date: Wed, 29 Mar 2023 14:45:59 -0400

Michael Albinus <[email-masked]> writes:
> Spencer Baugh <[email-masked]> writes:
>
> Hi Spencer,
>
>> 1. emacs --batch --eval '(execute-kbd-macro (read-kbd-macro "M-:
>> (require SPC (quote SPC dbus)) RET"))'
>> 2. Observe that it hangs forever.
>>
>> Note that this doesn't need to be direct; running any command through
>> execute-kbd-macro which eventually loads dbus will hang indefinitely.
>> (battery), for example.
>
> Thanks for the report, I've pushed a fix to master. Could you, please, check?

That change fixes my minimal reproducer (sent in the initial email) and
also fixes my larger test framework based on execute-kbd-macro.

Thank you!