GNU bug report logs -
#4614
23.1.50; tramp-ftp-file-name-handler: Recursive `require' for feature `ange-ftp'
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4614 in the body.
You can then email your comments to 4614 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4614
; Package
emacs
.
(Fri, 02 Oct 2009 09:35:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stephen Berman <stephen.berman <at> gmx.net>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Fri, 02 Oct 2009 09:35:04 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
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 <at> 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 <at> 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
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4614
; Package
emacs
.
(Sat, 03 Oct 2009 03:00:05 GMT)
Full text and
rfc822 format available.
Message #8 received at 4614 <at> emacsbugs.donarmstrong.com (full text, mbox):
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.)
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4614
; Package
emacs
.
(Sat, 03 Oct 2009 12:50:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Michael Albinus <michael.albinus <at> gmx.de>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Sat, 03 Oct 2009 12:50:05 GMT)
Full text and
rfc822 format available.
Message #13 received at 4614 <at> emacsbugs.donarmstrong.com (full text, mbox):
Glenn Morris <rgm <at> gnu.org> 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.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4614
; Package
emacs
.
(Sat, 03 Oct 2009 13:50:06 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stephen Berman <stephen.berman <at> gmx.net>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Sat, 03 Oct 2009 13:50:06 GMT)
Full text and
rfc822 format available.
Message #18 received at 4614 <at> emacsbugs.donarmstrong.com (full text, mbox):
On Sat, 03 Oct 2009 14:43:53 +0200 Michael Albinus <michael.albinus <at> gmx.de> wrote:
> Glenn Morris <rgm <at> gnu.org> 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
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4614
; Package
emacs
.
(Sat, 03 Oct 2009 16:10:06 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stephen Berman <stephen.berman <at> gmx.net>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Sat, 03 Oct 2009 16:10:06 GMT)
Full text and
rfc822 format available.
Message #23 received at 4614 <at> emacsbugs.donarmstrong.com (full text, mbox):
On Sat, 03 Oct 2009 15:43:12 +0200 Stephen Berman <stephen.berman <at> gmx.net> wrote:
> On Sat, 03 Oct 2009 14:43:53 +0200 Michael Albinus <michael.albinus <at> gmx.de> 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
Reply sent
to
Michael Albinus <michael.albinus <at> gmx.de>
:
You have taken responsibility.
(Sat, 03 Oct 2009 17:00:06 GMT)
Full text and
rfc822 format available.
Notification sent
to
Stephen Berman <stephen.berman <at> gmx.net>
:
bug acknowledged by developer.
(Sat, 03 Oct 2009 17:00:10 GMT)
Full text and
rfc822 format available.
Message #28 received at 4614-done <at> emacsbugs.donarmstrong.com (full text, mbox):
Stephen Berman <stephen.berman <at> gmx.net> 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.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Sun, 01 Nov 2009 15:24:24 GMT)
Full text and
rfc822 format available.
This bug report was last modified 15 years and 294 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.