From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: doc of prompt change with minor mode for read-key-sequence? Date: Wed, 13 Sep 2006 11:10:41 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1158160432 32191 80.91.229.2 (13 Sep 2006 15:13:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Sep 2006 15:13:52 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 13 17:13:51 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GNWQa-0004Dh-VT for ged-emacs-devel@m.gmane.org; Wed, 13 Sep 2006 17:13:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNWQa-0002Im-BU for ged-emacs-devel@m.gmane.org; Wed, 13 Sep 2006 11:13:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GNWNv-0000DH-FA for emacs-devel@gnu.org; Wed, 13 Sep 2006 11:10:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GNWNu-0000CP-SH for emacs-devel@gnu.org; Wed, 13 Sep 2006 11:10:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNWNu-0000CA-H8 for emacs-devel@gnu.org; Wed, 13 Sep 2006 11:10:42 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GNWPe-0001Ou-HC for emacs-devel@gnu.org; Wed, 13 Sep 2006 11:12:30 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1GNWNt-00063f-8m; Wed, 13 Sep 2006 11:10:41 -0400 Original-To: "Drew Adams" In-reply-to: X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:59781 Archived-At: It took me quite a while to discover where this second prompt was coming from. Because the translation happens at a low level, I couldn't figure out a way to debug it. By experimenting and searching source code, I found that "Foo: " comes from the name of the minor-mode keymap: (make-sparse-keymap "Foo"). (I don't know where the ": " is appended or in what code that takes place.) I am not quite sure why this is happening, but I can tell you something. The "Foo" you specified in the keymap is its name as a menu. It ought to be used if the map is used as a menu, either a mouse menu or a keyboard menu. I do not see why it would be used as a menu in this case, but apparently it is.