all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Parke <parke.nexus@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Is there a way to unset all Emacs key bindings?
Date: Wed, 15 Jan 2014 23:43:05 -0800	[thread overview]
Message-ID: <CAPxz1+a72e9XAgSDM=c-+yKx8Yk4aeCoNQqRAwFwji9vWQVyxQ@mail.gmail.com> (raw)

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



             reply	other threads:[~2014-01-16  7:43 UTC|newest]

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

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='CAPxz1+a72e9XAgSDM=c-+yKx8Yk4aeCoNQqRAwFwji9vWQVyxQ@mail.gmail.com' \
    --to=parke.nexus@gmail.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.