unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: York Zhao <gtdplatform@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: "C-h k" reports "<keybinding> is undefined"
Date: Wed, 4 Jan 2012 14:55:04 -0500	[thread overview]
Message-ID: <CAD3zm23uA5WUYtAqidMjjB1TTU8pAyP8+5Hp-db45_mA+H-GFQ@mail.gmail.com> (raw)
In-Reply-To: <D428378B75854E3A839E1345C6439060@us.oracle.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'?

My "M-q" is a global binding, and most importantly, while "C-h k M-q" reports
undefined binding, typing "M-q" invoked my function. After all, it's not just
"M-q" that was reported undefined binding, a number of other bindings are not
being to be reported by "C-h k".

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

Since I have never been able to get email work in Emacs, I'm afraid I'll not be
able to report bugs inside Emacs using "M-x report-emacs-bug", is there any
other way of reporting Emacs bugs?

Thanks a lot,

York



  reply	other threads:[~2012-01-04 19: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
2012-01-04 19:55   ` York Zhao [this message]
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

  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=CAD3zm23uA5WUYtAqidMjjB1TTU8pAyP8+5Hp-db45_mA+H-GFQ@mail.gmail.com \
    --to=gtdplatform@gmail.com \
    --cc=drew.adams@oracle.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).