From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii 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 22:22:55 +0200 Message-ID: <83bofucl40.fsf@gnu.org> References: <87vce38tqp.fsf@matt-laptop.i-did-not-set--mail-host-address--so-tickle-me> <83k3uictso.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1350937461 23753 80.91.229.3 (22 Oct 2012 20:24:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Oct 2012 20:24:21 +0000 (UTC) Cc: matthew@mattleach.net, 12697@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 22 22:24:29 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 1TQOXy-0002yp-2h for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Oct 2012 22:24:26 +0200 Original-Received: from localhost ([::1]:36644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQOXq-0000ja-I4 for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Oct 2012 16:24:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51201) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQOXn-0000jM-IE for bug-gnu-emacs@gnu.org; Mon, 22 Oct 2012 16:24:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TQOXm-0006Lf-K2 for bug-gnu-emacs@gnu.org; Mon, 22 Oct 2012 16:24:15 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQOXm-0006Lb-Fe for bug-gnu-emacs@gnu.org; Mon, 22 Oct 2012 16:24:14 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TQOZW-0005CW-GZ for bug-gnu-emacs@gnu.org; Mon, 22 Oct 2012 16:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Oct 2012 20:26: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.135093750819905 (code B ref 12697); Mon, 22 Oct 2012 20:26:02 +0000 Original-Received: (at 12697) by debbugs.gnu.org; 22 Oct 2012 20:25:08 +0000 Original-Received: from localhost ([127.0.0.1]:56289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TQOYd-0005B0-Mm for submit@debbugs.gnu.org; Mon, 22 Oct 2012 16:25:08 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:39774) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TQOYZ-0005AA-Sm for 12697@debbugs.gnu.org; Mon, 22 Oct 2012 16:25:05 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MCB00L009UUEH00@a-mtaout23.012.net.il> for 12697@debbugs.gnu.org; Mon, 22 Oct 2012 22:22:59 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MCB00LFB9YA56A0@a-mtaout23.012.net.il>; Mon, 22 Oct 2012 22:22:59 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il 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:65869 Archived-At: > From: Andreas Schwab > Cc: matthew@mattleach.net, 12697@debbugs.gnu.org > Date: Mon, 22 Oct 2012 19:39:55 +0200 > > >> now that emacs no longer puts itself and the terminal into its own > >> process group. > > > > Did we have good reason to stop doing that? > > IMHO no. All the BSD_PGRPS stuff was removed on the premise that it > wasn't used any more, but disabling BSD_PGRPS in s/gnu-linux.h was > already questionable. Come think about it, why not stop depending on SIGINT for quitting? We already do that in GUI session (AFAIU), so why should TTY frames be different? We could just detect C-g in the SIGIO handler, no? If this makes sense, then this whole issue would go away. Of course, we will then lose the "emergency exit" feature, but since core dumps are reportedly disabled on many systems anyway, that doesn't sound like too much of a loss, and GUI sessions already cannot use it anyway.