From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Politz Newsgroups: gmane.emacs.help Subject: About NO-REMAP in `where-is-internal' Date: Mon, 11 Feb 2013 05:38:08 +0100 Message-ID: <87liavh3db.fsf@fh-trier.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1360570539 3520 80.91.229.3 (11 Feb 2013 08:15:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Feb 2013 08:15:39 +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 09:16:01 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 1U4oYR-0001Ns-1R for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Feb 2013 09:15:59 +0100 Original-Received: from localhost ([::1]:59016 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4oY7-0008IR-Qe for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Feb 2013 03:15:39 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4l9w-000565-2K for help-gnu-emacs@gnu.org; Sun, 10 Feb 2013 23:38:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4l9t-0005fH-O7 for help-gnu-emacs@gnu.org; Sun, 10 Feb 2013 23:38:27 -0500 Original-Received: from gateway-a.fh-trier.de ([143.93.54.181]:53499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4l9t-0005f3-FR for help-gnu-emacs@gnu.org; Sun, 10 Feb 2013 23:38:25 -0500 X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum Hochschule Trier] Original-Received: from luca (dslb-088-068-043-011.pools.arcor-ip.net [88.68.43.11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTPSA id CD891175CBA5 for ; Mon, 11 Feb 2013 05:38:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=fh-trier.de; s=default; t=1360557488; bh=Xud/UaRL9Sqc5z69shUNnjMYkL8=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=PQYrtIKynRLkuOG+YjintYivyjh5Sf47IyaLv4Fiq05+smzrtemQmfKFs/ruQeZ3o M9IGj8V9dIOgP8RSp9euYTukvcLuZaLg/nrZV/kdaMdA+hmj1684fZ2X7K2ObgYR38 dUO+uL6R1FW/F8OVXrJZDASpKP0I4dQd1RzLOYZQ= Original-Received: from localhost ([127.0.0.1] helo=luca) by luca with esmtp (Exim 4.72) (envelope-from ) id 1U4l9c-0002Sw-3U for help-gnu-emacs@gnu.org; Mon, 11 Feb 2013 05:38:08 +0100 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 143.93.54.181 X-Mailman-Approved-At: Mon, 11 Feb 2013 03:15:30 -0500 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:89065 Archived-At: > In (info "(elisp) Scanning Keymaps"): > -- Function: where-is-internal command &optional keymap firstonly > noindirect no-remap > [...] > The fifth argument, NO-REMAP[...] > If a command OTHER-COMMAND is remapped to COMMAND: [...] > If COMMAND is remapped to OTHER-COMMAND: [...] > I'm confused about the COMMAND and the OTHER-COMMAND. What's the > differences of them? Assume there is some binding (define-key keymap [remap OTHER-COMMAND] 'COMMAND) . The text describes the different behaviour, in case of (where-is-internal 'OTHER-COMMAND keymap nil nil no-remap) or (where-is-internal 'COMMAND keymap nil nil no-remap) . -AP