From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#12697: 24.2; Emacs crashes when using it as the commit editor for git Date: Mon, 22 Oct 2012 10:26:35 +0200 Message-ID: References: <87vce38tqp.fsf@matt-laptop.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1350894453 15838 80.91.229.3 (22 Oct 2012 08:27:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Oct 2012 08:27:33 +0000 (UTC) Cc: 12697@debbugs.gnu.org To: Matthew Leach Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 22 10:27:36 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TQDME-0000b7-TG for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Oct 2012 10:27:35 +0200 Original-Received: from localhost ([::1]:57481 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQDM4-000182-GH for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Oct 2012 04:27:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQDM1-00017x-LH for bug-gnu-emacs@gnu.org; Mon, 22 Oct 2012 04:27:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TQDLx-0000nu-MH for bug-gnu-emacs@gnu.org; Mon, 22 Oct 2012 04:27:21 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44700) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQDLx-0000ni-Iv for bug-gnu-emacs@gnu.org; Mon, 22 Oct 2012 04:27:17 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TQDNe-0005L8-Fi for bug-gnu-emacs@gnu.org; Mon, 22 Oct 2012 04:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Oct 2012 08:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12697 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12697-submit@debbugs.gnu.org id=B12697.135089451020461 (code B ref 12697); Mon, 22 Oct 2012 08:29:02 +0000 Original-Received: (at 12697) by debbugs.gnu.org; 22 Oct 2012 08:28:30 +0000 Original-Received: from localhost ([127.0.0.1]:54951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TQDN8-0005Jy-AM for submit@debbugs.gnu.org; Mon, 22 Oct 2012 04:28:30 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:38268) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TQDN4-0005Jl-P8 for 12697@debbugs.gnu.org; Mon, 22 Oct 2012 04:28:29 -0400 Original-Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3XlW6P4Sg8z3hhkk; Mon, 22 Oct 2012 10:26:36 +0200 (CEST) X-Auth-Info: EVddZ16dHa0fX1OYbq7pxx+kwP1iyse72Ii0KGYeWGY= Original-Received: from igel.home (ppp-93-104-136-111.dynamic.mnet-online.de [93.104.136.111]) by mail.mnet-online.de (Postfix) with ESMTPA id 3XlW6M6sKSzbbhq; Mon, 22 Oct 2012 10:26:35 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 501) id A4100CA2A4; Mon, 22 Oct 2012 10:26:35 +0200 (CEST) X-Yow: YOW!! The land of the rising SONY!! In-Reply-To: <87vce38tqp.fsf@matt-laptop.i-did-not-set--mail-host-address--so-tickle-me> (Matthew Leach's message of "Sun, 21 Oct 2012 21:17:50 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:65836 Archived-At: Matthew Leach writes: > When I use Emacs as the editor for commit messages in git, by way of > setting the EDITOR environment variable, i.e. "export EDITOR='emacs -nw > '" in my .bashrc, if I press C-g when Emacs opens this causes Emacs to C-g in emacs -nw is equivalent to SIGINT on the controlling terminal. This causes all processes in the same process group to receive SIGINT, which includes the parent git process, now that emacs no longer puts itself and the terminal into its own process group. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."