From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xue Fuqiao Newsgroups: gmane.emacs.help Subject: About NO-REMAP in `where-is-internal' Date: Mon, 11 Feb 2013 09:23:06 +0800 Organization: The Church of Emacs Message-ID: <20130211092306.c87dacc4a9f694e679ee295e@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1360545803 17204 80.91.229.3 (11 Feb 2013 01:23:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Feb 2013 01:23:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 11 02:23:45 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U4i7Q-0000GQ-SW for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Feb 2013 02:23:40 +0100 Original-Received: from localhost ([::1]:50939 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4i77-0007u5-Gx for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Feb 2013 20:23:21 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4i71-0007u0-NE for help-gnu-emacs@gnu.org; Sun, 10 Feb 2013 20:23:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4i6z-0007lr-J6 for help-gnu-emacs@gnu.org; Sun, 10 Feb 2013 20:23:15 -0500 Original-Received: from mail-da0-f53.google.com ([209.85.210.53]:33603) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4i6z-0007lk-2w for help-gnu-emacs@gnu.org; Sun, 10 Feb 2013 20:23:13 -0500 Original-Received: by mail-da0-f53.google.com with SMTP id w3so248498dad.26 for ; Sun, 10 Feb 2013 17:23:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:organization:x-mailer :mime-version:content-type:content-transfer-encoding; bh=y+sWNbsPXI7bnQL4qXXcRsxOeXB9WqlApLkw/PILX0c=; b=ZPDVNPPOj+UMDQjAgcCXP0y1/R/k4SVaFTW1nquIEuiVLxJcpc/9NWb6d7zdG5SD+s GK9YpKyhfSQQtQgkv26XY+N9+jQ8AEM/Qx4UNbpJInJcf7hJhieb3E2dMA1Bb4lZy4o9 GlVYoHH21doTcOjTa6P1pFGHCqBnDji0sihq1BArNb2f+w++OuOtpZWkVY8AZG7kiT9o PQnCNZ0zUaMi4lCVFDD6eDCax1rXq7Vj14w7ZB1dHN7dgA8ksSIyHP7u7tPG1Rqa2TmE VKdRxvMyrn4B1Dfo08VbY3xOOE3C095oPlreZy6KEw5WrzRPz+aWlGYMqI7ViKkbGWC2 7aVA== X-Received: by 10.68.7.39 with SMTP id g7mr14771509pba.10.1360545790931; Sun, 10 Feb 2013 17:23:10 -0800 (PST) Original-Received: from Emacs ([49.118.21.177]) by mx.google.com with ESMTPS id pp8sm5897812pbb.19.2013.02.10.17.23.08 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 10 Feb 2013 17:23:10 -0800 (PST) X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.13; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.210.53 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89051 Archived-At: In (info "(elisp) Scanning Keymaps"): -- Function: where-is-internal command &optional keymap firstonly noindirect no-remap [...] The fifth argument, NO-REMAP, determines how this function treats command remappings (*note Remapping Commands::). There are two cases of interest: If a command OTHER-COMMAND is remapped to COMMAND: If NO-REMAP is `nil', find the bindings for OTHER-COMMAND and treat them as though they are also bindings for COMMAND. If NO-REMAP is non-`nil', include the vector `[remap OTHER-COMMAND]' in the list of possible key sequences, instead of finding those bindings. If COMMAND is remapped to OTHER-COMMAND: If NO-REMAP is `nil', return the bindings for OTHER-COMMAND rather than COMMAND. If NO-REMAP is non-`nil', return the bindings for COMMAND, ignoring the fact that it is remapped. I'm confused about the COMMAND and the OTHER-COMMAND. What's the differences of them? -- Best regards, Xue Fuqiao. http://www.emacswiki.org/emacs/XueFuqiao