From unknown Tue Aug 12 07:34:25 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#9669 <9669@debbugs.gnu.org> To: bug#9669 <9669@debbugs.gnu.org> Subject: Status: 24.0.50; `tramp-compat.el' in *Help* when it doesn't belong (?) Reply-To: bug#9669 <9669@debbugs.gnu.org> Date: Tue, 12 Aug 2025 14:34:25 +0000 retitle 9669 24.0.50; `tramp-compat.el' in *Help* when it doesn't belong (?) reassign 9669 emacs submitter 9669 "Drew Adams" severity 9669 minor tag 9669 wontfix thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 12:57:42 2011 Received: (at submit) by debbugs.gnu.org; 4 Oct 2011 16:57:42 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 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 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 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 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 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 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 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 Received: from dradamslap1 (/10.159.58.205) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 04 Oct 2011 09:55:53 -0700 From: "Drew Adams" To: Subject: 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> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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-Received-From: 140.186.70.17 X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) 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' From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 13:02:10 2011 Received: (at 9669) by debbugs.gnu.org; 4 Oct 2011 17:02:10 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RB8Ne-0003fA-4s for submit@debbugs.gnu.org; Tue, 04 Oct 2011 13:02:10 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RB8Na-0003f1-IG for 9669@debbugs.gnu.org; Tue, 04 Oct 2011 13:02:08 -0400 Received: from ucsinet23.oracle.com (ucsinet23.oracle.com [156.151.31.71]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p94H0XBu023255 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <9669@debbugs.gnu.org>; Tue, 4 Oct 2011 17:00:35 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet23.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p94H0WSl000937 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <9669@debbugs.gnu.org>; Tue, 4 Oct 2011 17:00:33 GMT Received: from abhmt108.oracle.com (abhmt108.oracle.com [141.146.116.60]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p94H0REs013808 for <9669@debbugs.gnu.org>; Tue, 4 Oct 2011 12:00:27 -0500 Received: from dradamslap1 (/10.159.58.205) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 04 Oct 2011 10:00:27 -0700 From: "Drew Adams" To: <9669@debbugs.gnu.org> References: <9FAA3F1BBBDA459E9BAA10031D31F161@us.oracle.com> Subject: RE: bug#9669: 24.0.50; `tramp-compat.el' in *Help* when it doesn't belong (?) Date: Tue, 4 Oct 2011 10:00:27 -0700 Message-ID: <7240AAF7F1784400878465A0CF31376B@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-reply-to: <9FAA3F1BBBDA459E9BAA10031D31F161@us.oracle.com> Thread-Index: AcyCtnrKKCU9ztz3TxKFhrIXDbbTLQAAHSPw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: ucsinet23.oracle.com [156.151.31.71] X-CT-RefId: str=0001.0A090209.4E8B3BB3.0237,ss=1,re=0.000,fgs=0 X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 9669 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) FWIW, in Emacs 23.3, the same problem occurs, but the file cited is `tramp.el', not `tramp-compat.el'. HTH. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 13:53:53 2011 Received: (at 9669) by debbugs.gnu.org; 4 Oct 2011 17:53:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RB9Bh-0004sm-6W for submit@debbugs.gnu.org; Tue, 04 Oct 2011 13:53:53 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RB9Be-0004sc-86 for 9669@debbugs.gnu.org; Tue, 04 Oct 2011 13:53:51 -0400 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id p94HqIVw021943; Tue, 4 Oct 2011 13:52:18 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id F0DADB4346; Tue, 4 Oct 2011 13:52:17 -0400 (EDT) From: Stefan Monnier To: "Drew Adams" Subject: Re: bug#9669: 24.0.50; `tramp-compat.el' in *Help* when it doesn't belong (?) Message-ID: References: <9FAA3F1BBBDA459E9BAA10031D31F161@us.oracle.com> Date: Tue, 04 Oct 2011 13:52:17 -0400 In-Reply-To: <9FAA3F1BBBDA459E9BAA10031D31F161@us.oracle.com> (Drew Adams's message of "Tue, 4 Oct 2011 09:55:54 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4000=0 X-NAI-Spam-Version: 2.2.0.9286 : core <4000> : streams <688145> : uri <975648> X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: 9669 Cc: 9669@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.1 (----) > 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 might have a vague idea why the defalias cold be attributed to another file (e.g. tramp-compat.el, because the defalias happened to be executed as part of code executed while loading tramp-compat.el) but seeing more details it's hard to know how we could try and fix it. And without more details I have no clue why icicle-read-char-by-name isn't properly attributed to icicles. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 13:58:04 2011 Received: (at 9669) by debbugs.gnu.org; 4 Oct 2011 17:58:04 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RB9Fj-0004zH-VX for submit@debbugs.gnu.org; Tue, 04 Oct 2011 13:58:04 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RB9Ff-0004yq-TS for 9669@debbugs.gnu.org; Tue, 04 Oct 2011 13:58:01 -0400 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p94HuRF6026332 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 4 Oct 2011 17:56:29 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p94HuQHr019986 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 Oct 2011 17:56:27 GMT Received: from abhmt102.oracle.com (abhmt102.oracle.com [141.146.116.54]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p94HuLNd025889; Tue, 4 Oct 2011 12:56:21 -0500 Received: from dradamslap1 (/10.159.58.205) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 04 Oct 2011 10:56:21 -0700 From: "Drew Adams" To: "'Stefan Monnier'" References: <9FAA3F1BBBDA459E9BAA10031D31F161@us.oracle.com> Subject: RE: bug#9669: 24.0.50; `tramp-compat.el' in *Help* when it doesn't belong (?) Date: Tue, 4 Oct 2011 10:56:22 -0700 Message-ID: <494CCB7AC74E4D1EA5E29B76ED77CEE7@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-reply-to: Thread-Index: AcyCvmP/YWEFNq7lRYW/bCR7zB5e5AAAC9vQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090202.4E8B48CD.0042:SCFMA922111,ss=1,re=-4.000,fgs=0 X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 9669 Cc: 9669@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) > I might have a vague idea why the defalias cold be attributed > to another file (e.g. tramp-compat.el, because the defalias > happened to be executed as part of code executed while loading > tramp-compat.el) but seeing more details it's hard to know how > we could try and fix it. And without more details I have no > clue why icicle-read-char-by-name isn't properly attributed to > icicles. I understand. It was worth a try, in case it rang a bell immediately. I don't have time to dig down deeply into this (e.g. try to make a reproducible case from emacs -Q), but perhaps you can let me know something about what additional info might help. If it doesn't take to long to dig that up, I will try to do so. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 17:42:53 2011 Received: (at 9669) by debbugs.gnu.org; 4 Oct 2011 21:42:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBClI-0005Ai-Es for submit@debbugs.gnu.org; Tue, 04 Oct 2011 17:42:53 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBClF-0005AY-5q for 9669@debbugs.gnu.org; Tue, 04 Oct 2011 17:42:51 -0400 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id p94LfFes021986; Tue, 4 Oct 2011 17:41:15 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id ACEE7B4346; Tue, 4 Oct 2011 17:41:15 -0400 (EDT) From: Stefan Monnier To: "Drew Adams" Subject: Re: bug#9669: 24.0.50; `tramp-compat.el' in *Help* when it doesn't belong (?) Message-ID: References: <9FAA3F1BBBDA459E9BAA10031D31F161@us.oracle.com> <494CCB7AC74E4D1EA5E29B76ED77CEE7@us.oracle.com> Date: Tue, 04 Oct 2011 17:41:15 -0400 In-Reply-To: <494CCB7AC74E4D1EA5E29B76ED77CEE7@us.oracle.com> (Drew Adams's message of "Tue, 4 Oct 2011 10:56:22 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4000=0 X-NAI-Spam-Version: 2.2.0.9286 : core <4000> : streams <688208> : uri <975786> X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: 9669 Cc: 9669@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.1 (----) >> I might have a vague idea why the defalias cold be attributed >> to another file (e.g. tramp-compat.el, because the defalias >> happened to be executed as part of code executed while loading >> tramp-compat.el) but seeing more details it's hard to know how >> we could try and fix it. And without more details I have no >> clue why icicle-read-char-by-name isn't properly attributed to >> icicles. > I understand. It was worth a try, in case it rang a bell immediately. > I don't have time to dig down deeply into this (e.g. try to make a reproducible > case from emacs -Q), but perhaps you can let me know something about what > additional info might help. If it doesn't take to long to dig that up, I will > try to do so. For the defalias, just place a (debug) in front of the defalias and post the resulting backtrace. For the other function, showing us how it's defined would be a good first step. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 18:16:42 2011 Received: (at 9669) by debbugs.gnu.org; 4 Oct 2011 22:16:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBDI2-00062T-Jg for submit@debbugs.gnu.org; Tue, 04 Oct 2011 18:16:42 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBDI0-00062L-2q for 9669@debbugs.gnu.org; Tue, 04 Oct 2011 18:16:40 -0400 Received: from rtcsinet21.oracle.com (rtcsinet21.oracle.com [66.248.204.29]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p94MF5Gq023754 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 4 Oct 2011 22:15:07 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by rtcsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p94MF4WT015742 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 Oct 2011 22:15:05 GMT Received: from abhmt101.oracle.com (abhmt101.oracle.com [141.146.116.53]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p94MEwa0006537; Tue, 4 Oct 2011 17:14:58 -0500 Received: from dradamslap1 (/10.159.58.205) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 04 Oct 2011 15:14:58 -0700 From: "Drew Adams" To: "'Stefan Monnier'" References: <9FAA3F1BBBDA459E9BAA10031D31F161@us.oracle.com><494CCB7AC74E4D1EA5E29B76ED77CEE7@us.oracle.com> Subject: RE: bug#9669: 24.0.50; `tramp-compat.el' in *Help* when it doesn't belong (?) Date: Tue, 4 Oct 2011 15:15:00 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-reply-to: Thread-Index: AcyC3mN3QVTYUJjFSqqjFy8ADXbeJQAA1UuA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: rtcsinet21.oracle.com [66.248.204.29] X-CT-RefId: str=0001.0A090208.4E8B856B.0111,ss=1,re=0.000,fgs=0 X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 9669 Cc: 9669@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) > For the defalias, just place a (debug) in front of the > defalias and post the resulting backtrace. Not sure what you mean. This is the backtrace upon entry: (progn (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn))))) (if (fboundp (intern (concat "old-" (symbol-name fn)))) (progn (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn)))))) (when (fboundp (intern (concat "old-" (symbol-name fn)))) (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn))))) (while --cl-dolist-temp-- (setq fn (car --cl-dolist-temp--)) (when (fboundp (intern (concat "old-" (symbol-name fn)))) (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn))))) (setq --cl-dolist-temp-- (cdr --cl-dolist-temp--))) (let ((--cl-dolist-temp-- icicle-functions-to-redefine) fn) (while --cl-dolist-temp-- (setq fn (car --cl-dolist-temp--)) (when (fboundp (intern (concat "old-" (symbol-name fn)))) (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn))))) (setq --cl-dolist-temp-- (cdr --cl-dolist-temp--)))) (catch (quote --cl-block-nil--) (let ((--cl-dolist-temp-- icicle-functions-to-redefine) fn) (while --cl-dolist-temp-- (setq fn (car --cl-dolist-temp--)) (when (fboundp (intern (concat "old-" (symbol-name fn)))) (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn))))) (setq --cl-dolist-temp-- (cdr --cl-dolist-temp--))))) (cl-block-wrapper (catch (quote --cl-block-nil--) (let ((--cl-dolist-temp-- icicle-functions-to-redefine) fn) (while --cl-dolist-temp-- (setq fn (car --cl-dolist-temp--)) (when (fboundp (intern (concat "old-" ...))) (debug) (defalias fn (intern (concat "icicle-" ...)))) (setq --cl-dolist-temp-- (cdr --cl-dolist-temp--)))))) (block nil (let ((--cl-dolist-temp-- icicle-functions-to-redefine) fn) (while --cl-dolist-temp-- (setq fn (car --cl-dolist-temp--)) (when (fboundp (intern (concat "old-" (symbol-name fn)))) (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn))))) (setq --cl-dolist-temp-- (cdr --cl-dolist-temp--))))) (dolist (fn icicle-functions-to-redefine) (when (fboundp (intern (concat "old-" (symbol-name fn)))) (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn)))))) (progn (dolist (fn icicle-functions-to-redefine) (when (fboundp (intern (concat "old-" (symbol-name fn)))) (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn))))))) (if (fboundp (quote icicle-completing-read)) (progn (dolist (fn icicle-functions-to-redefine) (when (fboundp (intern (concat "old-" (symbol-name fn)))) (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn)))))))) (when (fboundp (quote icicle-completing-read)) (dolist (fn icicle-functions-to-redefine) (when (fboundp (intern (concat "old-" (symbol-name fn)))) (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn))))))) icicle-redefine-standard-functions() (cond (icicle-mode ... (icicle-redefine-standard-functions)...) ... And this is the return value: Debugger entered--returning value: icicle-comint-dynamic-complete defalias(comint-dynamic-complete icicle-comint-dynamic-complete) (progn (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn))))) Dunno how that would help you. Let me know if you meant something different. > For the other function, showing us how it's defined would be a good > first step. What other function? This is a defalias of a standard Emacs function to an Icicles variant. There are several such defaliases. Each such pair is different. The definitions of the actual functions cannot, I think, be important, since they are all completeley different. But I'm probably misunderstanding you. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 21:08:40 2011 Received: (at 9669) by debbugs.gnu.org; 5 Oct 2011 01:08:40 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBFyR-0000NL-Il for submit@debbugs.gnu.org; Tue, 04 Oct 2011 21:08:40 -0400 Received: from acsinet14.oracle.com ([141.146.126.236]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBFyN-0000N7-Qg for 9669@debbugs.gnu.org; Tue, 04 Oct 2011 21:08:37 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet14.oracle.com (Switch-3.4.4/Switch-3.4.1) with ESMTP id p9518T1D013481 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <9669@debbugs.gnu.org>; Wed, 5 Oct 2011 01:08:29 GMT Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p9513Q20017839 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 5 Oct 2011 01:03:28 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p9513Po8000696 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 5 Oct 2011 01:03:26 GMT Received: from abhmt114.oracle.com (abhmt114.oracle.com [141.146.116.66]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p9513K1K020027; Tue, 4 Oct 2011 20:03:20 -0500 Received: from dradamslap1 (/10.159.33.40) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 04 Oct 2011 18:03:20 -0700 From: "Drew Adams" To: "'Stefan Monnier'" References: <9FAA3F1BBBDA459E9BAA10031D31F161@us.oracle.com><494CCB7AC74E4D1EA5E29B76ED77CEE7@us.oracle.com> Subject: RE: bug#9669: 24.0.50; `tramp-compat.el' in *Help* when it doesn't belong (?) Date: Tue, 4 Oct 2011 18:03:24 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-reply-to: Thread-Index: AcyC9gS9zNX+fYDEQ82r4pLtWCMChQAAg46Q X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090207.4E8BACE0.0054:SCFMA922111,ss=1,re=-6.300,fgs=0 X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 9669 Cc: 9669@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) > But it's the part in the "..." that I'm interested in (i.e. in which > context is icicle-redefine-standard-functions called). It is called when you turn on minor mode `icicle-mode'. Debugger entered--entering a function: * symbol-name(comint-dynamic-complete) icicle-redefine-standard-functions() (cond (icicle-mode (icicle-define-icicle-maps) (icicle-bind-other-keymap-keys) (add-hook (quote minibuffer-setup-hook) (quote icicle-minibuffer-setup)) (add-hook (quote minibuffer-exit-hook) (quote icicle-cancel-Help-redirection)) (add-hook (quote minibuffer-exit-hook) (quote icicle-restore-region-face)) (add-hook (quote minibuffer-exit-hook) (quote icicle-unhighlight-lighter)) (add-hook (quote icicle-post-command-hook) (quote icicle-activate-mark) (quote append)) (add-hook (quote completion-setup-hook) (quote icicle-set-calling-cmd) (quote append)) (when icicle-customize-save-flag (add-hook (quote kill-emacs-hook) (quote icicle-command-abbrev-save))) (add-hook (quote comint-mode-hook) (quote icicle-comint-hook-fn)) (add-hook (quote compilation-mode-hook) (quote icicle-compilation-hook-fn)) (add-hook (quote compilation-minor-mode-hook) (quote icicle-compilation-hook-fn)) (icicle-undo-std-completion-faces) (icicle-redefine-std-completion-fns) (icicle-redefine-standard-functions) (icicle-redefine-standard-options) (when (ad-find-some-advice (quote describe-face) (quote before) (quote icicle-respect-WYSIWYG)) (ad-enable-advice (quote describe-face) (quote before) (quote icicle-respect-WYSIWYG))) (when (fboundp (quote minibuffer-depth-indicate-mode)) (minibuffer-depth-indicate-mode 99)) (if icicle-menu-items-to-history-flag (add-hook (quote pre-command-hook) (quote icicle-add-menu-item-to-cmd-history)) (remove-hook (quote pre-command-hook) (quote icicle-add-menu-item-to-cmd-history))) (when (> emacs-major-version 22) (when icicle-populate-interactive-history-flag (ad-enable-advice (quote call-interactively) (quote after) (quote icicle-save-to-history))) (ad-activate (quote call-interactively))) (dolist (fn icicle-inhibit-advice-functions) (when (and (fboundp fn) (ad-is-active fn)) (push (cons fn (ad-copy-advice-info fn)) icicle-advice-info-list) (ad-deactivate fn)))) (t (makunbound (quote icicle-mode-map)) (icicle-restore-other-keymap-keys) (remove-hook (quote minibuffer-setup-hook) (quote icicle-minibuffer-setup)) (remove-hook (quote minibuffer-exit-hook) (quote icicle-cancel-Help-redirection)) (remove-hook (quote minibuffer-exit-hook) (quote icicle-restore-region-face)) (remove-hook (quote icicle-post-command-hook) (quote icicle-activate-mark)) (remove-hook (quote pre-command-hook) (quote icicle-top-level-prep)) (remove-hook (quote pre-command-hook) (quote icicle-run-icicle-pre-command-hook) t) (remove-hook (quote post-command-hook) (quote icicle-run-icicle-post-command-hook) t) (remove-hook (quote completion-setup-hook) (quote icicle-set-calling-cmd)) (remove-hook (quote kill-emacs-hook) (quote icicle-command-abbrev-save)) (remove-hook (quote comint-mode-hook) (quote icicle-comint-hook-fn)) (remove-hook (quote compilation-mode-hook) (quote icicle-compilation-hook-fn)) (remove-hook (quote compilation-minor-mode-hook) (quote icicle-compilation-hook-fn)) (icicle-restore-std-completion-fns) (icicle-restore-standard-functions) (icicle-restore-standard-options) (when (ad-find-some-advice (quote describe-face) (quote before) (quote icicle-respect-WYSIWYG)) (ad-disable-advice (quote describe-face) (quote before) (quote icicle-respect-WYSIWYG))) (when (fboundp (quote minibuffer-depth-indicate-mode)) (minibuffer-depth-indicate-mode -99)) (remove-hook (quote pre-command-hook) (quote icicle-add-menu-item-to-cmd-history)) (when (> emacs-major-version 22) (ad-disable-advice (quote call-interactively) (quote after) (quote icicle-save-to-history)) (ad-activate (quote call-interactively))) (dolist (fn icicle-inhibit-advice-functions) (let ((info (memq fn icicle-advice-info-list))) (when (and (fboundp fn) info) (ad-set-advice-info fn info) (when (ad-is-active fn) (ad-activate fn))))))) (let ((last-message (current-message))) (setq icicle-mode (if (eq arg (quote toggle)) (not icicle-mode) (> (prefix-numeric-value arg) 0))) (cond (icicle-mode (icicle-define-icicle-maps) (icicle-bind-other-keymap-keys) (add-hook (quote minibuffer-setup-hook) (quote icicle-minibuffer-setup)) (add-hook (quote minibuffer-exit-hook) (quote icicle-cancel-Help-redirection)) (add-hook (quote minibuffer-exit-hook) (quote icicle-restore-region-face)) (add-hook (quote minibuffer-exit-hook) (quote icicle-unhighlight-lighter)) (add-hook (quote icicle-post-command-hook) (quote icicle-activate-mark) (quote append)) (add-hook (quote completion-setup-hook) (quote icicle-set-calling-cmd) (quote append)) (when icicle-customize-save-flag (add-hook (quote kill-emacs-hook) (quote icicle-command-abbrev-save))) (add-hook (quote comint-mode-hook) (quote icicle-comint-hook-fn)) (add-hook (quote compilation-mode-hook) (quote icicle-compilation-hook-fn)) (add-hook (quote compilation-minor-mode-hook) (quote icicle-compilation-hook-fn)) (icicle-undo-std-completion-faces) (icicle-redefine-std-completion-fns) (icicle-redefine-standard-functions) (icicle-redefine-standard-options) (when (ad-find-some-advice (quote describe-face) (quote before) (quote icicle-respect-WYSIWYG)) (ad-enable-advice (quote describe-face) (quote before) (quote icicle-respect-WYSIWYG))) (when (fboundp (quote minibuffer-depth-indicate-mode)) (minibuffer-depth-indicate-mode 99)) (if icicle-menu-items-to-history-flag (add-hook (quote pre-command-hook) (quote icicle-add-menu-item-to-cmd-history)) (remove-hook (quote pre-command-hook) (quote icicle-add-menu-item-to-cmd-history))) (when (> emacs-major-version 22) (when icicle-populate-interactive-history-flag (ad-enable-advice (quote call-interactively) (quote after) (quote icicle-save-to-history))) (ad-activate (quote call-interactively))) (dolist (fn icicle-inhibit-advice-functions) (when (and (fboundp fn) (ad-is-active fn)) (push (cons fn (ad-copy-advice-info fn)) icicle-advice-info-list) (ad-deactivate fn)))) (t (makunbound (quote icicle-mode-map)) (icicle-restore-other-keymap-keys) (remove-hook (quote minibuffer-setup-hook) (quote icicle-minibuffer-setup)) (remove-hook (quote minibuffer-exit-hook) (quote icicle-cancel-Help-redirection)) (remove-hook (quote minibuffer-exit-hook) (quote icicle-restore-region-face)) (remove-hook (quote icicle-post-command-hook) (quote icicle-activate-mark)) (remove-hook (quote pre-command-hook) (quote icicle-top-level-prep)) (remove-hook (quote pre-command-hook) (quote icicle-run-icicle-pre-command-hook) t) (remove-hook (quote post-command-hook) (quote icicle-run-icicle-post-command-hook) t) (remove-hook (quote completion-setup-hook) (quote icicle-set-calling-cmd)) (remove-hook (quote kill-emacs-hook) (quote icicle-command-abbrev-save)) (remove-hook (quote comint-mode-hook) (quote icicle-comint-hook-fn)) (remove-hook (quote compilation-mode-hook) (quote icicle-compilation-hook-fn)) (remove-hook (quote compilation-minor-mode-hook) (quote icicle-compilation-hook-fn)) (icicle-restore-std-completion-fns) (icicle-restore-standard-functions) (icicle-restore-standard-options) (when (ad-find-some-advice (quote describe-face) (quote before) (quote icicle-respect-WYSIWYG)) (ad-disable-advice (quote describe-face) (quote before) (quote icicle-respect-WYSIWYG))) (when (fboundp (quote minibuffer-depth-indicate-mode)) (minibuffer-depth-indicate-mode -99)) (remove-hook (quote pre-command-hook) (quote icicle-add-menu-item-to-cmd-history)) (when (> emacs-major-version 22) (ad-disable-advice (quote call-interactively) (quote after) (quote icicle-save-to-history)) (ad-activate (quote call-interactively))) (dolist (fn icicle-inhibit-advice-functions) (let ((info (memq fn icicle-advice-info-list))) (when (and (fboundp fn) info) (ad-set-advice-info fn info) (when (ad-is-active fn) (ad-activate fn))))))) (unless (eq icicle-guess-commands-in-path (quote load)) (setq icicle-shell-command-candidates-cache nil)) (message "Turning %s Icicle mode..." (if icicle-mode "ON" "OFF")) (icicle-define-minibuffer-maps icicle-mode) (run-hooks (quote icicle-mode-hook)) (message "Turning %s Icicle mode...done" (if icicle-mode "ON" "OFF")) (run-hooks (quote icicle-mode-hook) (if icicle-mode (quote icicle-mode-on-hook) (quote icicle-mode-off-hook))) (if (called-interactively-p (quote any)) (progn (customize-mark-as-set (quote icicle-mode)) (unless (and (current-message) (not (equal last-message (current-message)))) (message "Icicle mode %sabled" (if icicle-mode "en" "dis")))))) icy-mode(1) ... > >> For the other function, showing us how it's defined would be a > >> good first step. > > What other function? > The one you said Emacs couldn't discover where it's defined. As I said, there are about 30 such "other functions", and all of their definitions are different. But I guess you are interested in the context of the definition and not the definition itself. All are defined pretty much at the top level of an Icicles file, so they get defined each time the file is loaded. (The defalias for the `old-*' function to restore to is done only on the first load of the file.) E.g.: (unless (fboundp 'old-display-completion-list) (defalias 'old-display-completion-list (symbol-function 'display-completion-list))) (defun icicle-display-completion-list (completions &optional ignored) ...) In this example, `icicle-display-completion-list' would be the file that Emacs thinks is defined in `tramp-compat.el'. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 04 21:44:51 2011 Received: (at 9669) by debbugs.gnu.org; 5 Oct 2011 01:44:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBGXT-0001CE-2p for submit@debbugs.gnu.org; Tue, 04 Oct 2011 21:44:51 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBGXR-0001C2-2i for 9669@debbugs.gnu.org; Tue, 04 Oct 2011 21:44:50 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAPuji05FpZLc/2dsb2JhbABCqA+BBoFTAQEEAVYjBQsLNBIUGA0kiBC3PocjBKEDhEQ X-IronPort-AV: E=Sophos;i="4.68,488,1312171200"; d="scan'208";a="139961651" Received: from 69-165-146-220.dsl.teksavvy.com (HELO pastel.home) ([69.165.146.220]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 04 Oct 2011 20:30:35 -0400 Received: by pastel.home (Postfix, from userid 20848) id E98245925E; Tue, 4 Oct 2011 20:30:34 -0400 (EDT) From: Stefan Monnier To: "Drew Adams" Subject: Re: bug#9669: 24.0.50; `tramp-compat.el' in *Help* when it doesn't belong (?) Message-ID: References: <9FAA3F1BBBDA459E9BAA10031D31F161@us.oracle.com> <494CCB7AC74E4D1EA5E29B76ED77CEE7@us.oracle.com> Date: Tue, 04 Oct 2011 20:30:34 -0400 In-Reply-To: (Drew Adams's message of "Tue, 4 Oct 2011 15:15:00 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 9669 Cc: 9669@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) >> For the defalias, just place a (debug) in front of the >> defalias and post the resulting backtrace. > Not sure what you mean. This is the backtrace upon entry: I meant exactly what you did... [...] > icicle-redefine-standard-functions() > (cond (icicle-mode ... (icicle-redefine-standard-functions)...) > ... But it's the part in the "..." that I'm interested in (i.e. in which context is icicle-redefine-standard-functions called). >> For the other function, showing us how it's defined would be a good >> first step. > What other function? The one you said Emacs couldn't discover where it's defined. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 05 12:35:02 2011 Received: (at 9669) by debbugs.gnu.org; 5 Oct 2011 16:35:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBUQw-0001FX-8k for submit@debbugs.gnu.org; Wed, 05 Oct 2011 12:35:02 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBUQt-0001FC-Lp for 9669@debbugs.gnu.org; Wed, 05 Oct 2011 12:35:01 -0400 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id p95GYsl8002534; Wed, 5 Oct 2011 12:34:54 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id C4781B4346; Wed, 5 Oct 2011 12:34:54 -0400 (EDT) From: Stefan Monnier To: "Drew Adams" Subject: Re: bug#9669: 24.0.50; `tramp-compat.el' in *Help* when it doesn't belong (?) Message-ID: References: <9FAA3F1BBBDA459E9BAA10031D31F161@us.oracle.com> <494CCB7AC74E4D1EA5E29B76ED77CEE7@us.oracle.com> Date: Wed, 05 Oct 2011 12:34:54 -0400 In-Reply-To: (Drew Adams's message of "Tue, 4 Oct 2011 18:03:24 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4001=0 X-NAI-Spam-Version: 2.2.0.9286 : core <4001> : streams <688514> : uri <976395> X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: 9669 Cc: 9669@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.1 (----) >> But it's the part in the "..." that I'm interested in (i.e. in which >> context is icicle-redefine-standard-functions called). > It is called when you turn on minor mode `icicle-mode'. [...] > "dis")))))) > icy-mode(1) > ... I'm not sure what that backtrace was about (the tip was different from the other one, for example), and it still doesn't seem to include the beginning. Basically, I'd expect this backtrace to have something to do with Tramp, otherwise I have no clue how the defalias gets attributed to tramp-compat.el. > In this example, `icicle-display-completion-list' would be the file > that Emacs thinks is defined in `tramp-compat.el'. Huh? You said Emacs told you: icicle-read-char-by-name is a compiled Lisp function. I.e. the actual function has no associated file (rather than being associated to tramp-compat.el), while the defalias is associated with tramp-compat.el. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 05 13:07:19 2011 Received: (at 9669) by debbugs.gnu.org; 5 Oct 2011 17:07:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBUwA-000257-BE for submit@debbugs.gnu.org; Wed, 05 Oct 2011 13:07:19 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBUw6-00024t-Fw for 9669@debbugs.gnu.org; Wed, 05 Oct 2011 13:07:15 -0400 Received: from ucsinet23.oracle.com (ucsinet23.oracle.com [156.151.31.71]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p95H71lH022940 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 5 Oct 2011 17:07:03 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet23.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p95H70LB022447 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 5 Oct 2011 17:07:01 GMT Received: from abhmt111.oracle.com (abhmt111.oracle.com [141.146.116.63]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p95H6tsN004994; Wed, 5 Oct 2011 12:06:55 -0500 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 05 Oct 2011 10:06:55 -0700 From: "Drew Adams" To: "'Stefan Monnier'" References: <9FAA3F1BBBDA459E9BAA10031D31F161@us.oracle.com><494CCB7AC74E4D1EA5E29B76ED77CEE7@us.oracle.com> Subject: RE: bug#9669: 24.0.50; `tramp-compat.el' in *Help* when it doesn't belong (?) Date: Wed, 5 Oct 2011 10:06:55 -0700 Message-ID: <22AF24DE217344A19DDE7B62F90BAA43@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AcyDfL0usKaV4hmUTb20YEaLVqL1IAAAaLlg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: ucsinet23.oracle.com [156.151.31.71] X-CT-RefId: str=0001.0A020205.4E8C8EB8.0051,ss=1,re=-2.300,fgs=0 X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 9669 Cc: 9669@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) > > It is called when you turn on minor mode `icicle-mode'. > > icy-mode(1) > > I'm not sure what that backtrace was about (the tip was different from > the other one, for example), I had hit `d' once, thinking that the info shown after `d' would be more helpful. That is the only difference from the previous backtrace I sent. > and it still doesn't seem to include the beginning. As I've tried to say a couple times now, it does not matter what calls `icy-mode' (aka `icicle-mode') to turn on Icicle mode (the result is the same). That's why I trimmed off the actual call to it. > Basically, I'd expect this backtrace to have something to do > with Tramp, otherwise I have no clue how the defalias gets > attributed to tramp-compat.el. No, there is nothing about "tramp" in the backtrace. I already looked for that. I have no clue either. I've included the entire backtrace again (below), this time as soon as the debugger is entered, rather than after hitting `d' once, and this time including the call to `execute-extended-command' that invokes `icy-mode' to enter Icicle mode. > > In this example, `icicle-display-completion-list' would be the file > > that Emacs thinks is defined in `tramp-compat.el'. > > Huh? You said Emacs told you: > icicle-read-char-by-name is a compiled Lisp function. > I.e. the actual function has no associated file (rather than being > associated to tramp-compat.el), while the defalias is associated with > tramp-compat.el. Correct. That's what I meant, but I misspoke. In that example, `icicle-display-completion-list' is the function that Emacs thinks has no associated file, and `display-completion-list' is the function Emacs thinks is defined in `tramp-compat.el'. In case it helps, after toggling Icicle mode OFF, this is what the help buffer says: read-char-by-name is an alias for `old-read-char-by-name' in `tramp-compat.el'. Again, that's correct except for the file name. But this time, if you click the function name it _correctly_ shows this: old-read-char-by-name is a compiled Lisp function in `icicles-fn.el'. So the second problem (no file name) does not occur in this case. But the first problem (file = tramp-compat.el) is still there. And yes, this is repeatable (turning on/off Icicle mode). HTH. -------------- Debugger entered: nil (progn (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn))))) (if (fboundp (intern (concat "old-" (symbol-name fn)))) (progn (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn)))))) (when (fboundp (intern (concat "old-" (symbol-name fn)))) (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn))))) (while --cl-dolist-temp-- (setq fn (car --cl-dolist-temp--)) (when (fboundp (intern (concat "old-" (symbol-name fn)))) (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn))))) (setq --cl-dolist-temp-- (cdr --cl-dolist-temp--))) (let ((--cl-dolist-temp-- icicle-functions-to-redefine) fn) (while --cl-dolist-temp-- (setq fn (car --cl-dolist-temp--)) (when (fboundp (intern (concat "old-" (symbol-name fn)))) (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn))))) (setq --cl-dolist-temp-- (cdr --cl-dolist-temp--)))) (catch (quote --cl-block-nil--) (let ((--cl-dolist-temp-- icicle-functions-to-redefine) fn) (while --cl-dolist-temp-- (setq fn (car --cl-dolist-temp--)) (when (fboundp (intern (concat "old-" (symbol-name fn)))) (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn))))) (setq --cl-dolist-temp-- (cdr --cl-dolist-temp--))))) (cl-block-wrapper (catch (quote --cl-block-nil--) (let ((--cl-dolist-temp-- icicle-functions-to-redefine) fn) (while --cl-dolist-temp-- (setq fn (car --cl-dolist-temp--)) (when (fboundp (intern (concat "old-" ...))) (debug) (defalias fn (intern (concat "icicle-" ...)))) (setq --cl-dolist-temp-- (cdr --cl-dolist-temp--)))))) (block nil (let ((--cl-dolist-temp-- icicle-functions-to-redefine) fn) (while --cl-dolist-temp-- (setq fn (car --cl-dolist-temp--)) (when (fboundp (intern (concat "old-" (symbol-name fn)))) (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn))))) (setq --cl-dolist-temp-- (cdr --cl-dolist-temp--))))) (dolist (fn icicle-functions-to-redefine) (when (fboundp (intern (concat "old-" (symbol-name fn)))) (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn)))))) (progn (dolist (fn icicle-functions-to-redefine) (when (fboundp (intern (concat "old-" (symbol-name fn)))) (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn))))))) (if (fboundp (quote icicle-completing-read)) (progn (dolist (fn icicle-functions-to-redefine) (when (fboundp (intern (concat "old-" (symbol-name fn)))) (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn)))))))) (when (fboundp (quote icicle-completing-read)) (dolist (fn icicle-functions-to-redefine) (when (fboundp (intern (concat "old-" (symbol-name fn)))) (debug) (defalias fn (intern (concat "icicle-" (symbol-name fn))))))) icicle-redefine-standard-functions() (cond (icicle-mode (icicle-define-icicle-maps) (icicle-bind-other-keymap-keys) (add-hook (quote minibuffer-setup-hook) (quote icicle-minibuffer-setup)) (add-hook (quote minibuffer-exit-hook) (quote icicle-cancel-Help-redirection)) (add-hook (quote minibuffer-exit-hook) (quote icicle-restore-region-face)) (add-hook (quote minibuffer-exit-hook) (quote icicle-unhighlight-lighter)) (add-hook (quote icicle-post-command-hook) (quote icicle-activate-mark) (quote append)) (add-hook (quote completion-setup-hook) (quote icicle-set-calling-cmd) (quote append)) (when icicle-customize-save-flag (add-hook (quote kill-emacs-hook) (quote icicle-command-abbrev-save))) (add-hook (quote comint-mode-hook) (quote icicle-comint-hook-fn)) (add-hook (quote compilation-mode-hook) (quote icicle-compilation-hook-fn)) (add-hook (quote compilation-minor-mode-hook) (quote icicle-compilation-hook-fn)) (icicle-undo-std-completion-faces) (icicle-redefine-std-completion-fns) (icicle-redefine-standard-functions) (icicle-redefine-standard-options) (when (ad-find-some-advice (quote describe-face) (quote before) (quote icicle-respect-WYSIWYG)) (ad-enable-advice (quote describe-face) (quote before) (quote icicle-respect-WYSIWYG))) (when (fboundp (quote minibuffer-depth-indicate-mode)) (minibuffer-depth-indicate-mode 99)) (if icicle-menu-items-to-history-flag (add-hook (quote pre-command-hook) (quote icicle-add-menu-item-to-cmd-history)) (remove-hook (quote pre-command-hook) (quote icicle-add-menu-item-to-cmd-history))) (when (> emacs-major-version 22) (when icicle-populate-interactive-history-flag (ad-enable-advice (quote call-interactively) (quote after) (quote icicle-save-to-history))) (ad-activate (quote call-interactively))) (dolist (fn icicle-inhibit-advice-functions) (when (and (fboundp fn) (ad-is-active fn)) (push (cons fn (ad-copy-advice-info fn)) icicle-advice-info-list) (ad-deactivate fn)))) (t (makunbound (quote icicle-mode-map)) (icicle-restore-other-keymap-keys) (remove-hook (quote minibuffer-setup-hook) (quote icicle-minibuffer-setup)) (remove-hook (quote minibuffer-exit-hook) (quote icicle-cancel-Help-redirection)) (remove-hook (quote minibuffer-exit-hook) (quote icicle-restore-region-face)) (remove-hook (quote icicle-post-command-hook) (quote icicle-activate-mark)) (remove-hook (quote pre-command-hook) (quote icicle-top-level-prep)) (remove-hook (quote pre-command-hook) (quote icicle-run-icicle-pre-command-hook) t) (remove-hook (quote post-command-hook) (quote icicle-run-icicle-post-command-hook) t) (remove-hook (quote completion-setup-hook) (quote icicle-set-calling-cmd)) (remove-hook (quote kill-emacs-hook) (quote icicle-command-abbrev-save)) (remove-hook (quote comint-mode-hook) (quote icicle-comint-hook-fn)) (remove-hook (quote compilation-mode-hook) (quote icicle-compilation-hook-fn)) (remove-hook (quote compilation-minor-mode-hook) (quote icicle-compilation-hook-fn)) (icicle-restore-std-completion-fns) (icicle-restore-standard-functions) (icicle-restore-standard-options) (when (ad-find-some-advice (quote describe-face) (quote before) (quote icicle-respect-WYSIWYG)) (ad-disable-advice (quote describe-face) (quote before) (quote icicle-respect-WYSIWYG))) (when (fboundp (quote minibuffer-depth-indicate-mode)) (minibuffer-depth-indicate-mode -99)) (remove-hook (quote pre-command-hook) (quote icicle-add-menu-item-to-cmd-history)) (when (> emacs-major-version 22) (ad-disable-advice (quote call-interactively) (quote after) (quote icicle-save-to-history)) (ad-activate (quote call-interactively))) (dolist (fn icicle-inhibit-advice-functions) (let ((info (memq fn icicle-advice-info-list))) (when (and (fboundp fn) info) (ad-set-advice-info fn info) (when (ad-is-active fn) (ad-activate fn))))))) (let ((last-message (current-message))) (setq icicle-mode (if (eq arg (quote toggle)) (not icicle-mode) (> (prefix-numeric-value arg) 0))) (cond (icicle-mode (icicle-define-icicle-maps) (icicle-bind-other-keymap-keys) (add-hook (quote minibuffer-setup-hook) (quote icicle-minibuffer-setup)) (add-hook (quote minibuffer-exit-hook) (quote icicle-cancel-Help-redirection)) (add-hook (quote minibuffer-exit-hook) (quote icicle-restore-region-face)) (add-hook (quote minibuffer-exit-hook) (quote icicle-unhighlight-lighter)) (add-hook (quote icicle-post-command-hook) (quote icicle-activate-mark) (quote append)) (add-hook (quote completion-setup-hook) (quote icicle-set-calling-cmd) (quote append)) (when icicle-customize-save-flag (add-hook (quote kill-emacs-hook) (quote icicle-command-abbrev-save))) (add-hook (quote comint-mode-hook) (quote icicle-comint-hook-fn)) (add-hook (quote compilation-mode-hook) (quote icicle-compilation-hook-fn)) (add-hook (quote compilation-minor-mode-hook) (quote icicle-compilation-hook-fn)) (icicle-undo-std-completion-faces) (icicle-redefine-std-completion-fns) (icicle-redefine-standard-functions) (icicle-redefine-standard-options) (when (ad-find-some-advice (quote describe-face) (quote before) (quote icicle-respect-WYSIWYG)) (ad-enable-advice (quote describe-face) (quote before) (quote icicle-respect-WYSIWYG))) (when (fboundp (quote minibuffer-depth-indicate-mode)) (minibuffer-depth-indicate-mode 99)) (if icicle-menu-items-to-history-flag (add-hook (quote pre-command-hook) (quote icicle-add-menu-item-to-cmd-history)) (remove-hook (quote pre-command-hook) (quote icicle-add-menu-item-to-cmd-history))) (when (> emacs-major-version 22) (when icicle-populate-interactive-history-flag (ad-enable-advice (quote call-interactively) (quote after) (quote icicle-save-to-history))) (ad-activate (quote call-interactively))) (dolist (fn icicle-inhibit-advice-functions) (when (and (fboundp fn) (ad-is-active fn)) (push (cons fn (ad-copy-advice-info fn)) icicle-advice-info-list) (ad-deactivate fn)))) (t (makunbound (quote icicle-mode-map)) (icicle-restore-other-keymap-keys) (remove-hook (quote minibuffer-setup-hook) (quote icicle-minibuffer-setup)) (remove-hook (quote minibuffer-exit-hook) (quote icicle-cancel-Help-redirection)) (remove-hook (quote minibuffer-exit-hook) (quote icicle-restore-region-face)) (remove-hook (quote icicle-post-command-hook) (quote icicle-activate-mark)) (remove-hook (quote pre-command-hook) (quote icicle-top-level-prep)) (remove-hook (quote pre-command-hook) (quote icicle-run-icicle-pre-command-hook) t) (remove-hook (quote post-command-hook) (quote icicle-run-icicle-post-command-hook) t) (remove-hook (quote completion-setup-hook) (quote icicle-set-calling-cmd)) (remove-hook (quote kill-emacs-hook) (quote icicle-command-abbrev-save)) (remove-hook (quote comint-mode-hook) (quote icicle-comint-hook-fn)) (remove-hook (quote compilation-mode-hook) (quote icicle-compilation-hook-fn)) (remove-hook (quote compilation-minor-mode-hook) (quote icicle-compilation-hook-fn)) (icicle-restore-std-completion-fns) (icicle-restore-standard-functions) (icicle-restore-standard-options) (when (ad-find-some-advice (quote describe-face) (quote before) (quote icicle-respect-WYSIWYG)) (ad-disable-advice (quote describe-face) (quote before) (quote icicle-respect-WYSIWYG))) (when (fboundp (quote minibuffer-depth-indicate-mode)) (minibuffer-depth-indicate-mode -99)) (remove-hook (quote pre-command-hook) (quote icicle-add-menu-item-to-cmd-history)) (when (> emacs-major-version 22) (ad-disable-advice (quote call-interactively) (quote after) (quote icicle-save-to-history)) (ad-activate (quote call-interactively))) (dolist (fn icicle-inhibit-advice-functions) (let ((info (memq fn icicle-advice-info-list))) (when (and (fboundp fn) info) (ad-set-advice-info fn info) (when (ad-is-active fn) (ad-activate fn))))))) (unless (eq icicle-guess-commands-in-path (quote load)) (setq icicle-shell-command-candidates-cache nil)) (message "Turning %s Icicle mode..." (if icicle-mode "ON" "OFF")) (icicle-define-minibuffer-maps icicle-mode) (run-hooks (quote icicle-mode-hook)) (message "Turning %s Icicle mode...done" (if icicle-mode "ON" "OFF")) (run-hooks (quote icicle-mode-hook) (if icicle-mode (quote icicle-mode-on-hook) (quote icicle-mode-off-hook))) (if (called-interactively-p (quote any)) (progn (customize-mark-as-set (quote icicle-mode)) (unless (and (current-message) (not (equal last-message (current-message)))) (message "Icicle mode %sabled" (if icicle-mode "en" "dis")))))) icy-mode(toggle) call-interactively(icy-mode t nil) execute-extended-command(nil) call-interactively(execute-extended-command nil nil) From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 05 13:41:37 2011 Received: (at 9669) by debbugs.gnu.org; 5 Oct 2011 17:41:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBVTM-0002tI-CF for submit@debbugs.gnu.org; Wed, 05 Oct 2011 13:41:37 -0400 Received: from rcsinet15.oracle.com ([148.87.113.117]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBVTI-0002t4-HK for 9669@debbugs.gnu.org; Wed, 05 Oct 2011 13:41:34 -0400 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p95HfKcp005390 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 5 Oct 2011 17:41:22 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p95HfJX6023641 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 5 Oct 2011 17:41:20 GMT Received: from abhmt110.oracle.com (abhmt110.oracle.com [141.146.116.62]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p95HfE4j000465; Wed, 5 Oct 2011 12:41:14 -0500 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 05 Oct 2011 10:41:13 -0700 From: "Drew Adams" To: "'Stefan Monnier'" References: <9FAA3F1BBBDA459E9BAA10031D31F161@us.oracle.com><494CCB7AC74E4D1EA5E29B76ED77CEE7@us.oracle.com> <22AF24DE217344A19DDE7B62F90BAA43@us.oracle.com> Subject: RE: bug#9669: 24.0.50; `tramp-compat.el' in *Help* when it doesn't belong (?) Date: Wed, 5 Oct 2011 10:41:14 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <22AF24DE217344A19DDE7B62F90BAA43@us.oracle.com> Thread-Index: AcyDfL0usKaV4hmUTb20YEaLVqL1IAAAaLlgAAFg0JA= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6109 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090206.4E8C96C2.00CC:SCFMA922111,ss=1,re=-4.000,fgs=0 X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 9669 Cc: 9669@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) Some more info about this, which I'm guessing now might be pertinent (#2). Didn't think of it before. 1. I see the same problem for any function that is not defined at top level, e.g., when the `defun' is inside a top-level (when (...): (when (fboundp 'map-keymap) (defun icicle-complete-keys...)...) C-h f icicle-complete-keys icicle-complete-keys is an interactive compiled Lisp function. 2. I compile the files using Emacs 20, not Emacs 24. Maybe #2 is the root of the problem? I see the same problem in Emacs 23.3. But in Emacs 22.3 I do not see it (still using *.elc compiled with Emacs 20). This is what Emacs 22.3 says: icicle-display-completion-list is a compiled Lisp function in `icicles-fn.el'. Dunno whether this can be fixed for Emacs 23+, if in fact the version the files are compiled in is the problem. I know that Emacs 23+-specific functionality is generally not available using files compiled with an earlier version. But functionality that is not Emacs 23+-specific still works fine. HTH. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 18 15:46:46 2011 Received: (at 9669) by debbugs.gnu.org; 18 Oct 2011 19:46:46 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGFcb-00079u-Jh for submit@debbugs.gnu.org; Tue, 18 Oct 2011 15:46:46 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGFcY-00079l-0A for 9669@debbugs.gnu.org; Tue, 18 Oct 2011 15:46:43 -0400 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id p9IJjcW2031121; Tue, 18 Oct 2011 15:45:38 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 24463B4031; Tue, 18 Oct 2011 15:45:42 -0400 (EDT) From: Stefan Monnier To: "Drew Adams" Subject: Re: bug#9669: 24.0.50; `tramp-compat.el' in *Help* when it doesn't belong (?) Message-ID: References: <9FAA3F1BBBDA459E9BAA10031D31F161@us.oracle.com> <494CCB7AC74E4D1EA5E29B76ED77CEE7@us.oracle.com> <22AF24DE217344A19DDE7B62F90BAA43@us.oracle.com> Date: Tue, 18 Oct 2011 15:45:42 -0400 In-Reply-To: (Drew Adams's message of "Wed, 5 Oct 2011 10:41:14 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4014=0 X-NAI-Spam-Version: 2.2.0.9286 : core <4014> : streams <692915> : uri <986527> X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 9669 Cc: 9669@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) > 1. I see the same problem for any function that is not defined at top level, > e.g., when the `defun' is inside a top-level (when (...): That's partly expected: the byte-compiler handles those slightly differently. > 2. I compile the files using Emacs 20, not Emacs 24. > Maybe #2 is the root of the problem? I'd say you found your problem, indeed. > I see the same problem in Emacs 23.3. But in Emacs 22.3 I do not see it (still > using *.elc compiled with Emacs 20). This is what Emacs 22.3 says: At least here, when loading Emacs-20's speedbar.elc with Emacs-22, C-h f speedbar-mouse-event-p tells me it's a compiled function and doesn't tell me where it comes from. Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 14 03:33:26 2013 Received: (at 9669-done) by debbugs.gnu.org; 14 Feb 2013 08:33:26 +0000 Received: from localhost ([127.0.0.1]:55033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5uFw-0007kk-IL for submit@debbugs.gnu.org; Thu, 14 Feb 2013 03:33:25 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:33080) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5uFu-0007kb-5b for 9669-done@debbugs.gnu.org; Thu, 14 Feb 2013 03:33:23 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1U5uFJ-0005iS-H3; Thu, 14 Feb 2013 03:32:45 -0500 From: Glenn Morris To: 9669-done@debbugs.gnu.org Subject: Re: bug#9669: 24.0.50; `tramp-compat.el' in *Help* when it doesn't belong (?) References: <9FAA3F1BBBDA459E9BAA10031D31F161@us.oracle.com> <494CCB7AC74E4D1EA5E29B76ED77CEE7@us.oracle.com> <22AF24DE217344A19DDE7B62F90BAA43@us.oracle.com> X-Spook: Iran Mantis tempest Saddam Hussein security bce Kh-11 BRLO X-Ran: =MFyDz#qXa{!>.i]N6.,?r[N (Stefan Monnier's message of "Tue, 18 Oct 2011 15:45:42 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 9669-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Stefan Monnier wrote: >> 2. I compile the files using Emacs 20, not Emacs 24. >> Maybe #2 is the root of the problem? > > I'd say you found your problem, indeed. From unknown Tue Aug 12 07:34:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 14 Mar 2013 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator