unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Po Lu <luangruo@yahoo.com>
Cc: Michael Albinus <michael.albinus@gmx.de>, 56078@debbugs.gnu.org
Subject: bug#56078: 29.0.50; url-handler-mode fails to open FTP link
Date: Sun, 19 Jun 2022 13:50:42 +0200	[thread overview]
Message-ID: <87fsk0yir1.fsf@gnus.org> (raw)
In-Reply-To: <87r13lz3av.fsf@yahoo.com> (Po Lu's message of "Sun, 19 Jun 2022 12:26:48 +0800")

Po Lu <luangruo@yahoo.com> writes:

> Turn on url-handler-mode, and then visit the URL
>
>   ftp://ftp.cam.ov.com/pub/xrn/unsupported/xrn-motif.tgz
>
> with find-file.  A (wrong-type-argument stringp nil) error will result.

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.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2022-06-19 11:50 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 [this message]
2022-06-19 17:48     ` Michael Albinus
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fsk0yir1.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=56078@debbugs.gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=michael.albinus@gmx.de \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).