From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: not good proposal: "C-z " reserved for users Date: Sat, 13 Feb 2021 09:12:55 +0200 Message-ID: <83pn14e8zs.fsf@gnu.org> References: <87r1llsuxq.fsf@robertthorpeconsulting.com> <0e37cf97-b9ee-e3af-16e3-3a312c47e75f@yandex.ru> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2436"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gregory@heytings.org, rt@robertthorpeconsulting.com, help-gnu-emacs@gnu.org, dgutov@yandex.ru To: Jean Louis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 13 08:13:49 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lAp7l-0000Z6-7H for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 13 Feb 2021 08:13:49 +0100 Original-Received: from localhost ([::1]:38482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAp7k-0005kf-9e for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 13 Feb 2021 02:13:48 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAp71-0005jr-EF for help-gnu-emacs@gnu.org; Sat, 13 Feb 2021 02:13:03 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44643) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAp6z-0000Xx-AE; Sat, 13 Feb 2021 02:13:01 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3072 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lAp6x-0007uS-Ch; Sat, 13 Feb 2021 02:13:00 -0500 In-Reply-To: (message from Jean Louis on Fri, 12 Feb 2021 23:26:26 +0300) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:127906 Archived-At: > Date: Fri, 12 Feb 2021 23:26:26 +0300 > From: Jean Louis > Cc: Gregory Heytings , > Robert Thorpe , help-gnu-emacs@gnu.org > > So Emacs could decide to ignore the shell job control C-z in Emacs doesn't invoke job control, it invokes an Emacs command that _emulates_ job control by sending the SIGTSTP signal to the Emacs process (if the underlying platform supports suspending; otherwise it invokes a subsidiary shell). The "real" job control is disabled when you enter Emacs, by virtue of the keyboard input setup Emacs does at startup. So please don't assume C-z is some shell job control magic; it isn't. This is Emacs emulating that magic, because we decided long ago to do that. Arguing that Emacs does it because the underlying shell does it is therefore counter-productive.