From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help Subject: Re: Is Elisp really that slow? Date: Fri, 24 May 2019 15:40:50 +0100 Message-ID: <87o93rdifh.fsf@robertthorpeconsulting.com> References: <87zhncsrfn.fsf@mail.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="235814"; mail-complaints-to="usenet@blaine.gmane.org" Cc: help-gnu-emacs@gnu.org To: Stefan Huchler Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 24 16:42:11 2019 Return-path: Envelope-to: geh-help-gnu-emacs@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 1hUBOd-000zFX-3X for geh-help-gnu-emacs@m.gmane.org; Fri, 24 May 2019 16:42:11 +0200 Original-Received: from localhost ([127.0.0.1]:55693 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUBOc-000539-3B for geh-help-gnu-emacs@m.gmane.org; Fri, 24 May 2019 10:42:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUBNV-0004Ri-Vl for help-gnu-emacs@gnu.org; Fri, 24 May 2019 10:41:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUBNU-0008Ru-P9 for help-gnu-emacs@gnu.org; Fri, 24 May 2019 10:41:01 -0400 Original-Received: from outbound-smtp12.blacknight.com ([46.22.139.17]:41446) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hUBNU-0008Mr-JI for help-gnu-emacs@gnu.org; Fri, 24 May 2019 10:41:00 -0400 Original-Received: from mail.blacknight.com (pemlinmail01.blacknight.ie [81.17.254.10]) by outbound-smtp12.blacknight.com (Postfix) with ESMTPS id B7E8B1C2972 for ; Fri, 24 May 2019 15:40:51 +0100 (IST) Original-Received: (qmail 13197 invoked from network); 24 May 2019 14:40:51 -0000 Original-Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[51.37.107.198]) by 81.17.254.9 with ESMTPSA (AES128-SHA encrypted, authenticated); 24 May 2019 14:40:51 -0000 In-Reply-To: <87zhncsrfn.fsf@mail.de> (message from Stefan Huchler on Fri, 24 May 2019 01:05:00 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 46.22.139.17 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:120619 Archived-At: Stefan Huchler writes: > > You barely find a mode that has both defined. C-c c and C-c C-c. You don't understand my point. You should not be able to find *any* mode that defines C-c c. That's because C-c c is in the *users* range of keybindings. All keybindings of the form "C-c something" are reserved for setting by the user. Let's say you have a command that doesn't have a key. You want to assign it to a key. You're supposed to use a keybinding beginning with C-c and then an alphabetic key afterwards (e.g. C-c a C-c w C-c p, etc). It's the same if you write your own elisp command and want to assign that to a key. Many users assign lots of of their own keys. See: (info "(elisp) Key Binding Conventions"). The problem with your plan is that the effect it would have on this. Either the user key-range would disappear or it would become very clumsy to use. I think the ability to define your own keys is an essential feature of Emacs. BR, Robert Thorpe