From unknown Mon Aug 18 14:22:32 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#4614 <4614@debbugs.gnu.org> To: bug#4614 <4614@debbugs.gnu.org> Subject: Status: 23.1.50; tramp-ftp-file-name-handler: Recursive `require' for feature `ange-ftp' Reply-To: bug#4614 <4614@debbugs.gnu.org> Date: Mon, 18 Aug 2025 21:22:32 +0000 retitle 4614 23.1.50; tramp-ftp-file-name-handler: Recursive `require' for = feature `ange-ftp' reassign 4614 emacs submitter 4614 Stephen Berman severity 4614 normal thanks From stephen.berman@gmx.net Fri Oct 2 02:29:32 2009 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 From rgm@gnu.org Fri Oct 2 19:56:18 2009 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 Subject: Re: bug#4614: 23.1.50; tramp-ftp-file-name-handler: Recursive `require' for feature `ange-ftp' 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 michael.albinus@gmx.de Sat Oct 3 05:44:03 2009 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 Subject: Re: bug#4614: 23.1.50; tramp-ftp-file-name-handler: Recursive `require' for feature `ange-ftp' 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 stephen.berman@gmx.net Sat Oct 3 06:43:22 2009 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 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> 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 stephen.berman@gmx.net Sat Oct 3 09:04:23 2009 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 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> 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 michael.albinus@gmx.de Sat Oct 3 09:55:43 2009 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. From unknown Mon Aug 18 14:22:32 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 01 Nov 2009 15:24:24 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator