From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.devel Subject: Re: Ctrl-[ ? Date: Tue, 11 Jun 2019 11:36:31 -0400 Message-ID: <874l4w5e2o.fsf@md5i.com> References: <08AC8151-5911-40FA-8B20-818B839D00AB@traduction-libre.org> <6F55E018-B15E-42B0-8794-21F55BBA23D3@traduction-libre.org> <34E3289C-10EE-4A23-AEE4-80D984DB2EDE@gnu.org> <6A538FF9-94C8-491D-B1B9-5C0D09FE7C39@acm.org> <838suesw93.fsf@gnu.org> <3580dbb9-73a8-d26a-5466-5799e3726c34@gmail.com> <83tvd2rd8b.fsf@gnu.org> <83woht9ysw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="262969"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 11 17:52:04 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.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1haj48-0016GZ-28 for ged-emacs-devel@m.gmane.org; Tue, 11 Jun 2019 17:52:04 +0200 Original-Received: from localhost ([::1]:60428 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1haj46-0002Bo-GN for ged-emacs-devel@m.gmane.org; Tue, 11 Jun 2019 11:52:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32940) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1haipd-00042n-VY for emacs-devel@gnu.org; Tue, 11 Jun 2019 11:37:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1haipc-000765-Bn for emacs-devel@gnu.org; Tue, 11 Jun 2019 11:37:05 -0400 Original-Received: from md5i.com ([75.151.244.229]:54812) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1haipZ-0006gd-RY for emacs-devel@gnu.org; Tue, 11 Jun 2019 11:37:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=5PX4JffDrrjx4KEGVP1y/YTieo6b2Ddb1v2qbvLQ5rY=; b=Voe9mqBJD2mXpeGyoOzIEnY3hH mSw5rgxxeuqaVk3jxWJSMVr1MXTpcyyoC6ebhMuUK1mzu+JScwtCopJbilAtyHaYXXZo1wOkxsGK7 DgIySrJvFDrSH8jNbSzREK7pw; Original-Received: from md5i by md5i.com with local (Exim 4.92) (envelope-from ) id 1haip5-0003uY-H3 for emacs-devel@gnu.org; Tue, 11 Jun 2019 11:36:31 -0400 In-Reply-To: <83woht9ysw.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 10 Jun 2019 19:42:55 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 75.151.244.229 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:237434 Archived-At: Eli Zaretskii writes: >> From: Stefan Kangas >> Date: Mon, 10 Jun 2019 02:23:43 +0200 >> >> Would it make sense to show a warning when trying to bind keys such as >> C-[ or C-i? > > Most key bindings are done non-interactively, so how would such > warnings work in practice? > >> C-h k C-[ only shows "ESC- " when I try, though.) > > That's because the translation is in effect. > >> Would it make sense to introduce a variable to turn this behaviour off >> in a graphical environment? > > To turn off what behavior? Turn off the translation of C-[ to ESC, C-i to TAB, etc. Only really useful in graphical sessions, but I'd support such an option, though I'd never use it myself. To play devil's advocate, though, we wouldn't want this to lead to people producing public modes whose default keybindings depend on this translation not happening. Hmm... I may have just talked myself around to not wanting the option. -- Michael Welsh Duggan (md5i@md5i.com)