[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: "C-h k" reports "<keybinding> is undefined"

From: Drew Adams
Subject: RE: "C-h k" reports "<keybinding> is undefined"
Date: Wed, 4 Jan 2012 09:55:18 -0800

> I have noticed this problem for awhile that for some of the 
> key bindings "C-h k" shows "<key binding> is undefined".
> For example, when I type "C-h k M-q", it says "M-q is undefined",
> but I really did bind it to my own function and my
> function was working because If I set breakpoint in the 
> function where "M-q" was being bound to and press "M-q" I was
> able to get into the function. The key bindings not being shown
> by "C-h k" is not limited to "M-q" but a bunch of
> others as well. However, there are also a number of other key 
> bindings that can be reported by "C-h k". I have no idea why
> this is happening. Can somebody tell me with this?

1. This can happen because `M-q' is not in fact bound in the current context
(e.g. current buffer).  Are you sure that you are using `C-h k M-q' in the same
buffer where the command is effectively invoked whenever you hit `M-q'?

2. There could be an Emacs bug.  You are apparently using a development version,
not a released version of Emacs.  If #1 above shows that `C-h k M-q' really
should be showing a binding for your command, then consider reporting an Emacs
bug, using `M-x report-emacs-bug'.  The Emacs developers will determine whether
there really is a problem.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]