emacs-23.2-3 and DBus

Ken Brown kbrown@cornell.edu
Fri Oct 8 14:28:00 GMT 2010


On 10/8/2010 8:00 AM, Michael Albinus wrote:
> Ken Brown  writes:
>
>>> Yep. Reading the code, I have the feeling, that the following patch
>>> should help:
>> [...]
>>
>> No, I still get the freeze if I load dbus and the system bus isn't running.
>
> That's strange. Today, I could test under cygwin. I've recompiled the
> sources from the emacs-23 branch, and I could reproduce the
> problem. After applying the patch, Emacs didn't freeze anymore. What's
> the difference to your environment?
>
> I have applied the patch, slightly modified, to the emacs-23
> branch; it makes sense anyway. Could you, please, check it again?

You're right.  I was too impatient yesterday.  What I thought was the 
familiar freeze turns out to be just a delay of several seconds after 
pressing a key before I see a response.  But emacs is still not usable 
that way.  So I think the bottom line is that, at least under Cygwin, 
users should make sure the system bus is running before loading dbus.el. 
  As a practical matter, I would think most D-BUS users would just have 
the messagebus service started automatically, so that this wouldn't be 
an issue; that's what happens by default once you run 
/usr/bin/messagebus-config.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list