From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#4614: 23.1.50; tramp-ftp-file-name-handler: Recursive `require' for feature `ange-ftp' Date: Fri, 02 Oct 2009 11:14:21 +0200 Message-ID: <8763aykviq.fsf@escher.local.home> Reply-To: Stephen Berman , 4614@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1254476864 16147 80.91.229.12 (2 Oct 2009 09:47:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 Oct 2009 09:47:44 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 02 11:47:37 2009 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.50) id 1MtejV-0003Jz-GU for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Oct 2009 11:47:25 +0200 Original-Received: from localhost ([127.0.0.1]:53584 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MtejU-0001kb-4k for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Oct 2009 05:47:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MtejM-0001kW-NE for bug-gnu-emacs@gnu.org; Fri, 02 Oct 2009 05:47:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MtejG-0001k3-S0 for bug-gnu-emacs@gnu.org; Fri, 02 Oct 2009 05:47:14 -0400 Original-Received: from [199.232.76.173] (port=37381 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MtejG-0001jz-GL for bug-gnu-emacs@gnu.org; Fri, 02 Oct 2009 05:47:10 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57603) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MtejF-00014Q-Vr for bug-gnu-emacs@gnu.org; Fri, 02 Oct 2009 05:47:10 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n929l7Y0015250; Fri, 2 Oct 2009 02:47:07 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n929Z4HT013209; Fri, 2 Oct 2009 02:35:04 -0700 Resent-Date: Fri, 2 Oct 2009 02:35:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stephen Berman Original-Sender: steve@escher.local.home Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 02 Oct 2009 09:35:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4614 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125447577212395 (code B ref -1); Fri, 02 Oct 2009 09:35:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 2 Oct 2009 09:29:32 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n929TVr9012392 for ; Fri, 2 Oct 2009 02:29:32 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:45957) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MteS9-0000wh-5z for emacs-pretest-bug@gnu.org; Fri, 02 Oct 2009 05:29:30 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MteDa-00011z-Ku for emacs-pretest-bug@gnu.org; Fri, 02 Oct 2009 05:14:28 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:42271) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MteDa-00011T-38 for emacs-pretest-bug@gnu.org; Fri, 02 Oct 2009 05:14:26 -0400 Original-Received: (qmail invoked by alias); 02 Oct 2009 09:14:23 -0000 Original-Received: from i59F574F0.versanet.de (EHLO escher.local.home) [89.245.116.240] by mail.gmx.net (mp010) with SMTP; 02 Oct 2009 11:14:23 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX19Mi41OWo5MK0WFj8HBkzHoJCDDBOoVE0t/v7eKaG s7+z7EBYYgvaI6 Original-Received: by escher.local.home (Postfix, from userid 1000) id 8A38F1D192F; Fri, 2 Oct 2009 11:14:21 +0200 (CEST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.49 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 02 Oct 2009 05:47:14 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:31633 gmane.emacs.pretest.bugs:25090 Archived-At: Until sometime within the last few weeks (sorry, I can't narrow it down more), the following (anonymized) code worked fine: (defun my-ftp () "Call dired on my ftp server." (interactive) (require 'tramp) (let ((default-directory "/ftp:my-name@my.server.net:/")) (call-interactively 'dired))) But now it throws the error in the Subject line (also with emacs -Q built with make bootstrap). When I comment out (require 'tramp) and eval the resulting defun in emacs -Q, then I get this error: expand-file-name: Recursive load: "/home/steve/cvsroot/emacs/lisp/net/tramp.elc", "/home/steve/cvsroot/emacs/lisp/net/tramp.elc", "/home/steve/cvsroot/emacs/lisp/net/tramp.elc", "/home/steve/cvsroot/emacs/lisp/net/tramp.elc", "/home/steve/cvsroot/emacs/lisp/net/tramp.elc", "/home/steve/cvsroot/emacs/lisp/dired.elc" Doing `C-x d RET /ftp:my-name@my.server.net:/ RET' works as always. After doing this, then my-ftp also works (both with the require-sexp and without it). The problem is only with ftp handling; the following defun works fine: (defun sv () "Call dired on /su::/var/log." (interactive) (require 'tramp) (let ((default-directory "/su::/var/log")) (call-interactively 'dired))) Did something change in the ftp handling that I have to adapt my-ftp to, or is this a bug in Emacs? In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4) of 2009-10-01 on escher Windowing system distributor `The X.Org Foundation', version 11.0.10502000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default enable-multibyte-characters: t