From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Standardizing more key bindings? Date: Thu, 01 Oct 2020 23:45:29 -0400 Message-ID: References: Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17077"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, dgutov@yandex.ru To: thibaut.verron@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 02 05:47:00 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 1kOC28-0004Iv-7P for ged-emacs-devel@m.gmane-mx.org; Fri, 02 Oct 2020 05:47:00 +0200 Original-Received: from localhost ([::1]:43850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOC27-0006Wh-97 for ged-emacs-devel@m.gmane-mx.org; Thu, 01 Oct 2020 23:46:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kOC0r-00061B-SV for emacs-devel@gnu.org; Thu, 01 Oct 2020 23:45:41 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39745) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kOC0q-0003Il-Fw; Thu, 01 Oct 2020 23:45:40 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1kOC0f-0002GX-0n; Thu, 01 Oct 2020 23:45:30 -0400 In-Reply-To: (message from Thibaut Verron on Wed, 30 Sep 2020 08:08:38 +0200) 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:256909 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > I applaud this initiative, but one of the steps would be to define > > common bindings to use in all "inferior" (REPL) modes, That is a good idea, but please let's call them "interpreter modes", to avoid misleading implications about how these languages work. > It doesn't have to be in the global-map, it could be a minor mode > activated by those major-modes or users that want it. The first question is, should thee bindings be conceptually global? I don't think so. To make them global means they conflict with a lot more other bindings, and that makes the task of choosing these bindings harder. It also means that the change would be a bigger incompatibility. Thus, I think we should plan on having these bindings only in the major modes that involve talking to an intepreter. How to _implement_ these bindings is another question. The easy way is for each major modes to establish the bindings in its major mode map. That is simple and coherent with the rest of Emacs. The idea of having one single keymap to implement them presumes that any given binding is implemented by the same command in all these modes. Is that true? I doubt it. -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)