X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0	tests=AWL,BAYES_00,SPF_NEUTRAL,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4C752F4F.60203@cornell.edu>
Date: Wed, 25 Aug 2010 10:57:19 -0400
From: Ken Brown <kbrown@cornell.edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Emacs and DBUS
References: <847hjvdyr9.fsf@aol.com> <4C667099.2020103@cornell.edu>	<87mxsj69st.fsf@gmx.de> <4C6C2D11.8020003@cornell.edu>	<87d3tf685q.fsf@gmx.de> <4C6C4BC8.9010400@cornell.edu>	<87lj7vokyt.fsf@gmx.de> <4C74648F.2030203@cornell.edu> <87d3t7nzez.fsf@gmx.de> <4C75226F.9030005@cornell.edu> <4C752AAB.9000304@cornell.edu>
In-Reply-To: <4C752AAB.9000304@cornell.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 8/25/2010 10:37 AM, Ken Brown wrote:
> On 8/25/2010 10:02 AM, Ken Brown wrote:
>>
>>
>> On 8/24/2010 11:28 PM, Michael Albinus wrote:
>>> Ken Brown  writes:
>>>
>>>>> After installing that library, Emacs did start. How ever, it blocks
>>>>> when loading dbus.el.
>>>>
>>>> Don't you normally have to start a D-BUS session before loading
>>>> dbus.el? Maybe one of the Cygwin people who uses D-BUS can tell us how
>>>> to do that.
>>>
>>> I've started the session bus via dbus-launch in advance, of course. I
>>> have no idea, how to start the system bus in cygwin, 'though.
>>
>> Run /usr/bin/messagebus-config and follow the instructions for
>> installing messagebus as a service.  You will need to be logged in as a
>> user with administrator privileges for this.
>>
>>> Emacs' D-Bus code shall be resistent in case of absence of a bus, but
>>> who knows ... how could I debug it via gdb?
>>
>> The executable /usr/bin/emacs-nox.exe is stripped; that's why you
>> couldn't debug it.  Here's a link to the unstripped version, with debug
>> symbols:
>>
>>      http://www.math.cornell.edu/~kbrown/emacs-nox.exe.bz2
>
> Hi Michael,
>
> The blocking you observed when dbus.el is loaded doesn't occur with a
> build from the Emacs trunk (r101187).

Correction: It occurs if and only if the system messagebus service is 
running.

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

