delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/15/07:00:41

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Filipp Gunbin <fgunbin AT fastmail DOT fm>
Subject: Re: "emacs -nw" hangs in a terminal
Date: Tue, 15 May 2012 14:57:54 +0400
Lines: 52
Message-ID: <7r1umlyaml.fsf@ws796-of-spb.ru.yotateam.com>
References: <4fb0fa8e.rJrV+YAHilzqMHCX%cygwin AT jackson DOT io> <4FB10F7F DOT 3090209 AT cornell DOT edu>
Mime-Version: 1.0
User-Agent: Gnus/5.1299999999999999 (Gnus v5.13) Emacs/23.4 (cygwin)
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

Ken Brown <kbrown AT cornell DOT edu> writes:

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

I had the same problem (emacs-23 hangs) today after updating Cygwin
including GNOME libraries.

I tried emacs-24, but with no luck: after hitting `C-x C-f C-g' emacs
almost always dumps core.  I had to revert to emacs-23 for now (using
the workaround with emacs-nox, thanks for it!).

Sorry for the poor report, probably I could provide more details if
needed. In case it matters, I did full rebase (deleted db file and run
rebaseall) just before trying emacs-24.

-- 
Filipp Gunbin


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