From: Kaushal Modi <kaushal.modi@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: Understanding the cause of a bug causing *all* bindings to be wiped out
Date: Mon, 11 Jul 2016 14:00:53 +0000 [thread overview]
Message-ID: <CAFyQvY1xB3kAWJX19f=hwapbxzpeo=nzUq8aRoG5_Csq6Zj+kw@mail.gmail.com> (raw)
In-Reply-To: <jwvh9bw9wyu.fsf-monnier+gmane.emacs.devel@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1210 bytes --]
On Mon, Jul 11, 2016 at 8:33 AM Stefan Monnier <monnier@iro.umontreal.ca>
wrote:
> Or maybe it's a high-priority map that's hiding all the bindings.
>
I do use high-priority map. But basic bindings like C-x C-c, C-n/C-p, etc
are in the global map. Also this bug causes all those keys to be totally
unbound. So it's not as if a high-priority map is masking a global map key.
If it is unbound, it is unbound in both high-priority and global maps,
right?
Next time this happens, I'll see if my high-priority map bindings are
intact. To prepare for that, I will bind C-h l to the high priority map too
so that they work even if global map is wiped out (there's probably no
point binding M-x, M-:, etc in high-priority map because the self insert
bindings are wiped out too).
On Mon, Jul 11, 2016 at 3:29 AM Andreas Schwab <schwab@suse.de> wrote:
> Maybe global-map is being clobbered. Try attaching with a debugger and
> inspecting global_map and current_global_map.
>
Thanks. I'll give that a try next time this happens. Unfortunately, I just
need to wait until it happens again as I have no idea what causes this.
Will also note if that happens in a particular major mode next time.
--
--
Kaushal Modi
[-- Attachment #2: Type: text/html, Size: 2079 bytes --]
next prev parent reply other threads:[~2016-07-11 14:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-11 5:28 Understanding the cause of a bug causing *all* bindings to be wiped out Kaushal Modi
2016-07-11 7:29 ` Andreas Schwab
2016-07-11 12:33 ` Stefan Monnier
2016-07-11 14:00 ` Kaushal Modi [this message]
2016-07-11 14:10 ` Stefan Monnier
2016-07-11 15:52 ` Kaushal Modi
2016-07-11 19:57 ` Kaushal Modi
2016-07-11 14:42 ` Eli Zaretskii
2016-07-11 15:20 ` Kaushal Modi
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='CAFyQvY1xB3kAWJX19f=hwapbxzpeo=nzUq8aRoG5_Csq6Zj+kw@mail.gmail.com' \
--to=kaushal.modi@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.