From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#56078: 29.0.50; url-handler-mode fails to open FTP link Date: Sun, 19 Jun 2022 19:48:33 +0200 Message-ID: <87wndc1r4e.fsf@gmx.de> References: <87r13lz3av.fsf.ref@yahoo.com> <87r13lz3av.fsf@yahoo.com> <87fsk0yir1.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4190"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Po Lu , 56078@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 19 19:49:18 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o2z30-0000vW-9I for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Jun 2022 19:49:18 +0200 Original-Received: from localhost ([::1]:43986 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2z2z-0003nF-9k for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Jun 2022 13:49:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2z2k-0003n7-Ag for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2022 13:49:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59224) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2z2k-0007Tc-1O for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2022 13:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2z2k-00070g-0A for bug-gnu-emacs@gnu.org; Sun, 19 Jun 2022 13:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Jun 2022 17:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56078 X-GNU-PR-Package: emacs Original-Received: via spool by 56078-submit@debbugs.gnu.org id=B56078.165566093026928 (code B ref 56078); Sun, 19 Jun 2022 17:49:01 +0000 Original-Received: (at 56078) by debbugs.gnu.org; 19 Jun 2022 17:48:50 +0000 Original-Received: from localhost ([127.0.0.1]:53121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2z2Y-00070G-HW for submit@debbugs.gnu.org; Sun, 19 Jun 2022 13:48:50 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:52283) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2z2V-0006zy-Bn for 56078@debbugs.gnu.org; Sun, 19 Jun 2022 13:48:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1655660919; bh=kM2ycALvjXnssc59Ja3cD8YO460/qX38kzcw2f/14b0=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=Q9jP2aipGel4C45wEYQRtz/Wf6qjXB4lz0KW+XIbpFGArSxm480lQzRF/LOqM5C5+ Xzroxi5xutkupD3cQz1grZzJCKDzhCCl6BMLrMHjEFvOeIQVXruPgQeC6JpzI9id3c g/i4HgDSouAvszMHs6okS+BjLXm9VfIEhqV0ALPo= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([213.220.151.210]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MD9T7-1ntsDX2lhB-0095FN; Sun, 19 Jun 2022 19:48:39 +0200 In-Reply-To: <87fsk0yir1.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 19 Jun 2022 13:50:42 +0200") X-Provags-ID: V03:K1:DAUogq4jwV78x45zNUPFixPUsGbpdbGg3beiq1hC76rDCtLi+8o /r+w9kVuqNs7Lz+OtnYIYfosIfbeSnENX0iHfIVWG0MKnGB0a7YZCswDeLnhJ58OyEioV97 5AvWa23yXUTMEBknL3NL4Cm9uDs82yrMcyFRoQgWzm0O7Mz+tiI++QRn6/fUKhzU79mUROV xABK3NadN2n4yR0VdmMBg== X-UI-Out-Filterresults: notjunk:1;V03:K0:E7qw2Q60g4o=:Lf6AkpEukOoHwaV4zGxHpF y1qm1JyjH3a/M5A96zxSCsGKXaaxK+CJ8HjVSYJUo+IcfSNUmgJXLDgG5JT7I4VL5pDhUHFh1 Xq7ZY3k1GkFWkcscYKlSZbSVcPFohr8EvzUOTv26K2W3xPEGAq8xeVDEhprojEnU704iB+t+N ngL1ebfuv4zhNlI3kXVJltLBEotJAesLpmNiiniZyqmgjawhWBCi/BjDeFq+2uHDMOxxtv9r2 gP3kThTIvQUEOFGgKWS22/cOehFl9W2JfnL2znjIPJMOhZW0iNxuFeQwQwO7wxuSTtegzEL8j kNMqpHm3Y+8sZAgx3mZIjmfyIvHS9iPhnW+UwjVzaK1gYbOzWdOkYx+SVsiQkDK/+a/fbaL5x 29dOKsDDOwQc3DvWMt8x5sGkRBPw2ailFsaTgn38IwMy7cgcIb6TB9+bfTfuQ0VkXJAmnHdHS CjEgecrOVId/LA0YwlDcOXv9kPF6Sm3ZdAgaINYJEQw5m87OI9xTu8LAGiP1W8r2zjMxiSZvL EDeRm8VZUhtPFsavk4SNOmnfwyYDqB7ywAFgUuSyq3sJl3QjwgTERo/IsoQexpJiI8IaAUCSP CfWsU5V1KSyrAsqigMD188H9ejzuH8/cso6P5joFRDh9k0RcaYYiiLJqLKgAmoasYjlG5ic2A a/5uLQZxIhOLOPdHO/fUYlCW1YhcuDMavVJO+hxPKMshGNsIdSIsAjyQkfDHB8tunU4cK4GCP ER+cA2UiEYvf7W/8Fu2aGRfBgdM2wXN91uArlwdnR+A4Fz6Uuq1gvhIMjlxOPIOs0sSyHODW X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:234810 Archived-At: Lars Ingebrigtsen writes: Hi, > I'm unable to reproduce that, but I do get a different error: > > tramp-error: Lisp nesting exceeds =E2=80=98max-lisp-eval-depth=E2=80=99: = "" > > 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/x= rn/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/unsu= pported/xrn-motif...") > apply(ange-ftp-hook-function file-exists-p "/ftp:ftp.cam.ov.com:/pub/xr= n/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:/p= ub/xrn/unsupported/xrn-motif...") > tramp-file-name-handler(file-exists-p "/ftp:ftp.cam.ov.com:/pub/xrn/uns= upported/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-mot= if...")) > eval((progn (file-exists-p "/ftp:ftp.cam.ov.com:/pub/xrn/unsupported/xr= n-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.