X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-5.5 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
Message-ID: <5089718A.6020709@gmail.com>
Date: Thu, 25 Oct 2012 13:06:18 -0400
From: ping <songpingemail@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Emacs crashing on C-x C-g
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> <83sj92a3vl.fsf@gnu.org>
In-Reply-To: <83sj92a3vl.fsf@gnu.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

On 10/25/2012 12:54 PM, Eli Zaretskii wrote:
>> 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
>
the simplest solution: change to vim.
I don't know of any extra benefit using emacs instead of vim...

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

