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: minibuffer and current-local-map Date: Fri, 30 Nov 2007 18:36:17 -0500 Message-ID: References: <877ikuyq5y.fsf@escher.local.home> <873avh2ofd.fsf@escher.local.home> <47503D5A.3030400@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1196465858 30166 80.91.229.12 (30 Nov 2007 23:37:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Nov 2007 23:37:38 +0000 (UTC) Cc: Stephen.Berman@gmx.net, emacs-devel@gnu.org To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 01 00:37:46 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IyFQX-0001yy-TB for ged-emacs-devel@m.gmane.org; Sat, 01 Dec 2007 00:37:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IyFQH-0003v2-W5 for ged-emacs-devel@m.gmane.org; Fri, 30 Nov 2007 18:37:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IyFPA-0003TY-9y for emacs-devel@gnu.org; Fri, 30 Nov 2007 18:36:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IyFP8-0003Sd-H4 for emacs-devel@gnu.org; Fri, 30 Nov 2007 18:36:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IyFP8-0003SQ-9l for emacs-devel@gnu.org; Fri, 30 Nov 2007 18:36:18 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IyFP8-0003cW-39 for emacs-devel@gnu.org; Fri, 30 Nov 2007 18:36:18 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IyFP7-0007HT-7t; Fri, 30 Nov 2007 18:36:17 -0500 In-reply-to: <47503D5A.3030400@gnu.org> (message from Jason Rumney on Fri, 30 Nov 2007 16:42:02 +0000) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:84393 Archived-At: > I see the duplicate in the normal value of > minibuffer-local-completion-map. The parent of that map is > minibuffer-local-map, and both of them have menu bar submaps. > The duplication seems to be related to this comment in menu-bar.el (dolist (map (list minibuffer-local-map ;; This shouldn't be necessary, but there's a funny ;; bug in keymap.c that I don't understand yet. -stef minibuffer-local-completion-map)) (define-key map [menu-bar minibuf] (cons "Minibuf" (make-sparse-keymap "Minibuf")))) There might be a bug in creating the submaps some other way, which this works around. But I think that is irrelevant here, because the submap data looks correct to me. If fixing the other bug makes it possible to create the same submaps in another way that ought to be equivalent, that won't get rid of the bug in looking at them.