all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Spencer Baugh <sbaugh@janestreet.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 62018@debbugs.gnu.org
Subject: bug#62018: 30.0.50; (require 'dbus) hangs in batch mode when called through execute-kbd-macro
Date: Wed, 29 Mar 2023 14:45:59 -0400	[thread overview]
Message-ID: <ierr0t7pfa0.fsf@janestreet.com> (raw)
In-Reply-To: <87y1nfejde.fsf@gmx.de> (Michael Albinus's message of "Wed, 29 Mar 2023 16:13:01 +0200")

Michael Albinus <michael.albinus@gmx.de> writes:
> Spencer Baugh <sbaugh@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.

Thank you!





  reply	other threads:[~2023-03-29 18:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-06 23:45 bug#62018: 30.0.50; (require 'dbus) hangs in batch mode when called through execute-kbd-macro Spencer Baugh
2023-03-29 14:13 ` Michael Albinus
2023-03-29 18:45   ` Spencer Baugh [this message]
     [not found]   ` <ierwn2zpfav.fsf@janestreet.com>
2023-03-29 18:48     ` Michael Albinus

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

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

  git send-email \
    --in-reply-to=ierr0t7pfa0.fsf@janestreet.com \
    --to=sbaugh@janestreet.com \
    --cc=62018@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.