From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: repeatable vs. non-repeatable commands Date: Sun, 25 Jun 2017 06:59:14 +0200 Message-ID: <87injkk6hp.fsf@drachen> References: <8760floqo9.fsf@drachen> <86h8z5y9au.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1498366796 20137 195.159.176.226 (25 Jun 2017 04:59:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Jun 2017 04:59:56 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 25 06:59:52 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 1dOzeJ-00052F-W1 for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Jun 2017 06:59:52 +0200 Original-Received: from localhost ([::1]:41250 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dOzeP-0000Rj-6J for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Jun 2017 00:59:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dOzdq-0000RR-Ar for help-gnu-emacs@gnu.org; Sun, 25 Jun 2017 00:59:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dOzdl-0004Ue-Fm for help-gnu-emacs@gnu.org; Sun, 25 Jun 2017 00:59:22 -0400 Original-Received: from mout.web.de ([212.227.17.12]:59333) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dOzdl-0004UH-4t for help-gnu-emacs@gnu.org; Sun, 25 Jun 2017 00:59:17 -0400 Original-Received: from drachen.dragon ([92.74.161.87]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MMEzJ-1dPqak0nUL-007zsW; Sun, 25 Jun 2017 06:59:15 +0200 In-Reply-To: <86h8z5y9au.fsf@zoho.com> (Emanuel Berg's message of "Sat, 24 Jun 2017 12:22:33 +0200") X-Provags-ID: V03:K0:mIsQS7TJ6hmzY0w0JHEd797t4rbjyPds/hpiE0Xwx5PvXkqb79/ YtpFiO4JHC7/gdALsywAf1rRNQCnMJbd2a29dkrmwLGp/+02yxdLqBgAIWb5iCjCffikMI6 cW79C87/WPC8dRKd7ut+YqPoSUcNdSH4F0fEZzCRAPUGsPk4Lt2wdMzCnpkTK+jYph8vuSB 9lEPpuL3thKi92RZhZhbQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:zTwUC5ZlIy4=:FUiAzcAWhJdwZGP13+sRHx ei1U0zlZIXbGGE7QZUp1x9CoVhAoZM/08GpA53ljdIaS0i66t+n15SGB3EK6RJjYSlO3AXs+q PZdzVG5Z11VfzRvyhEzzsIrqq5XLYvbafZLFKH9N3dbQ5dcbnH6XIU3UvkrzTLWmlBfk62IQh +SrJG0+yPx1iFEFhPqMZvc0t6+dVjEwh/MADpzhiA+kCJ1zY1GsftlO4H6sk5m50MtYl+dCB2 BcGl8tM/hgTqYsLBc9zeUNCj85la5hcM/pzlquaaCKwvvyMNMDw8jABUKL4T8TmPVR8rYcZi0 JkEwqAdsbBoiVqGoaSEIOYa5lZ3hpUIWjHBQMt2AGVuFCq/nefFDSRDUpZh4H5vsBiyREldJS 3kxLT9Q2SXHf+1PVri/m/3L1YCfJQc6KU4Vr0VH386eGKFwDfUM2q1/G9R1c5Pd7dA+Z1ZqG6 iDQIAdle/m3D2vtFnR2WBFkN/fERNdaRFa8dplVGck6rJK2bJXr/eH8EkEy567OvAb4a7IRRX jIjwMcX88pbZFrY/U3xB5ifg0DSyxVj2CxGqeKFt7WyDYR0v41GR+udmRFkc1QRhc6jnzXAcF Q2cX1+3P7MpOQvl2W7CP1U5ClQcGSxpwU40uRKKFPZjRHW7ee1DzpFuQg/wo///VuYjtxJhK0 HMr9tc4B87APX4PFPBoshpVL2ilzlnLKBu8pHwqQN5Bzgs4VFKn+D3uVaGmn40yHVi5oTJ5Lr bs3dzph8pLMIA6QRJ9gfqJoMd0riyUabP4mTVA3IxJK7WJa3jDsyb/RzcHSZnRdswMbtgj2V X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.12 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:113562 Archived-At: Emanuel Berg writes: > 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"))) Interesting! I'm not really a console user myself, but it's good to have your explanation in this thread. Thanks, Michael.