From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: poor handling of multiple C-g with multi-tty (apparent hangs) Date: Mon, 11 Aug 2008 18:00:48 -0400 Message-ID: <873albfbzj.fsf@stupidchicken.com> References: <87tzdr4fh6.fsf@stupidchicken.com> <200808111856.m7BIumO3019150@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1218492037 21210 80.91.229.12 (11 Aug 2008 22:00:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Aug 2008 22:00:37 +0000 (UTC) Cc: Ami Fischman , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 12 00:01:28 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KSfSA-0003Cx-EL for ged-emacs-devel@m.gmane.org; Tue, 12 Aug 2008 00:01:26 +0200 Original-Received: from localhost ([127.0.0.1]:43264 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSfRE-0006Tl-I8 for ged-emacs-devel@m.gmane.org; Mon, 11 Aug 2008 18:00:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSfRA-0006SA-PQ for emacs-devel@gnu.org; Mon, 11 Aug 2008 18:00:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSfR8-0006QE-V6 for emacs-devel@gnu.org; Mon, 11 Aug 2008 18:00:24 -0400 Original-Received: from [199.232.76.173] (port=41861 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSfR8-0006Q4-QZ for emacs-devel@gnu.org; Mon, 11 Aug 2008 18:00:22 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:48004 helo=cyd) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KSfR8-00067Z-GH for emacs-devel@gnu.org; Mon, 11 Aug 2008 18:00:22 -0400 Original-Received: by cyd (Postfix, from userid 1000) id 31DD257E2B5; Mon, 11 Aug 2008 18:00:48 -0400 (EDT) In-Reply-To: <200808111856.m7BIumO3019150@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Mon, 11 Aug 2008 11:56:48 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:102303 Archived-At: Dan Nicolaescu writes: > > This implies that we should disable the emergency C-g if Emacs is > > running on more than one terminal, as in the following patch. > > Does this do TRT given this scenario: > > ssh into a machine > enacs -nw -f server-start > > then go to the console of that machine and do: > > emacsclient -t > > assume there's no other console and no other network connection. If > emacs gets stuck, can you still do C-g ? No, and that's a problem. But OTOH, I don't see how we can distinguish between the two cases. Any suggestions?