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.devel Subject: Re: Ctrl-[ ? Date: Thu, 06 Jun 2019 13:12:15 +0300 Message-ID: <34E3289C-10EE-4A23-AEE4-80D984DB2EDE@gnu.org> References: <08AC8151-5911-40FA-8B20-818B839D00AB@traduction-libre.org> <6F55E018-B15E-42B0-8794-21F55BBA23D3@traduction-libre.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="172295"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: K-9 Mail for Android To: emacs-devel@gnu.org, Jean-Christophe Helary , Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 06 12:12:56 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hYpOC-000ifa-CJ for ged-emacs-devel@m.gmane.org; Thu, 06 Jun 2019 12:12:56 +0200 Original-Received: from localhost ([127.0.0.1]:57702 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYpOA-0000ZG-Ri for ged-emacs-devel@m.gmane.org; Thu, 06 Jun 2019 06:12:54 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49008) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYpNd-0000ZB-K1 for emacs-devel@gnu.org; Thu, 06 Jun 2019 06:12:22 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42659) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYpNc-0006ON-Di; Thu, 06 Jun 2019 06:12:20 -0400 Original-Received: from [176.12.242.238] (port=52884 helo=[10.163.53.17]) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1hYpNb-0001MK-1f; Thu, 06 Jun 2019 06:12:19 -0400 In-Reply-To: <6F55E018-B15E-42B0-8794-21F55BBA23D3@traduction-libre.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:237269 Archived-At: On June 6, 2019 10:26:28 AM GMT+03:00, Jean-Christophe Helary wrote: > I found on Stackoverflow that C-[ was pretty much hard-coded as ESC=2E > Why is that ? >=20 > https://superuser=2Ecom/questions/173851/linux-remap-ctrl-key >=20 > Also, there is no mention about that at all in the manual=2E=09 It isn't hardcoded in Emacs, it' "hardcoded" in the way the OS produces ch= aracter codes when you type keys on the keyboard=2E C-[ produces ESC for t= he same reason C-i produces TAB and C-j produces RET: these keys emit the s= ame codes as the corresponding Ctrl sequences=2E