Subject: Re: bug#62018: 30.0.50; (require 'dbus) hangs in batch mode when called through execute-kbd-macro
From: Michael Albinus <[email-masked]>
To: Spencer Baugh <[email-masked]>
Cc: [email-masked]
Date: Wed, 29 Mar 2023 20:48:11 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 30.1

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.

Thanks for the feedback, I'm closing the bug.

Thank you!