X-Recipient: archive-cygwin@delorie.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@gnu.org>
Subject: Re: Emacs crashing on C-x C-g
In-reply-to: <50895454.3040406@redhat.com>
To: Eric Blake <eblake@redhat.com>
Cc: cygwin@cygwin.com
Reply-to: Eli Zaretskii <eliz@gnu.org>
Message-id: <83sj92a3vl.fsf@gnu.org>
References: <5069E625.9050803@cs.utoronto.ca> <5069EA0D.7080303@cornell.edu> <5069F83D.5060502@cs.utoronto.ca> <5087E872.4070902@cs.utoronto.ca> <50885727.4050305@cornell.edu> <50885D17.9090101@cs.utoronto.ca> <50894F58.6050000@cornell.edu> <508952E5.70200@cs.utoronto.ca> <50895454.3040406@redhat.com>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

> Date: Thu, 25 Oct 2012 09:01:40 -0600
> From: Eric Blake <eblake@redhat.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

