From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: M-g in dired Date: Wed, 02 Nov 2005 05:27:21 -0500 Message-ID: References: <873bnf36mr.fsf@jurta.org> <878xwap86u.fsf@jurta.org> <8764rcye8k.fsf@jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1130928949 5662 80.91.229.2 (2 Nov 2005 10:55:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 Nov 2005 10:55:49 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 02 11:55:48 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EXGHB-0002t8-J9 for ged-emacs-devel@m.gmane.org; Wed, 02 Nov 2005 11:55:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EXGHA-00086y-Q1 for ged-emacs-devel@m.gmane.org; Wed, 02 Nov 2005 05:55:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EXFpy-00045d-SB for emacs-devel@gnu.org; Wed, 02 Nov 2005 05:27:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EXFpy-00045O-6T for emacs-devel@gnu.org; Wed, 02 Nov 2005 05:27:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EXFpx-00045J-RY for emacs-devel@gnu.org; Wed, 02 Nov 2005 05:27:21 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EXFpx-0004JN-Vz for emacs-devel@gnu.org; Wed, 02 Nov 2005 05:27:22 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1EXFpx-0001DZ-7V; Wed, 02 Nov 2005 05:27:21 -0500 Original-To: Juri Linkov In-reply-to: <8764rcye8k.fsf@jurta.org> (message from Juri Linkov on Tue, 01 Nov 2005 11:16:43 +0200) 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:45283 Archived-At: > Would you like to try modifying that code so it detects the other case? I think the most appropriate place to modify is `shadow_lookup'. That sounds right to me. So, for example, in dired-mode-map where "C-x `" is undefined, `lookup-key' returns 1: (lookup-key dired-mode-map [24 96]) => 1 It seems this is not correct. I agree, that is a bug. Since C-x is a valid prefix key, the value should not be 1. It should be whatever the C-x subkeymap gives for `. Could you fix that? I can't estimate if there is a code that relies on the current return value of `lookup-key'. If so, then perhaps a new special argument could be added to `lookup-key' to change the semantic of the return value? Could you study the code some more to try to determine this?