From: Michael Albinus <michael.albinus@gmx.de>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Po Lu <luangruo@yahoo.com>, 56078@debbugs.gnu.org
Subject: bug#56078: 29.0.50; url-handler-mode fails to open FTP link
Date: Sun, 19 Jun 2022 19:48:33 +0200 [thread overview]
Message-ID: <87wndc1r4e.fsf@gmx.de> (raw)
In-Reply-To: <87fsk0yir1.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 19 Jun 2022 13:50:42 +0200")
Lars Ingebrigtsen <larsi@gnus.org> writes:
Hi,
> I'm unable to reproduce that, but I do get a different error:
>
> tramp-error: Lisp nesting exceeds ‘max-lisp-eval-depth’: ""
>
> With debug-on-error I get yet another error:
>
> Debugger entered--Lisp error: (overflow-error "16212958658533785600")
> signal(overflow-error ("16212958658533785600"))
> tramp-error((tramp-file-name "ftp" nil nil "ftp.cam.ov.com" nil "/pub/xrn/unsupported/xrn-motif.tgz" nil) overflow-error "16212958658533785600")
> tramp-signal-hook-function(overflow-error ("16212958658533785600"))
> signal(overflow-error ("16212958658533785600"))
> ange-ftp-hook-function(file-exists-p "/ftp:ftp.cam.ov.com:/pub/xrn/unsupported/xrn-motif...")
> apply(ange-ftp-hook-function file-exists-p "/ftp:ftp.cam.ov.com:/pub/xrn/unsupported/xrn-motif...")
> tramp-ftp-file-name-handler(file-exists-p "/ftp:ftp.cam.ov.com:/pub/xrn/unsupported/xrn-motif...")
> apply(tramp-ftp-file-name-handler file-exists-p "/ftp:ftp.cam.ov.com:/pub/xrn/unsupported/xrn-motif...")
> tramp-file-name-handler(file-exists-p "/ftp:ftp.cam.ov.com:/pub/xrn/unsupported/xrn-motif...")
> file-exists-p("/ftp:ftp.cam.ov.com:/pub/xrn/unsupported/xrn-motif...")
> (progn (file-exists-p "/ftp:ftp.cam.ov.com:/pub/xrn/unsupported/xrn-motif..."))
> eval((progn (file-exists-p "/ftp:ftp.cam.ov.com:/pub/xrn/unsupported/xrn-motif...")) t)
> elisp--eval-last-sexp(nil)
>
> And I get that without url-handler-mode. Just the following reproduces
> the error for me:
>
> (file-exists-p "/ftp:ftp.cam.ov.com:/pub/xrn/unsupported/xrn-motif.tgz")
>
> Michael added to the CCs.
I'm able to reproduce it. In ange-ftp-get-files, there is
--8<---------------cut here---------------start------------->8---
(setq directory (file-name-as-directory directory)) ;normalize
--8<---------------cut here---------------end--------------->8---
As consequence the file name
"/ftp:ftp.cam.ov.com:/pub/xrn/unsupported/xrn-motif.tgz/" is used from
now on, which invokes tramp-archive functionality.
I'm working on a fix. As work-around, you can eval
--8<---------------cut here---------------start------------->8---
(customize-set-variable 'tramp-archive-enabled nil)
--8<---------------cut here---------------end--------------->8---
after starting Emacs.
The case with the url-handler-mode I haven't investigated yet.
Best regards, Michael.
next prev parent reply other threads:[~2022-06-19 17:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87r13lz3av.fsf.ref@yahoo.com>
2022-06-19 4:26 ` bug#56078: 29.0.50; url-handler-mode fails to open FTP link Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-19 11:50 ` Lars Ingebrigtsen
2022-06-19 17:48 ` Michael Albinus [this message]
2022-06-20 10:53 ` Michael Albinus
2022-06-20 10:57 ` Lars Ingebrigtsen
2022-06-20 12:22 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-20 13:50 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wndc1r4e.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=56078@debbugs.gnu.org \
--cc=larsi@gnus.org \
--cc=luangruo@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.