From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Ctrl-[ ? Date: Fri, 07 Jun 2019 17:20:25 +0300 Message-ID: <8336klqxxy.fsf@gnu.org> References: <08AC8151-5911-40FA-8B20-818B839D00AB@traduction-libre.org> <86h892nk2g.fsf@zoho.eu> <9379C01B-80E3-49DD-B830-46CED773DC2C@traduction-libre.org> <83lfydrkde.fsf@gnu.org> <874l51q0s4.fsf@telefonica.net> <83ef45rdij.fsf@gnu.org> <87zhmto6fa.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="105568"; mail-complaints-to="usenet@blaine.gmane.org" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 07 17:53:57 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hZHBl-000RIa-Kz for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Jun 2019 17:53:57 +0200 Original-Received: from localhost ([::1]:49032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hZHBk-0002iS-HI for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Jun 2019 11:53:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54499) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hZFjX-0005dn-Ar for help-gnu-emacs@gnu.org; Fri, 07 Jun 2019 10:20:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hZFjW-0007JK-HC for help-gnu-emacs@gnu.org; Fri, 07 Jun 2019 10:20:43 -0400 Original-Received: from [176.228.60.248] (port=2568 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hZFjR-0003sI-IH for help-gnu-emacs@gnu.org; Fri, 07 Jun 2019 10:20:40 -0400 In-reply-to: <87zhmto6fa.fsf@telefonica.net> (message from =?iso-8859-1?Q?=D3scar?= Fuentes on Fri, 07 Jun 2019 15:45:29 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:120806 Archived-At: > From: Óscar Fuentes > Date: Fri, 07 Jun 2019 15:45:29 +0200 > > Eli Zaretskii writes: > > >> There is no reason whatsoever to disallow binding C-[ on GUI Emacs > >> the same way you can bind any other key. > > > > My understanding of what Stefan wrote was that this is NOT disallowed. > > The key phrase is "the same way you can bind any other key." Stefan's > suggestion does not comply with that. For me, the key part was "disallowed". > > There's no reason to chastise me, > > I'm no one to chastise anyone. Sometimes I'm a bit too dry. This is one of those times, I guess. > One thing that I'll like to know is why the hard restriction about > C-[/C-i exists at all. That was already explained: the reason is history and the desire to have identical behavior by default on all frame types. > It is understandable that the default bindings mimic what you get on > the terminal, but forcing the user to jump through hoops to rebind > those keys helps no one. I don't see how we can avoid jumping through hoops when the text terminal produces an ASCII key code whereas a GUI terminal doesn't. I invite you to read keyboard.c and keymap.c, where you will find a few more "accidents" like this.