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: Bug to fix! Date: Mon, 08 May 2006 18:29:37 -0400 Message-ID: References: <17493.6908.813917.579798@rgrjr.dyndns.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 1147127450 19091 80.91.229.2 (8 May 2006 22:30:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 May 2006 22:30:50 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 09 00:30:49 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 1FdEFT-00023O-1c for ged-emacs-devel@m.gmane.org; Tue, 09 May 2006 00:30:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FdEFS-0006KV-FK for ged-emacs-devel@m.gmane.org; Mon, 08 May 2006 18:30:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FdEEU-0005Wl-Vl for emacs-devel@gnu.org; Mon, 08 May 2006 18:29:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FdEEU-0005W9-DT for emacs-devel@gnu.org; Mon, 08 May 2006 18:29:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FdEEU-0005W4-7Q for emacs-devel@gnu.org; Mon, 08 May 2006 18:29:38 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FdEFP-0007jk-OD for emacs-devel@gnu.org; Mon, 08 May 2006 18:30:35 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1FdEET-0008VU-AD; Mon, 08 May 2006 18:29:37 -0400 Original-To: Bob Rogers In-Reply-To: <17493.6908.813917.579798@rgrjr.dyndns.org> (message from Bob Rogers on Sun, 30 Apr 2006 16:15:56 -0400) 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:54112 Archived-At: [I sent this message a week ago but did not get a response.] Examining shell-mode-map shows that the repeated commands do appear bound to the same keys twice via list sharing. You can see this for yourself by evaluating the following in *scratch*: (let ((print-circle t) (print-length nil) (standard-output (current-buffer))) (prin1 shell-mode-map)) This is normal--it is part of the keymap parent mechanism. shell-mode-map has comint-mode-map as its parent. So the sub-keymap for C-c in shell-mode-map must also have, as its parent, the sub-keymap for C-c in comint-mode-map. So the right fix here is to change the code that generates the table for C-h m so that it avoids generating duplicate output in cases like this. Would someone like to do that?