From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: repeatable vs. non-repeatable commands Date: Sat, 24 Jun 2017 12:22:33 +0200 Message-ID: <86h8z5y9au.fsf@zoho.com> References: <8760floqo9.fsf@drachen> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1498299797 15668 195.159.176.226 (24 Jun 2017 10:23:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 24 Jun 2017 10:23:17 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 24 12:23:12 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dOiDg-0003lM-8Y for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Jun 2017 12:23:12 +0200 Original-Received: from localhost ([::1]:38809 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dOiDl-0004g2-CP for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Jun 2017 06:23:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dOiDI-0004fx-C0 for help-gnu-emacs@gnu.org; Sat, 24 Jun 2017 06:22:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dOiDF-0004gD-6F for help-gnu-emacs@gnu.org; Sat, 24 Jun 2017 06:22:48 -0400 Original-Received: from [195.159.176.226] (port=48243 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dOiDE-0004en-Vp for help-gnu-emacs@gnu.org; Sat, 24 Jun 2017 06:22:45 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dOiD7-00022W-CE for help-gnu-emacs@gnu.org; Sat, 24 Jun 2017 12:22:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 31 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:FtuF2Xr1LibRUGgJ7t98Yjk58C8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 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:113551 Archived-At: Michael Heerdegen wrote: > C-A [...] Since these bindings are not > available in a console In a way they are, with the familiar workaround. I suppose it doesn't count as user configurable tho. Well, it depends who the user is... In /etc/console-setup/remap.inc # C-a and C-A # a/A is 30; use showkey(1) # C-a already works # use the ""Private Use Area": U+E000 up to and including U+F8FF control shift keycode 30 = U+E000 then with 'sudo' or possibly first 'chmod +s /bin/loadkeys' loadkeys -q -c -s /etc/console-setup/remap.inc in Emacs (define-key input-decode-map [?\uE000] [C-A]) (global-set-key [C-A] (lambda () (interactive) (message "A"))) (global-set-key "\C-a" (lambda () (interactive) (message "a"))) -- underground experts united http://user.it.uu.se/~embe8573