delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/12/06/07:04:04

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.4 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,SPF_NEUTRAL,TW_YG
X-Spam-Check-By: sourceware.org
Message-ID: <50C08983.8000806@cornell.edu>
Date: Thu, 06 Dec 2012 07:03:15 -0500
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Updated: emacs*-24.2.90-1 (TEST)
References: <announce DOT 50BB4D0D DOT 7010204 AT cornell DOT edu> <loom DOT 20121203T102613-270 AT post DOT gmane DOT org> <loom DOT 20121206T085349-191 AT post DOT gmane DOT org>
In-Reply-To: <loom.20121206T085349-191@post.gmane.org>
X-PMX-CORNELL-SPAM-CHECKED: Pawpaw
X-Original-Sender: kbrown AT cornell DOT edu - Thu Dec 6 07:03:50 2012
X-PMX-CORNELL-REASON: CU_White_List_Override
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 12/6/2012 3:21 AM, Achim Gratz wrote:
>> Ken Brown <kbrown <at> cornell.edu> writes:
>>> Thanks to the efforts of Daniel Colascione, there is also a new package
>>>
>>> *** emacs-w32-24.2.90-1,
>>>
>>> again a test release, for users who want to use the native Windows GUI
>>> for display.
>
> I've encountered only one problem so far:
>
> If I start emacs-w32 from a mintty without launching dbus-daemon first and use
> any command that should bring up a dialog box, then Emacs hangs up hard and
> can't even be killed from Cygwin.  You have to end its misery from the task

emacs-w32 shouldn't require dbus-daemon, as far as I know.  This sounds 
like a bug.  Could you give me a specific recipe for reproducing the 
problem?  And it couldn't hurt to send cygcheck output also.

> manager (the Gtk build will also hang up on you in a slightly different way
> after you close the dialog box it has shown).  I believe this is related to pipe
> handling as you'll get messages about broken pipes sometimes.

Again, please send a recipe for producing the problem with the Gtk build.

> Anyway, since it's not obvious that and why emacs-w32 would need dbus to
> function I thought I should mention it here.  I would prefer if it was only
> needed for the Gtk build, otherwise I'll have to come up with a wrapper script
> that ensures dbus is started.

If it turns out to be necessary, which I doubt, you can simply put the 
following in your .bashrc (assuming you use bash as your shell):

if [ -z "$DBUS_SESSION_BUS_ADDRESS" ] ; then
     eval `dbus-launch --sh-syntax`
fi

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019