From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Q on shell-mode-map Date: Sat, 22 Jul 2006 16:23:56 -0700 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1153610809 22328 80.91.229.2 (22 Jul 2006 23:26:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 22 Jul 2006 23:26:49 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 23 01:26:44 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 1G4Qrn-0003rr-RI for ged-emacs-devel@m.gmane.org; Sun, 23 Jul 2006 01:26:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G4Qrn-0000MA-9L for ged-emacs-devel@m.gmane.org; Sat, 22 Jul 2006 19:26:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G4Qr6-00006M-J6 for emacs-devel@gnu.org; Sat, 22 Jul 2006 19:25:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G4Qr5-0008WO-59 for emacs-devel@gnu.org; Sat, 22 Jul 2006 19:25:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G4Qr4-0008WA-Q3 for emacs-devel@gnu.org; Sat, 22 Jul 2006 19:25:54 -0400 Original-Received: from [148.87.113.118] (helo=rgminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1G4Qro-0007vw-GJ for emacs-devel@gnu.org; Sat, 22 Jul 2006 19:26:40 -0400 Original-Received: from rcsmt250.oracle.com (rcsmt250.oracle.com [148.87.90.195]) by rgminet01.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id k6M7OKbU013978 for ; Sat, 22 Jul 2006 17:25:52 -0600 Original-Received: from dhcp-amer-csvpn-gw2-141-144-72-153.vpn.oracle.com by rcsmt250.oracle.com with ESMTP id 1616212891153610641; Sat, 22 Jul 2006 17:24:01 -0600 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-Whitelist: TRUE 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:57484 Archived-At: > Well, I see now that the nconc should make it so that = shell-mode-map > shares a tail with comint-mode-map =20 Drew is referring to this line in shell.el: =20 (setq shell-mode-map (nconc (make-sparse-keymap) = comint-mode-map)) =20 The manual says =20 The proper way to construct a keymap with a parent is to use `set-keymap-parent'; if you have code that directly constructs a keymap with a parent, please convert the program to use `set-keymap-parent' instead. =20 so maybe that should be cleaned up. =20 Ah, good catch. =20