From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#14086: 24.3.50; `substitute-command-keys': inappropriate "(that binding is currently shadowed by another mode)" Date: Thu, 28 Mar 2013 23:04:25 -0700 Message-ID: <0FF2F801815441C3B5385CE3202E16A0@us.oracle.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 1364537440 31948 80.91.229.3 (29 Mar 2013 06:10:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Mar 2013 06:10:40 +0000 (UTC) To: 14086@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 29 07:11:06 2013 Return-path: Envelope-to: geb-bug-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 1ULSWg-0006js-Ij for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Mar 2013 07:10:58 +0100 Original-Received: from localhost ([::1]:51851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULSWI-0001hd-A0 for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Mar 2013 02:10:34 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULSWE-0001hN-HM for bug-gnu-emacs@gnu.org; Fri, 29 Mar 2013 02:10:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULSWD-0003i0-Ew for bug-gnu-emacs@gnu.org; Fri, 29 Mar 2013 02:10:30 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46353) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULSWD-0003hj-Ba for bug-gnu-emacs@gnu.org; Fri, 29 Mar 2013 02:10:29 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1ULSYh-0008Jb-0f for bug-gnu-emacs@gnu.org; Fri, 29 Mar 2013 02:13:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Mar 2013 06:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14086 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.136453756931936 (code B ref -1); Fri, 29 Mar 2013 06:13:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Mar 2013 06:12:49 +0000 Original-Received: from localhost ([127.0.0.1]:50462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ULSYS-0008J3-Fj for submit@debbugs.gnu.org; Fri, 29 Mar 2013 02:12:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46459) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ULSYO-0008Is-DC for submit@debbugs.gnu.org; Fri, 29 Mar 2013 02:12:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULSVs-0003da-S3 for submit@debbugs.gnu.org; Fri, 29 Mar 2013 02:10:09 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:33193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULSVs-0003dM-Ox for submit@debbugs.gnu.org; Fri, 29 Mar 2013 02:10:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULSVr-0001dB-DA for bug-gnu-emacs@gnu.org; Fri, 29 Mar 2013 02:10:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULSVq-0003bb-4V for bug-gnu-emacs@gnu.org; Fri, 29 Mar 2013 02:10:07 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:33395) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULSQQ-0001ZH-Sl for bug-gnu-emacs@gnu.org; Fri, 29 Mar 2013 02:04:31 -0400 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r2T64TnQ017734 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 29 Mar 2013 06:04:30 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r2T64SWR015431 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 29 Mar 2013 06:04:29 GMT Original-Received: from abhmt111.oracle.com (abhmt111.oracle.com [141.146.116.63]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id r2T64SCS010170 for ; Fri, 29 Mar 2013 01:04:28 -0500 Original-Received: from dradamslap1 (/10.159.148.114) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 28 Mar 2013 23:04:28 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Ac4sQ0Oj+P8gmLXMRX6tvKAjEgFtpw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72976 Archived-At: I do this for each of the minibuffer completion maps as MAP: (define-key MAP (kbd "M-r") 'icicle-roundup) I then do this, for example: (substitute-command-keys "\\{minibuffer-local-completion-map}") I see the keys that are defined in this map, including this one: M-r icicle-roundup But near the end of the listing (not at all near that entry), I see this other entry for `M-r': M-r previous-matching-history-element (that binding is currently shadowed by another mode) That makes no sense, or is at least misleading. There is no special "mode" that I am aware of that is involved here, for one thing. And I don't see how the `previous-matching-history-element' binding is "shadowed", whether by "another mode" or any other way. `M-r' is simply bound to `icicle-roundup' in this keymap - it is not bound to `previous-matching-history-element' in this map, AFAIK. Seems like a bug to me. At the very least it is unhelpful and misleading for a user who sees this. (Not to mention the fact that this extra info, if you think it serves a purpose, is far from the first `M-r' entry, so a user will likely see one or the other but not both together (unless the keymap has few keys in it). I cannot see why we should ever have two different entries listed for the same key. And especially one that is so misleadingly described. And especially with the two entries far apart. In GNU Emacs 24.3.50.1 (i386-mingw-nt5.1.2600) of 2013-03-23 on VBOX Bzr revision: 112115 eliz@gnu.org-20130323093300-rjs0dgskxm9u0ya4 Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (4.7) --no-opt --enable-checking --cflags -IC:/emacs/libs/libXpm-3.5.10/include -IC:/emacs/libs/libXpm-3.5.10/src -IC:/emacs/libs/libpng-dev_1.4.3-1_win32/include -IC:/emacs/libs/zlib-dev_1.2.5-2_win32/include -IC:/emacs/libs/giflib-4.1.4-1-lib/include -IC:/emacs/libs/jpeg-6b-4-lib/include -IC:/emacs/libs/tiff-3.8.2-1-lib/include -IC:/emacs/libs/libxml2-2.7.8-w32-bin/include/libxml2 -IC:/emacs/libs/gnutls-3.1.10-w32/include -IC:/emacs/libs/libiconv-1.14-2-mingw32-dev/include'