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: Using multiple minor-mode keymaps. Date: Mon, 11 Mar 2002 12:05:55 -0700 (MST) Sender: emacs-devel-admin@gnu.org Message-ID: <200203111905.g2BJ5t904555@wijiji.santafe.edu> References: <5xg039mks5.fsf@kfs2.cua.dk> <20020309.200417.107712392.Takaaki.Ota@am.sony.com> <5xwuwkw5sa.fsf@kfs2.cua.dk> <20020310.201856.01365645.Takaaki.Ota@am.sony.com> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1015873761 2138 80.91.224.249 (11 Mar 2002 19:09:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 11 Mar 2002 19:09:21 +0000 (UTC) Cc: emacs-devel@gnu.org, no-spam@cua.dk Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16kVAf-0000YN-00 for ; Mon, 11 Mar 2002 20:09:21 +0100 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16kVCV-000441-00 for ; Mon, 11 Mar 2002 20:11:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16kV86-0003iW-00; Mon, 11 Mar 2002 14:06:42 -0500 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16kV7M-0003ZU-00; Mon, 11 Mar 2002 14:05:56 -0500 Original-Received: from wijiji.santafe.edu (wijiji [192.12.12.5]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g2BJ68u00663; Mon, 11 Mar 2002 12:06:08 -0700 (MST) Original-Received: (from rms@localhost) by wijiji.santafe.edu (8.11.6+Sun/8.9.3) id g2BJ5t904555; Mon, 11 Mar 2002 12:05:55 -0700 (MST) X-Authentication-Warning: wijiji.santafe.edu: rms set sender to rms@wijiji using -f Original-To: Takaaki.Ota@am.sony.com In-reply-to: <20020310.201856.01365645.Takaaki.Ota@am.sony.com> (message from Tak Ota on Sun, 10 Mar 2002 20:18:56 -0800 (PST)) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:1859 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1859 The `keymap' property is used for overriding just *part* of the local map. For most uses, `keymap' is better. I am not sure if there is still any good reason to use `local-map'. I rewrote the text in the manual as follows: @item keymap @cindex keymap of character @kindex keymap @r{(text property)} The @code{keymap} property specifies an additional keymap for commands. The property's value for the character after point, if non-@code{nil}, is used for key lookup before the buffer's local map. (For mouse clicks, the @code{keymap} property of the character clicked on is the one used.) If the property value is a symbol, the symbol's function definition is used as the keymap. @xref{Active Keymaps}. @item local-map @kindex local-map @r{(text property)} This property specifies a keymap to use @emph{instead of} the buffer's local map. If the property value is a symbol, the symbol's function definition is used as the keymap. For most purposes (perhaps all purposes), the @code{keymap} is superior. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel