From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#6923: 24.0.50; Can't load remote elc.gz file using tramp-ftp Date: Fri, 27 Aug 2010 12:37:25 +0200 Message-ID: <87vd6w9w9m.fsf@gmx.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1282905650 23766 80.91.229.12 (27 Aug 2010 10:40:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 27 Aug 2010 10:40:50 +0000 (UTC) Cc: 6923@debbugs.gnu.org To: Katsumi Yamaoka Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 27 12:40:48 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OowMD-00070b-AD for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Aug 2010 12:40:46 +0200 Original-Received: from localhost ([127.0.0.1]:36889 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OowM4-0004T3-18 for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Aug 2010 06:40:16 -0400 Original-Received: from [140.186.70.92] (port=53045 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OowLl-0004Gi-RV for bug-gnu-emacs@gnu.org; Fri, 27 Aug 2010 06:40:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OowLH-0005U9-3y for bug-gnu-emacs@gnu.org; Fri, 27 Aug 2010 06:39:31 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47430) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OowLH-0005U5-2e for bug-gnu-emacs@gnu.org; Fri, 27 Aug 2010 06:39:27 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OowIw-00044w-1D; Fri, 27 Aug 2010 06:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Aug 2010 10:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6923 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6923-submit@debbugs.gnu.org id=B6923.128290537215659 (code B ref 6923); Fri, 27 Aug 2010 10:37:01 +0000 Original-Received: (at 6923) by debbugs.gnu.org; 27 Aug 2010 10:36:12 +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 1OowI7-00044W-Lw for submit@debbugs.gnu.org; Fri, 27 Aug 2010 06:36:12 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22] helo=mail.gmx.net) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OowI4-00044P-HX for 6923@debbugs.gnu.org; Fri, 27 Aug 2010 06:36:09 -0400 Original-Received: (qmail invoked by alias); 27 Aug 2010 10:37:33 -0000 Original-Received: from p4FC18BD9.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [79.193.139.217] by mail.gmx.net (mp008) with SMTP; 27 Aug 2010 12:37:33 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1+FFwdc8NmF//ixXYAJAFcpH1v7/mpbrCiwr66Jrj M72fQeCml8P5Qu In-Reply-To: (Katsumi Yamaoka's message of "Fri, 27 Aug 2010 17:02:32 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 27 Aug 2010 06:37:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:39782 Archived-At: Katsumi Yamaoka writes: > Hi, Hi, > This might not be a bug and there might not be a demand either, > but loading elc.gz file using tramp-ssh succeeds (you don't have > access to this, sorry): > > (let ((load-path (cons "/ssh:jpl.org:~/ftp/pub/tmp/lisp" load-path))) > (load "gnus")) > > It seems easy to solve. How about the attached patch? Your patch looks OK to me. Loading gnus.el.gz via ssh works, because tramp-ssh preserves the suffix when applying `file-local-copy'. You get the same result for `ange-ftp-file-local-copy' with your patch. Maybe we shall extend the docstring of `file-local-copy', saying that suffixes must be preserved. > BTW, after starting Emacs, I needed to do tramp-ftp (e.g. dired) > to the remote site before testing the above two items. If not, > I got the error `Variable binding depth exceeds max-specpdl-size' > for unknown reason. This is related to Bug#1529 and Bug#5705. Now, after Tramp 2.1.19 has been released, I plan to reorganize Tramp's packages and their load dependencies. Shall be fixed then. > Regards, Best regards, Michael.