unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Is there a way to unset all Emacs key bindings?
@ 2014-01-16  7:43 Parke
  2014-01-16  9:27 ` Marcin Borkowski
  0 siblings, 1 reply; 6+ messages in thread
From: Parke @ 2014-01-16  7:43 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

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

(Or, alternatively, I want to unset all the key bindings, and then
global-set-key the bindings I want.)

Is this possible?

I have tried:
(global-unset-key    "\x00"     )
... through ...
(global-unset-key    "\xff"     )

I also tried:
(setq global-map nil)

Neither of these worked.  There are still over 2500 lines of bindings
when I run describe-bindings (in both Lisp Interaction and Fundamental
modes).

Thanks!

-Parke



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-01-17  6:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.12070.1389861047.10748.help-gnu-emacs@gnu.org>
2014-01-16 17:17 ` Is there a way to unset all Emacs key bindings? Emanuel Berg
2014-01-16 17:42   ` Drew Adams
2014-01-16 18:14 ` Emanuel Berg
2014-01-17  6:47   ` Kevin Rodgers
2014-01-16  7:43 Parke
2014-01-16  9:27 ` Marcin Borkowski

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).