delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/10/25/12:55:22

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Date: Thu, 25 Oct 2012 18:54:54 +0200
From: Eli Zaretskii <eliz AT gnu DOT org>
Subject: Re: Emacs crashing on C-x C-g
In-reply-to: <50895454.3040406@redhat.com>
To: Eric Blake <eblake AT redhat DOT com>
Cc: cygwin AT cygwin DOT com
Reply-to: Eli Zaretskii <eliz AT gnu DOT org>
Message-id: <83sj92a3vl.fsf@gnu.org>
References: <5069E625 DOT 9050803 AT cs DOT utoronto DOT ca> <5069EA0D DOT 7080303 AT cornell DOT edu> <5069F83D DOT 5060502 AT cs DOT utoronto DOT ca> <5087E872 DOT 4070902 AT cs DOT utoronto DOT ca> <50885727 DOT 4050305 AT cornell DOT edu> <50885D17 DOT 9090101 AT cs DOT utoronto DOT ca> <50894F58 DOT 6050000 AT cornell DOT edu> <508952E5 DOT 70200 AT cs DOT utoronto DOT ca> <50895454 DOT 3040406 AT redhat DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

> Date: Thu, 25 Oct 2012 09:01:40 -0600
> From: Eric Blake <eblake AT redhat DOT com>
> 
> On 10/25/2012 08:55 AM, Ryan Johnson wrote:
> >>>>
> >>>>   http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12697
> >>>>
> >>>> I imagine it will be fixed before the release of Emacs 24.3.
> >>> Agree the initial part is emacs. But I suspect the confused bash
> >>> business is not. ^G should either send SIGINT or not, this core dump
> >>> thing is not cool.
> >>
> >> Do you know whether this is Cygwin-specific?  Have you checked to see
> >> what happens on Linux?
> > Oops, you're right: I see the exact same behavior on linux. However,
> > that's via ssh in a mintty window, so it could still be mintty. Can
> > somebody running Linux directly verify, perhaps?
> 
> Linux (at least my setup on Fedora 17) has the same problem - when using
> emacs as the editor under 'git commit', an ill-timed ctrl-G on my part
> unceremoniously kills emacs as a result of sending the SIGINT to the
> entire process group.  I hate the behavior, but it is definitely not
> cygwin-specific.

Why doesn't git block SIGINT when it invokes $EDITOR?  I think that's
the prudent thing to do.

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