unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: help-gnu-emacs@gnu.org
Subject: Re: repeatable vs. non-repeatable commands
Date: Sun, 25 Jun 2017 06:59:14 +0200	[thread overview]
Message-ID: <87injkk6hp.fsf@drachen> (raw)
In-Reply-To: <86h8z5y9au.fsf@zoho.com> (Emanuel Berg's message of "Sat, 24 Jun 2017 12:22:33 +0200")

Emanuel Berg <moasen@zoho.com> 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.



  reply	other threads:[~2017-06-25  4:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-24  6:17 repeatable vs. non-repeatable commands Michael Heerdegen
2017-06-24 10:01 ` Emanuel Berg
2017-06-25  4:56   ` Michael Heerdegen
2017-06-25 15:53     ` Emanuel Berg
2017-06-26 13:49       ` Michael Heerdegen
2017-06-24 10:22 ` Emanuel Berg
2017-06-25  4:59   ` Michael Heerdegen [this message]
2017-06-25 16:22     ` Emanuel Berg
2017-06-24 13:23 ` Stefan Monnier
2017-06-26 15:31   ` Michael Heerdegen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87injkk6hp.fsf@drachen \
    --to=michael_heerdegen@web.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).