Subject: Re: bug#15462: dbus-call-method-non-blocking loops forever

From: Michael Albinus <[email-masked]>
Date: Wed, 25 Sep 2013 21:14:56 +0200

Rob Browning <[email-masked]> writes:

>> Version: 24.2+1-1
>>
>> dbus-call-method-non-blocking loops forever waiting for a dbus message
>> that never arrives, unlike emacs23.
>>
>> The offending loop in dbus-call-method-non-blocking is
>>
>>     (while (eq (gethash key dbus-return-values-table :ignore) :ignore)
>>       (read-event nil nil 0.1))
>>
>> While the dbus message failure is ultimately a gnome issue, this
>> should fail more gracefully.

This piece of code has been changed:

revno: 108593
committer: Michael Albinus <[email-masked]>
branch nick: trunk
timestamp: Wed 2012-06-13 13:56:53 +0200
message:
  * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
  Otherwise, it blocks in batch mode.

That means, it should be solved in Emacs 24.3.

> Thanks

Best regards, Michael.