From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Ctrl-[ ? Date: Wed, 12 Jun 2019 14:22:45 +0200 Message-ID: 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> <874l4w5e2o.fsf@md5i.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="49024"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Michael Welsh Duggan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 12 14:41:43 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 1hb2ZT-000CYp-4p for ged-emacs-devel@m.gmane.org; Wed, 12 Jun 2019 14:41:43 +0200 Original-Received: from localhost ([::1]:59954 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hb2ZS-0005S0-5h for ged-emacs-devel@m.gmane.org; Wed, 12 Jun 2019 08:41:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49845) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hb2HL-0003R2-RR for emacs-devel@gnu.org; Wed, 12 Jun 2019 08:23:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hb2HK-000792-LO for emacs-devel@gnu.org; Wed, 12 Jun 2019 08:22:59 -0400 Original-Received: from mail-wm1-f41.google.com ([209.85.128.41]:55777) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hb2HK-00072x-9A for emacs-devel@gnu.org; Wed, 12 Jun 2019 08:22:58 -0400 Original-Received: by mail-wm1-f41.google.com with SMTP id a15so6341204wmj.5 for ; Wed, 12 Jun 2019 05:22:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JnVcgvhSNh36MjlnIs3wFrXilIVCikfGAcp9YJqyhb8=; b=V3yRg5M54Ozj8h1hhB3dAdnnxKoVJCoqshqHC3tTbfKiwVAAnLW4f2XzTjPOiLK8SB XCuhWqODcA3o6ZuF7qv75pcWvQ7wEdikrW0QDi9wpfQc7Om7Q/ow1COu2ltSNtcswwml rK1xJ2sJ0SLCDYsD+wYF5jDavjqI/tN0Sn+3YrqE85DJhKMeh6Ieg84dGqFNW5VHbQuJ Em0GecsIGIwTNzP3jWNq6bgJrAyTxw8JWtPfjuoNZN4ABB4Z5GuKSE0SdwHElvqzWK5K Bvb9LNPmXMtdv74YRiv54nIcSAe4kSwWxB+j6slXhKG74hnNYmMXM8yCr5JbLct3ITaj 6ahA== X-Gm-Message-State: APjAAAWIrhQ8gEp/utntneR8qAEwfKsITYqafHc8OMsWzu7wDWN3GuLR DVSyI1vcmfHrdZw56IcryZO0KzMhOZ23f0o7lTTxDXFL X-Google-Smtp-Source: APXvYqxFEUtnn4Aa9Fj5hV4NXnzHdp4bwCek5+bFJ6n1yb52tjQTdELyk4RrYb86IbdMIcpEqp7YS9cD2GadzdKbwyg= X-Received: by 2002:a1c:cb0c:: with SMTP id b12mr20874594wmg.93.1560342177186; Wed, 12 Jun 2019 05:22:57 -0700 (PDT) In-Reply-To: <874l4w5e2o.fsf@md5i.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.128.41 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:237451 Archived-At: Michael Welsh Duggan writes: >> 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. Yes, this would be the proposal. > 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. I suggested in a separate email that the byte compiler could warn when binding C-i or C-[ directly (as opposed to binding TAB or ESC). In my mind, that should be sufficiently discouraging for package authors while also allowing users to do this if they wish to do so. Would that sound more appealing to you? I'm not familiar with the byte compiler though, so I don't know how hard this is to do in practice. Thanks, Stefan Kangas