all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alexander Shukaev <haroogan@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: How to truly unbind global bindings?
Date: Tue, 25 Nov 2014 12:09:21 +0100	[thread overview]
Message-ID: <CAKu-7WwaDoAEPYWyh_YpaX_S6wDwKpYSN4Wg0uZyuTiooZ=7NA@mail.gmail.com> (raw)

I've just tried

(set 'global-map (make-sparse-keymap))


but issuing [C-h][b] still shows tons of mappings, especially in the
*Global Bindings* section:

Global Bindings:
> key             binding
> ---             -------
> C-@             set-mark-command
> C-a             move-beginning-of-line
> C-b             backward-char
> C-d             delete-char
> C-e             move-end-of-line
> C-f             forward-char
> C-g             keyboard-quit
> C-h             help-command
> TAB             indent-for-tab-command
> C-k             kill-line
> C-l             recenter-top-bottom
> RET             newline
> C-n             next-line
> C-o             open-line
> ...             ...


and there are so many more to come.

I would like to get rid of these completely. How can I possibly do that in
one simple function call? I would like the solution to be a total wipeout,
rather than a loop which is setting all of these mappings to `nil'. Thank
you in advance.


             reply	other threads:[~2014-11-25 11:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-25 11:09 Alexander Shukaev [this message]
2014-11-25 12:16 ` How to truly unbind global bindings? Alexander Shukaev
2014-11-25 15:43   ` Drew Adams
2014-11-25 16:09     ` Alexander Shukaev
2014-11-25 16:13       ` Drew Adams
2014-11-25 19:04         ` Alexander Shukaev
2014-11-25 19:31           ` Eli Zaretskii
2014-11-25 19:39             ` Alexander Shukaev
2014-11-25 19:50               ` Eli Zaretskii
2014-11-25 20:00                 ` Alexander Shukaev
2014-11-25 20:34                   ` Eli Zaretskii
2014-11-25 21:05                     ` Alexander Shukaev
2014-11-26  2:57                   ` Yuri Khan
2014-11-26  9:33                     ` Alexander Shukaev

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='CAKu-7WwaDoAEPYWyh_YpaX_S6wDwKpYSN4Wg0uZyuTiooZ=7NA@mail.gmail.com' \
    --to=haroogan@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.