From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bojohan+news@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=) Newsgroups: gmane.emacs.devel Subject: Re: Q on shell-mode-map Date: Sun, 23 Jul 2006 01:15:48 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1153610186 21171 80.91.229.2 (22 Jul 2006 23:16:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 22 Jul 2006 23:16:26 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 23 01:16:23 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 1G4Qhl-0002LY-7M for ged-emacs-devel@m.gmane.org; Sun, 23 Jul 2006 01:16:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G4Qhk-0004He-Mb for ged-emacs-devel@m.gmane.org; Sat, 22 Jul 2006 19:16:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G4QhY-0004H7-FS for emacs-devel@gnu.org; Sat, 22 Jul 2006 19:16:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G4QhX-0004Gt-Q8 for emacs-devel@gnu.org; Sat, 22 Jul 2006 19:16:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G4QhX-0004Gn-LT for emacs-devel@gnu.org; Sat, 22 Jul 2006 19:16:03 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1G4QiH-00072q-BN for emacs-devel@gnu.org; Sat, 22 Jul 2006 19:16:49 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1G4QhN-0002Hb-I2 for emacs-devel@gnu.org; Sun, 23 Jul 2006 01:15:53 +0200 Original-Received: from iota250.dd.chalmers.se ([129.16.117.150]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Jul 2006 01:15:53 +0200 Original-Received: from bojohan+news by iota250.dd.chalmers.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Jul 2006 01:15:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-To: emacs-devel@gnu.org Original-Lines: 20 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: iota250.dd.chalmers.se Mail-Copies-To: never User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:d32VwK0v7zm1xICRwVqvbKZpG+c= 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:57483 Archived-At: "Drew Adams" writes: > Well, I see now that the nconc should make it so that shell-mode-map > shares a tail with comint-mode-map Drew is referring to this line in shell.el: (setq shell-mode-map (nconc (make-sparse-keymap) comint-mode-map)) The manual says 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. so maybe that should be cleaned up. -- Johan Bockgård