From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Opening Up More Keymaps Re: Standardizing more key bindings? Date: Wed, 30 Sep 2020 20:12:43 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35021"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel , Dmitry Gutov , "T.V Raman" To: Thibaut Verron Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 30 20:14:30 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kNgcX-000905-Uh for ged-emacs-devel@m.gmane-mx.org; Wed, 30 Sep 2020 20:14:29 +0200 Original-Received: from localhost ([::1]:33772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNgcU-0003g0-7b for ged-emacs-devel@m.gmane-mx.org; Wed, 30 Sep 2020 14:14:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNgaw-0002hm-FJ for emacs-devel@gnu.org; Wed, 30 Sep 2020 14:12:50 -0400 Original-Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:42172) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kNgau-00071o-Mv for emacs-devel@gnu.org; Wed, 30 Sep 2020 14:12:50 -0400 Original-Received: by mail-wr1-x42c.google.com with SMTP id c18so2828974wrm.9 for ; Wed, 30 Sep 2020 11:12:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=v1F+mB41s8LYRh3+EIZja2kNm7nbpU9JZaf4cNHLYy0=; b=NPTSZ/n0XtcgQf0/+llg9Vm6lUPu25SCJUYHU0SWHm10re0xPFHsXssuMpkP6Q/mBF zPyZAAnWmPUmkJOE7Z45Qa4Dln0bJBhQ8XEbkUrvOtjESalcOam8o+gBWvcAEd5K7ktr 55ujA5fYPkqt5dEDHMgxwk7pNaGwHIkI5oXR4p9VrvFI0yuHoqTESEZAH25Afdk+YlRh Hv96amPAajW2F8vB/orRZiV43kY/WhuCQHHCM8LSnGA+ttT1oHaEtxK41rFuReL4HfY8 lP7IGKMExw2YWkYntPqRObEJnUZhxo5LTre7scImwHcemTcClHmS0TBHEjKhd+PzUzba 2xAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=v1F+mB41s8LYRh3+EIZja2kNm7nbpU9JZaf4cNHLYy0=; b=nJE0sEUBd55KtbByTBPbYMXLtmVvkrApdoNefDN0/87mCE9OmPltv8Q/NfhBHp8074 k4+TaCJJVxW5WjSvMhyZ8DQ0W8M6bSmcbbZsRkHMHieXpYyPd24pDhEoUQ24WcRi8Eq1 ED7/nF5AEZnbKSeUAR4guWh93GvEXBP/y0rTqzeuoLECFpKZFuN3cdhw4/tYlQ/gVYS7 ylCNwfxRvy1cFuuWhv0CmNZR/XK3gPgcxYlO0qmnMtqtWfQ8Q1uKyrCWTOm7sKoOczbH lXdNqxA+i7AVJq4/OD5RZgSP5Mhg1uVYvbeqIZ7K1F/kfVXCgVR7ohndZCFStmVgZDFX nayg== X-Gm-Message-State: AOAM532EpLHzMEJkf++kk/QUFDLEhF2n7Yd85eMMUGmqcwJp97hzrsO+ L3gr1C6EIvvftahk0m0WQNI= X-Google-Smtp-Source: ABdhPJzil0fOD5USmTRhaUCD4/bA+pII5Il59p0qFCDR83pcxr46zW5143RlZyH1Npn8hWjmOTDJLA== X-Received: by 2002:adf:fd90:: with SMTP id d16mr4498249wrr.52.1601489565452; Wed, 30 Sep 2020 11:12:45 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:215c:b811:c438:6af7]) by smtp.gmail.com with ESMTPSA id y207sm4208176wmc.17.2020.09.30.11.12.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Sep 2020 11:12:44 -0700 (PDT) Gmane-Reply-To-List: yes In-Reply-To: (Thibaut Verron's message of "Wed, 30 Sep 2020 19:29:12 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=rpluim@gmail.com; helo=mail-wr1-x42c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:256785 Archived-At: >>>>> On Wed, 30 Sep 2020 19:29:12 +0200, Thibaut Verron said: Thibaut> Le mer. 30 sept. 2020 =C3=A0 18:58, T.V Raman a =C3=A9crit : >>=20 >>=20 >> Almost as courageous as Lars' request to change line-length limits >> (hopefully not quite as controversial) >>=20 >> Perhaps it's time we opened up some additional keymaps so that we can >> experiment with keybindings without causing too much trouble for >> long-term users. Thibaut> I don't understand the purpose. Would those new keymaps be for= temporary, Thibaut> experimental, bindings, to be later moved to a better position= ? Or would Thibaut> they be meant to be eventually used by default? This is an important question that needs an answer. >>=20 >> Proposal: >>=20 >> 1. C-z as a prefix --- at present c-z runs suspend-frame under X, = and >> suspends Emacs on the console. >>=20 >> Perhaps turn C-z into a new prefix key, and bind the above commands >> to C-z z -- that gives us a whole new keymap to play with for the >> future. Thibaut> I personally like to have C-z free. I use it when I need to pa= ss keypresses Thibaut> to applications without caring about Emacs missing them. For i= nstance my Thibaut> Screen prefix key is C-z. Suspend-frame is bound to C-x C-z (w= hich makes Thibaut> sense to me with the other C-x bindings). So I would immediate= ly undo such Thibaut> a change in my configuration. As would I, but for a different reason: I put CTRL under my left thumb, so C-z is a very convenient prefix for stuff I do all the time. Thibaut> More importantly, C-z suspending the terminal application is a= common Thibaut> binding. One could argue that we have enough trouble with non-= standard Thibaut> bindings in Emacs not to add more now. Thibaut> Maybe this behaviour could be preserved in non-GUI interfaces = and the Thibaut> (hypothetical) C-z key reserved for commands which only make s= ense in a Thibaut> graphical setting? I cannot think of a single such command at = the moment, Thibaut> though. I strongly dislike differences in keybindings between gui and non-gui. Just look at all the questions that come up about org-mode because some of its commonly used keybindings don=CA=BCt work in a terminal. >>=20 >> 2. F2 is currently taken up by 2c (2column support) and perhaps it's >> time to recover that key, I suspect 2c is not as heavily used to >> justify a common key like F2, and it would still have C-x6 >> dedicated to it if we take F2 away from it. >>=20 Thibaut> I just tried -s to see what it is about, now my Emacs is f= rozen (100% Thibaut> CPU). As far as I'm concerned this key can (and will) die tomo= rrow. :) I=CA=BCve never used two column mode, it would be nice to have F2 bound to some useful functions. I=CA=BCm not sure what TV had in mind here. Robert --=20