unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to truly unbind global bindings?
@ 2014-11-25 11:09 Alexander Shukaev
  2014-11-25 12:16 ` Alexander Shukaev
  0 siblings, 1 reply; 14+ messages in thread
From: Alexander Shukaev @ 2014-11-25 11:09 UTC (permalink / raw)
  To: help-gnu-emacs

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.


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

end of thread, other threads:[~2014-11-26  9:33 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-25 11:09 How to truly unbind global bindings? Alexander Shukaev
2014-11-25 12:16 ` 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

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