From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: York Zhao Newsgroups: gmane.emacs.help Subject: Re: "C-h k" reports " is undefined" Date: Wed, 4 Jan 2012 14:55:04 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1325706923 14637 80.91.229.12 (4 Jan 2012 19:55:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 4 Jan 2012 19:55:23 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 04 20:55:18 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RiWvd-0004oY-Ur for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Jan 2012 20:55:18 +0100 Original-Received: from localhost ([::1]:57396 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiWvd-0006u0-50 for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Jan 2012 14:55:17 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:34568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiWvS-0006qb-CI for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:55:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiWvR-0007SC-Fy for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:55:06 -0500 Original-Received: from mail-vw0-f41.google.com ([209.85.212.41]:54409) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiWvR-0007Rt-BT for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:55:05 -0500 Original-Received: by vbbfn1 with SMTP id fn1so16375151vbb.0 for ; Wed, 04 Jan 2012 11:55:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=ldt0mP6ON4TQDu0IZIqobONzqd/H1muYNX8jGzFM6KY=; b=oXjW241X9Z8jIByAVbkeMxqr7D8fcLwUX4btnJ5KsplAQcIcGHYMDS+/+dugqMV08Y 0NbsV6sCGtYsV7tDsoAPjR5qPwzNBAP8rkOvR+FdvJaivzgUYiIxOd5zvwAxd5/b3q2h L/XfSQCkj2TrC8ryV+zslsTEkyh5InKfaaB+o= Original-Received: by 10.52.34.97 with SMTP id y1mr6775946vdi.69.1325706904802; Wed, 04 Jan 2012 11:55:04 -0800 (PST) Original-Received: by 10.52.37.169 with HTTP; Wed, 4 Jan 2012 11:55:04 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.212.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83324 Archived-At: >> I have noticed this problem for awhile that for some of the >> key bindings "C-h k" shows " 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 cont= ext > (e.g. current buffer). =A0Are 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" repor= ts undefined binding, typing "M-q" invoked my function. After all, it's not ju= st "M-q" that was reported undefined binding, a number of other bindings are n= ot being to be reported by "C-h k". > 2. There could be an Emacs bug. =A0You are apparently using a development= version, > not a released version of Emacs. =A0If #1 above shows that `C-h k M-q' re= ally > should be showing a binding for your command, then consider reporting an = Emacs > bug, using `M-x report-emacs-bug'. =A0The 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 no= t 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