delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/14/09:58:54

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,SPF_NEUTRAL,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4FB10F7F.3090209@cornell.edu>
Date: Mon, 14 May 2012 09:58:23 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: "emacs -nw" hangs in a terminal
References: <4fb0fa8e.rJrV+YAHilzqMHCX%cygwin AT jackson DOT io>
In-Reply-To: <4fb0fa8e.rJrV+YAHilzqMHCX%cygwin@jackson.io>
X-PMX-CORNELL-SPAM-CHECKED: Pawpaw
X-Original-Sender: kbrown AT cornell DOT edu - Mon May 14 09:58:30 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 5/14/2012 8:29 AM, Ken Jackson wrote:
> Recently, emacs in a terminal started hanging:
>
>    /usr/bin/emacs -nw --no-init-file --no-site-file
>
> I had to kill it from another terminal window.
>
> But I noticed /usr/bin/emacs points through alternatives to
> /usr/bin/emacs-X11, so I started calling  /usr/bin/emacs-nox
> directly.  (Actually I modified my emn script.)  This solves
> the problem for me.
>
> But "emacs -nw" has worked forever until very recently.

This is a known problem with emacs-23 and glib >= 2.31:

   http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9754

I guess the problem just showed up on Cygwin a few days ago because of 
the recent update of the GNOME libraries.  And I didn't notice it myself 
because I've been using emacs-24, which doesn't have the problem.

I'll prepare an update ASAP with a fix.  In the meantime, you can 
continue with your workaround of calling emacs-nox.exe directly, or you 
can try the test version of emacs-24 that's available via setup.exe. The 
latter would be appreciated; emacs-24.1 is going to be released fairly 
soon, and it would be nice to have some Cygwin users test it.

Thanks for the report.

Ken Brown
Cygwin's emacs maintainer


--
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