GNU bug report logs - #62018
30.0.50; (require 'dbus) hangs in batch mode when called through execute-kbd-macro

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> janestreet.com>

Date: Mon, 6 Mar 2023 23:46:01 UTC

Severity: normal

Found in version 30.0.50

Fixed in version 30.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 62018-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Spencer Baugh <sbaugh <at> janestreet.com>
Cc: 62018-done <at> debbugs.gnu.org
Subject: Re: bug#62018: 30.0.50; (require 'dbus) hangs in batch mode when
 called through execute-kbd-macro
Date: Wed, 29 Mar 2023 20:48:11 +0200
Version: 30.1

Spencer Baugh <sbaugh <at> janestreet.com> 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!




This bug report was last modified 2 years and 55 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.