help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a way to unset all Emacs key bindings?


From: Emanuel Berg
Subject: Re: Is there a way to unset all Emacs key bindings?
Date: Thu, 16 Jan 2014 18:17:08 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Parke <parke.nexus@gmail.com> writes:

> I have made a list of the key bindings I want.  I
> want to unset all other key bindings.

I don't know how to do that, but is that wise? Don't
you want different keybindings for different modes? Or
do you intend to set them up one by one? That would be
a huge (and boring) task.

If you want a couple of global keybindings, that is,
"global" in the sense they'd work everywhere, what I do
is I first define them as global, and then if I find
they don't work in some mode (because of a local
binding on top) -- and I don't have to analyze that
because sooner rather and later I run into it by normal
usage -- in any case, then, I set the local binding to
nil in initialization, be it a hook or otherwise.

They say you should prefix your personal bindings C-c,
in what case the above will never happen, because such
bindings should not appear in any shipped mode. However
you may still want other shortcuts and if so the above
method works.

-- 
underground experts united:
http://user.it.uu.se/~embe8573


reply via email to

[Prev in Thread] Current Thread [Next in Thread]