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: Thu, 23 May 2019 21:01:47 +0100 Message-ID: <87sgt59bys.fsf@robertthorpeconsulting.com> References: <87h89qtquc.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="24503"; 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 Thu May 23 22:07:52 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 1hTu0F-0006CI-VN for geh-help-gnu-emacs@m.gmane.org; Thu, 23 May 2019 22:07:52 +0200 Original-Received: from localhost ([127.0.0.1]:42662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hTu0E-0003NA-Nw for geh-help-gnu-emacs@m.gmane.org; Thu, 23 May 2019 16:07:50 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hTtw8-0000HL-7Q for help-gnu-emacs@gnu.org; Thu, 23 May 2019 16:03:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hTtuW-00066k-H3 for help-gnu-emacs@gnu.org; Thu, 23 May 2019 16:01:58 -0400 Original-Received: from outbound-smtp04.blacknight.com ([81.17.249.35]:55647) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hTtuV-0005xu-FY for help-gnu-emacs@gnu.org; Thu, 23 May 2019 16:01:55 -0400 Original-Received: from mail.blacknight.com (pemlinmail03.blacknight.ie [81.17.254.16]) by outbound-smtp04.blacknight.com (Postfix) with ESMTPS id C1B3498C17 for ; Thu, 23 May 2019 20:01:47 +0000 (UTC) Original-Received: (qmail 20542 invoked from network); 23 May 2019 20:01:47 -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); 23 May 2019 20:01:47 -0000 In-Reply-To: <87h89qtquc.fsf@mail.de> (message from Stefan Huchler on Sun, 19 May 2019 17:18:51 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.35 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:120588 Archived-At: Stefan Huchler writes: > But the main problem is not the char you use but that you have to hold > this modifiers, which "reduces ergonomics" as compromise I would also > be ok with having some sort of sticky keys? and you press once Ctrl > release then press c c. > > But this is not even a optional feature in emacs: > https://www.emacswiki.org/emacs/StickyModifiers In Emacs sticky keys aren't so simple. The one you give is a fairly good example. The keybindings of the form "C-c C-something" are used by the current mode. So, C-mode enables "C-c C-c", for example. The bindings of the form "C-c something" are for the user to define. Where the "something" isn't control, of course. How is this to work with sticky key? Does the user have to press ctrl then c and then ctrl again to switch off the stickiness before pressing c the second time? A timeout could also be used, but that brings it's own problems. BR, Robert Thorpe