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#9669: 24.0.50; `tramp-compat.el' in *Help* when it doesn't belong (?) Date: Tue, 4 Oct 2011 09:55:54 -0700 Message-ID: <9FAA3F1BBBDA459E9BAA10031D31F161@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1317747402 29255 80.91.229.12 (4 Oct 2011 16:56:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 Oct 2011 16:56:42 +0000 (UTC) To: 9669@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 04 18:56:38 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RB8IH-0003k2-Pg for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Oct 2011 18:56:38 +0200 Original-Received: from localhost ([::1]:53521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB8IH-0000JJ-Cv for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Oct 2011 12:56:37 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB8ID-0000J1-T5 for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2011 12:56:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RB8IC-0000X7-PW for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2011 12:56:33 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB8IC-0000X3-JK for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2011 12:56:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RB8Je-0003Y6-0T for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2011 12:58:02 -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: Tue, 04 Oct 2011 16:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9669 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.131774746213608 (code B ref -1); Tue, 04 Oct 2011 16:58:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Oct 2011 16:57:42 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RB8JJ-0003XN-T0 for submit@debbugs.gnu.org; Tue, 04 Oct 2011 12:57:42 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RB8JF-0003X8-IV for submit@debbugs.gnu.org; Tue, 04 Oct 2011 12:57:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RB8Hm-0000V2-Cs for submit@debbugs.gnu.org; Tue, 04 Oct 2011 12:56:07 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:41659) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB8Hm-0000Uy-BN for submit@debbugs.gnu.org; Tue, 04 Oct 2011 12:56:06 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB8Hl-0000EE-7C for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2011 12:56:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RB8Hk-0000UW-3c for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2011 12:56:05 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:58747) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RB8Hj-0000UP-O0 for bug-gnu-emacs@gnu.org; Tue, 04 Oct 2011 12:56:04 -0400 Original-Received: from ucsinet24.oracle.com (ucsinet24.oracle.com [156.151.31.67]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p94Gu0Fd017018 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Tue, 4 Oct 2011 16:56:02 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet24.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p94GoCdq027348 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 4 Oct 2011 16:50:12 GMT Original-Received: from abhmt113.oracle.com (abhmt113.oracle.com [141.146.116.65]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p94GtrMS024195 for ; Tue, 4 Oct 2011 11:55:54 -0500 Original-Received: from dradamslap1 (/10.159.58.205) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 04 Oct 2011 09:55:53 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcyCtnrKKCU9ztz3TxKFhrIXDbbTLQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: ucsinet24.oracle.com [156.151.31.67] X-CT-RefId: str=0001.0A090202.4E8B3AA2.00A8,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 04 Oct 2011 12:58:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) 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:52168 Archived-At: I'm seeing this in my own setup. I don't have the time to track it down further. Maybe you can reproduce it for emacs -Q (maybe not). Maybe you can understand the problem from the description here (maybe not). I do `C-h f read-char-by-name', and I see this: read-char-by-name is an alias for `icicle-read-char-by-name' in `tramp-compat.el'. I expect to see that, except that the file where `icicle-read-char-by-name' is defined is `icicles-fn.el', not `tramp-compat.el'. No idea where the latter comes from. A user clicking the `tramp-compat.el' link will go to that file and have no clue about either `read-char-by-name' or `icicle-read-char-by-name'! And if a user clicks `icicle-read-char-by-name' s?he sees only this - still no mention of `icicles-fn.el': icicle-read-char-by-name is a compiled Lisp function. The defaliasing is done dynamically, and that is perhaps what throws things off. In `icicles-mode.el', the defaliasing code is this: (defun icicle-redefine-standard-functions () (when (fboundp 'icicle-completing-read) (dolist (fn icicle-functions-to-redefine) (when (fboundp (intern (concat "old-" (symbol-name fn)))) (defalias fn (intern (concat "icicle-" (symbol-name fn)))))))) I can understand that `C-h f' would not be able to figure out which file the defaliasing was done in. But what the help seems to say is that `icicle-read-char-by-name' is defined in `tramp-compat.el', and it is not (nor is `read-char-by-name'). There is nothing in `tramp-compat.el' about `read-char'. I would expect that the help could figure out where `icicle-read-char-by-name' is defined, even if it cannot figure out where `read-char-by-name' gets defaliased to it. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2011-09-19 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.5) --no-opt'