all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'York Zhao'" <gtdplatform@gmail.com>, <help-gnu-emacs@gnu.org>
Subject: RE: "C-h k" reports "<keybinding> is undefined"
Date: Wed, 4 Jan 2012 09:55:18 -0800	[thread overview]
Message-ID: <D428378B75854E3A839E1345C6439060@us.oracle.com> (raw)
In-Reply-To: <CAD3zm22Z7zbN=jPCqtb70sPffQXD=04iswzsigC4EK+6ZZ7mxw@mail.gmail.com>

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




  parent reply	other threads:[~2012-01-04 17:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-04 17:31 "C-h k" reports "<keybinding> is undefined" York Zhao
2012-01-04 17:35 ` York Zhao
2012-01-04 17:55 ` Drew Adams [this message]
2012-01-04 19:55   ` York Zhao
2012-01-04 21:09     ` Drew Adams
2012-01-04 22:53       ` York Zhao
2012-01-05 19:07 ` Tassilo Horn
2012-01-05 20:31   ` York Zhao
2012-01-05 20:47     ` Tassilo Horn
2012-01-05 19:30 ` Michael Markert
2012-01-05 20:26   ` York Zhao

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=D428378B75854E3A839E1345C6439060@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=gtdplatform@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.