From unknown Mon Aug 18 17:56:04 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4614: 23.1.50; tramp-ftp-file-name-handler: Recursive `require' for feature `ange-ftp' Reply-To: Stephen Berman , 4614@debbugs.gnu.org Resent-From: Stephen Berman Original-Sender: steve@escher.local.home Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 02 Oct 2009 09:35:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 4614 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125447577212395 (code B ref -1); Fri, 02 Oct 2009 09:35:03 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 2 Oct 2009 09:29:32 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.9 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 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 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 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 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 Received: (qmail invoked by alias); 02 Oct 2009 09:14:23 -0000 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 Received: by escher.local.home (Postfix, from userid 1000) id 8A38F1D192F; Fri, 2 Oct 2009 11:14:21 +0200 (CEST) From: Stephen Berman To: emacs-pretest-bug@gnu.org Sender: steve@escher.local.home Date: Fri, 02 Oct 2009 11:14:21 +0200 Message-ID: <8763aykviq.fsf@escher.local.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.49 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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 From unknown Mon Aug 18 17:56:04 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4614: 23.1.50; tramp-ftp-file-name-handler: Recursive `require' for feature `ange-ftp' Reply-To: Glenn Morris , 4614@debbugs.gnu.org Resent-From: Glenn Morris Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 03 Oct 2009 03:00:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4614 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4614-submit@emacsbugs.donarmstrong.com id=B4614.125453857821749 (code B ref 4614); Sat, 03 Oct 2009 03:00:05 +0000 Received: (at 4614) by emacsbugs.donarmstrong.com; 3 Oct 2009 02:56:18 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-7.5 required=4.0 tests=AWL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 n932uHKU021744 for <4614@emacsbugs.donarmstrong.com>; Fri, 2 Oct 2009 19:56:18 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MtunA-00040i-1C; Fri, 02 Oct 2009 22:56:16 -0400 From: Glenn Morris To: Stephen Berman Cc: 4614@debbugs.gnu.org References: <8763aykviq.fsf@escher.local.home> X-Spook: oil military Mole Peking Skipjack Cocaine sniper LLNL X-Ran: E.f.9?@:-;x!sFS\6J[Ud_mSqTJDPL;}sL!Dvi|`.[ivj@MUfp&L:bT)X:d^UU (Stephen Berman's message of "Fri, 02 Oct 2009 11:14:21 +0200") 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 Stephen Berman wrote: > Until sometime within the last few weeks (sorry, I can't narrow it down > more), the following (anonymized) code worked fine: Are you sure? It fails for me in the same way in both 22 and 23.1. (It seems you can require ange-ftp beforehand as a workaround.) From unknown Mon Aug 18 17:56:04 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4614: 23.1.50; tramp-ftp-file-name-handler: Recursive `require' for feature `ange-ftp' Reply-To: Michael Albinus , 4614@debbugs.gnu.org Resent-From: Michael Albinus Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 03 Oct 2009 12:50:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4614 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4614-submit@emacsbugs.donarmstrong.com id=B4614.125457384315132 (code B ref 4614); Sat, 03 Oct 2009 12:50:05 +0000 Received: (at 4614) by emacsbugs.donarmstrong.com; 3 Oct 2009 12:44:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.6 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with SMTP id n93Ci17Q015129 for <4614@emacsbugs.donarmstrong.com>; Sat, 3 Oct 2009 05:44:03 -0700 Received: (qmail invoked by alias); 03 Oct 2009 12:43:55 -0000 Received: from p57A21FE4.dip0.t-ipconnect.de (EHLO arthur.local) [87.162.31.228] by mail.gmx.net (mp018) with SMTP; 03 Oct 2009 14:43:55 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX190Kg1ApnZ0DujMHtS1Gdd3qUvQcesGdXEawwgLBI 3NZl3q6tz+vTJo From: Michael Albinus To: Glenn Morris Cc: 4614@debbugs.gnu.org, Stephen Berman References: <8763aykviq.fsf@escher.local.home> Date: Sat, 03 Oct 2009 14:43:53 +0200 In-Reply-To: (Glenn Morris's message of "Fri, 02 Oct 2009 22:56:15 -0400") Message-ID: <87pr943awm.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.72 Glenn Morris writes: > Stephen Berman wrote: > >> Until sometime within the last few weeks (sorry, I can't narrow it down >> more), the following (anonymized) code worked fine: > > Are you sure? It fails for me in the same way in both 22 and 23.1. > (It seems you can require ange-ftp beforehand as a workaround.) Indeed. I've fixed this in tramp-ftp.el. Stephen, could you please check, whether it works for you? Best regards, Michael. From unknown Mon Aug 18 17:56:04 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4614: 23.1.50; tramp-ftp-file-name-handler: Recursive `require' for feature `ange-ftp' Reply-To: Stephen Berman , 4614@debbugs.gnu.org Resent-From: Stephen Berman Original-Sender: steve@escher.local.home Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 03 Oct 2009 13:50:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4614 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4614-submit@emacsbugs.donarmstrong.com id=B4614.125457740324023 (code B ref 4614); Sat, 03 Oct 2009 13:50:05 +0000 Received: (at 4614) by emacsbugs.donarmstrong.com; 3 Oct 2009 13:43:23 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.4 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with SMTP id n93DhKTX024018 for <4614@emacsbugs.donarmstrong.com>; Sat, 3 Oct 2009 06:43:22 -0700 Received: (qmail invoked by alias); 03 Oct 2009 13:43:15 -0000 Received: from i59F56442.versanet.de (EHLO escher.local.home) [89.245.100.66] by mail.gmx.net (mp051) with SMTP; 03 Oct 2009 15:43:15 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1/8+jEbrqv84nJ24dcxb7TspCf8WOF2HeLWOsDsVR BVJ1H5IVmEHW9C Received: by escher.local.home (Postfix, from userid 1000) id 43A7F1D192B; Sat, 3 Oct 2009 15:43:13 +0200 (CEST) From: Stephen Berman To: Michael Albinus Cc: 4614@debbugs.gnu.org, Glenn Morris References: <8763aykviq.fsf@escher.local.home> <87pr943awm.fsf@gmx.de> Sender: steve@escher.local.home Date: Sat, 03 Oct 2009 15:43:12 +0200 In-Reply-To: <87pr943awm.fsf@gmx.de> (Michael Albinus's message of "Sat, 03 Oct 2009 14:43:53 +0200") Message-ID: <87bpkod24v.fsf@escher.local.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.62 On Sat, 03 Oct 2009 14:43:53 +0200 Michael Albinus wrote: > Glenn Morris writes: > >> Stephen Berman wrote: >> >>> Until sometime within the last few weeks (sorry, I can't narrow it down >>> more), the following (anonymized) code worked fine: >> >> Are you sure? It fails for me in the same way in both 22 and 23.1. >> (It seems you can require ange-ftp beforehand as a workaround.) > > Indeed. I've fixed this in tramp-ftp.el. Stephen, could you please > check, whether it works for you? I haven't updated yet to get your change, but I confirm the workaround works with emacs -Q on my current build. However, I just tried the code again with my init file on my current build and I cannot reproduce it now. After my init file loaded, I did `C-h v features' and found both ange-ftp and tramp-*, which would explain why it works. I don't know why it didn't work when I reported it (with the same initializations), but that failure happened in several separate Emacs sessions, on at least two different days. Perhaps I loaded some function that unloaded ange-ftp, ...or it's a heisenbug. Anyway, I'll update and try your fix, Michael. You can wait till I confirm it works to close the bug, but that might not be till tomorrow. But since it appears to be unreproducible, it's probably ok to close it now. Steve Berman From unknown Mon Aug 18 17:56:04 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4614: 23.1.50; tramp-ftp-file-name-handler: Recursive `require' for feature `ange-ftp' Reply-To: Stephen Berman , 4614@debbugs.gnu.org Resent-From: Stephen Berman Original-Sender: steve@escher.local.home Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 03 Oct 2009 16:10:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4614 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4614-submit@emacsbugs.donarmstrong.com id=B4614.125458586314217 (code B ref 4614); Sat, 03 Oct 2009 16:10:06 +0000 Received: (at 4614) by emacsbugs.donarmstrong.com; 3 Oct 2009 16:04:23 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.4 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with SMTP id n93G4LGG014207 for <4614@emacsbugs.donarmstrong.com>; Sat, 3 Oct 2009 09:04:23 -0700 Received: (qmail invoked by alias); 03 Oct 2009 16:04:15 -0000 Received: from i59F56442.versanet.de (EHLO escher.local.home) [89.245.100.66] by mail.gmx.net (mp006) with SMTP; 03 Oct 2009 18:04:15 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX180ErhxKtk0Hi+O19TiKjHuaXbkCHANOSzrWq+6wL pTC1lgKEaBax50 Received: by escher.local.home (Postfix, from userid 1000) id CA1821D192B; Sat, 3 Oct 2009 18:04:14 +0200 (CEST) From: Stephen Berman To: 4614@debbugs.gnu.org Cc: Michael Albinus References: <8763aykviq.fsf@escher.local.home> <87pr943awm.fsf@gmx.de> <87bpkod24v.fsf@escher.local.home> Sender: steve@escher.local.home Date: Sat, 03 Oct 2009 18:04:14 +0200 In-Reply-To: <87bpkod24v.fsf@escher.local.home> (Stephen Berman's message of "Sat, 03 Oct 2009 15:43:12 +0200") Message-ID: <877hvccvlt.fsf@escher.local.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.65 On Sat, 03 Oct 2009 15:43:12 +0200 Stephen Berman wrote: > On Sat, 03 Oct 2009 14:43:53 +0200 Michael Albinus wrote: >> >> Indeed. I've fixed this in tramp-ftp.el. Stephen, could you please >> check, whether it works for you? [...] > Anyway, I'll update and try your fix, Michael. You can wait till I > confirm it works to close the bug, but that might not be till tomorrow. I just updated and confirmed it makes my code work with emacs -Q (and also with my initializations). Steve Berman From unknown Mon Aug 18 17:56:04 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Stephen Berman Subject: bug#4614 closed by Michael Albinus (Re: bug#4614: 23.1.50; tramp-ftp-file-name-handler: Recursive `require' for feature `ange-ftp') Message-ID: References: <878wfspgc8.fsf@gmx.de> <8763aykviq.fsf@escher.local.home> X-Emacs-PR-Message: they-closed 4614 X-Emacs-PR-Package: emacs Reply-To: 4614@debbugs.gnu.org Date: Sat, 03 Oct 2009 17:00:10 +0000 Content-Type: multipart/mixed; boundary="----------=_1254589210-22895-1" This is a multi-part message in MIME format... ------------=_1254589210-22895-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #4614: 23.1.50; tramp-ftp-file-name-handler: Recursive `require' for featur= e `ange-ftp' It has been closed by Michael Albinus . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Michael Albinus by replying to this email. --=20 4614: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D4614 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1254589210-22895-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4614-done) by emacsbugs.donarmstrong.com; 3 Oct 2009 16:55:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.6 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with SMTP id n93GtfRe022706 for <4614-done@emacsbugs.donarmstrong.com>; Sat, 3 Oct 2009 09:55:43 -0700 Received: (qmail invoked by alias); 03 Oct 2009 16:55:36 -0000 Received: from p57A21FE4.dip0.t-ipconnect.de (EHLO arthur.local) [87.162.31.228] by mail.gmx.net (mp051) with SMTP; 03 Oct 2009 18:55:36 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1945wMsh/d4h4ItH4p16LTTukiDqtv/HMm596NPEs Sht/jpxvPi/0Sa From: Michael Albinus To: Stephen Berman Cc: 4614-done@debbugs.gnu.org Subject: Re: bug#4614: 23.1.50; tramp-ftp-file-name-handler: Recursive `require' for feature `ange-ftp' References: <8763aykviq.fsf@escher.local.home> <87pr943awm.fsf@gmx.de> <87bpkod24v.fsf@escher.local.home> <877hvccvlt.fsf@escher.local.home> Date: Sat, 03 Oct 2009 18:55:35 +0200 In-Reply-To: <877hvccvlt.fsf@escher.local.home> (Stephen Berman's message of "Sat, 03 Oct 2009 18:04:14 +0200") Message-ID: <878wfspgc8.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.76 Stephen Berman writes: > I just updated and confirmed it makes my code work with emacs -Q (and > also with my initializations). Thanks for testing. I've close the bug. > Steve Berman Best regards, Michael. ------------=_1254589210-22895-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 2 Oct 2009 09:29:32 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.9 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 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 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 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 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 Received: (qmail invoked by alias); 02 Oct 2009 09:14:23 -0000 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 Received: by escher.local.home (Postfix, from userid 1000) id 8A38F1D192F; Fri, 2 Oct 2009 11:14:21 +0200 (CEST) From: Stephen Berman To: emacs-pretest-bug@gnu.org Subject: 23.1.50; tramp-ftp-file-name-handler: Recursive `require' for feature `ange-ftp' Sender: steve@escher.local.home Date: Fri, 02 Oct 2009 11:14:21 +0200 Message-ID: <8763aykviq.fsf@escher.local.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.49 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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 ------------=_1254589210-22895-1--