unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Alexander Shukaev <haroogan@gmail.com>,
	help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: RE: How to truly unbind global bindings?
Date: Tue, 25 Nov 2014 07:43:29 -0800 (PST)	[thread overview]
Message-ID: <c2d9b801-f3c8-4c2f-912b-e6b4ceca5019@default> (raw)
In-Reply-To: <CAKu-7Ww6v67b9a7fH7PkG6v36vZbpuTRO5ek=obDDNFaJPZZSA@mail.gmail.com>

> The answer was:
> (use-global-map (make-sparse-keymap))

Why do you want to do this?  (Doesn't sound advisable, to me.)

Perhaps if you describe your use case/scenario, people will
have something useful to suggest.  I cannot imagine why anyone
would try to replace the `global-map' with a new, sparse keymap.



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

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c2d9b801-f3c8-4c2f-912b-e6b4ceca5019@default \
    --to=drew.adams@oracle.com \
    --cc=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.
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).