From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: What happened to the key-menu patch? Date: Sat, 13 Jul 2002 08:20:55 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200207131420.g6DEKtU19804@aztec.santafe.edu> References: <200205050534.g455YfF01634@aztec.santafe.edu> <5xbsbumexh.fsf@kfs2.cua.dk> <200205141941.g4EJfud15293@aztec.santafe.edu> <5xvg9qmgzt.fsf@kfs2.cua.dk> <200205151927.g4FJRRW26103@rum.cs.yale.edu> <5x3cwr4q7m.fsf@kfs2.cua.dk> <87g00rd74y.fsf@tc-1-100.kawasaki.gol.ne.jp> <87sn4otknt.fsf@tc-1-100.kawasaki.gol.ne.jp> <200205191441.g4JEfMg23080@rum.cs.yale.edu> <200205202134.g4KLYHj26031@aztec.santafe.edu> <200205222227.g4MMRIX29393@aztec.santafe.edu> <87g0030xah.fsf@tc-1-100.kawasaki.gol.ne.jp> <5xn0t3p362.fsf_-_@kfs2.cua.dk> <200207091358.g69Dwlr26999@rum.cs.yale.edu> <200207101043.g6AAhMZ14976@aztec.santafe.edu> <200207111713.g6BHDAO03283@rum.cs.yale.edu> <200207121737.g6CHbMb18858@aztec.santafe.edu> <200207121807.g6CI7qm08595@rum.cs.yale.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1026570096 25755 127.0.0.1 (13 Jul 2002 14:21:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 13 Jul 2002 14:21:36 +0000 (UTC) Cc: monnier+gnu/emacs@rum.cs.yale.edu, miles@lsi.nec.co.jp, storm@cua.dk, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17TNmC-0006hI-00 for ; Sat, 13 Jul 2002 16:21:36 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17TNwb-0001Df-00 for ; Sat, 13 Jul 2002 16:32:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17TNm0-0002YX-00; Sat, 13 Jul 2002 10:21:24 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17TNlZ-0002Vz-00; Sat, 13 Jul 2002 10:20:57 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.11.6) with ESMTP id g6DEKwB14374; Sat, 13 Jul 2002 08:20:58 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g6DEKtU19804; Sat, 13 Jul 2002 08:20:55 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: monnier+gnu/emacs@rum.cs.yale.edu In-Reply-To: <200207121807.g6CI7qm08595@rum.cs.yale.edu> (monnier+gnu/emacs@rum.cs.yale.edu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5739 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5739 > That's correct. I believe that read-key-sequence using this map > won't see them either. Nope. When looking up C-x, fix_submap_inheritance will end up doing the equivalent of (set-keymap-parent .. (lookup-key "\C-x" global-map)) to the subkeymap built by the second `make-sparse-keymap). You are right--the bindings in the second submap will be seen, but they will be seen because they are included thus in the first submap. When the scan actually reaches the second submap, it should ignore that.