From: Tim Johnson <tim@akwebsoft.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to Map Alt key globally
Date: Sat, 5 May 2018 11:30:14 -0800 [thread overview]
Message-ID: <20180505193014.GC1973@mail.akwebsoft.com> (raw)
In-Reply-To: <CAP_d_8X3HAC72ozFhPG8DHRBFmB3CbCMQwTf7s9mJ+Y6zZZc4A@mail.gmail.com>
* Yuri Khan <yurivkhan@gmail.com> [180505 11:12]:
> On Sun, May 6, 2018 at 1:50 AM Tim Johnson <tim@akwebsoft.com> wrote:
>
> > > The following error message
> > > global-set-key: Key sequence M-a starts with non-prefix key ESC
> > >
> > > Is generated when I attempted to execute
> > > (global-set-key (kbd "M-a") 'move-beginning-of-line)
>
> > :) What have I done? And how do I trace It?
>
> It looks like you have bound something to ESC. What does C-h k ESC say?
>
> (Also, are you using a graphical Emacs version, or in terminal?)
I'm using graphical Emacs 25.3.2 on Ubuntu 16.04
C-h k ESC waited for another key input. Upon entering the second
ESC, I get ESC-ESC is undefined. (should have allowed a third ESC
for keyboard-escape quit).
This suggested to me that prior "twiddling" (rather than a
previously loaded elisp file) had caused this problem.
So I reloaded the exisiting emacs configuration, and then compiled
and reloaded the source and the problem is solved.
I believe that I must have executed something like
(global-set-key (kbd "C-[") 'foo)
;; "C-[" translates to ESC on my system
which I would guarantee would clobber sequences starting with ESC for sure.
Sorry, :) Never mind!
--
Tim Johnson
http://www.akwebsoft.com, http://www.tj49.com
prev parent reply other threads:[~2018-05-05 19:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-05 18:38 How to Map Alt key globally Tim Johnson
2018-05-05 18:50 ` Tim Johnson
2018-05-05 19:05 ` Yuri Khan
2018-05-05 19:30 ` Tim Johnson [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180505193014.GC1973@mail.akwebsoft.com \
--to=tim@akwebsoft.com \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.