From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#43695: 28.0.50; FTP tramp fails with some dired listing switches Date: Wed, 28 Oct 2020 14:49:45 +0300 Organization: GNU.Support Message-ID: References: <87d024h38b.fsf@gmx.de> <20200930110641.GE31048@protected.rcdrun.com> <871rijlcy4.fsf@gmx.de> <20200930150122.GH19181@protected.rcdrun.com> <87sgazjj6h.fsf@gmx.de> 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="39775"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/+ (1036f0e) (2020-10-18) Cc: 43695@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 28 12:53:14 2020 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 1kXk0u-000AGF-Me for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Oct 2020 12:53:12 +0100 Original-Received: from localhost ([::1]:53396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXk0t-0001Lf-Ls for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Oct 2020 07:53:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXk0k-0001LA-MD for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2020 07:53:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36018) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kXk0k-0004C8-D4 for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2020 07:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kXk0k-0005C5-Bv for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2020 07:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Oct 2020 11:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43695 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo notabug Original-Received: via spool by 43695-submit@debbugs.gnu.org id=B43695.160388595819923 (code B ref 43695); Wed, 28 Oct 2020 11:53:02 +0000 Original-Received: (at 43695) by debbugs.gnu.org; 28 Oct 2020 11:52:38 +0000 Original-Received: from localhost ([127.0.0.1]:47561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXk0M-0005BH-DY for submit@debbugs.gnu.org; Wed, 28 Oct 2020 07:52:38 -0400 Original-Received: from static.rcdrun.com ([95.85.24.50]:58709) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXk0K-0005B8-HD for 43695@debbugs.gnu.org; Wed, 28 Oct 2020 07:52:37 -0400 Original-Received: from localhost ([::ffff:197.157.0.60]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by static.rcdrun.com with ESMTPSA id 00000000002A0B3A.000000005F995B82.00006C83; Wed, 28 Oct 2020 11:52:33 +0000 Content-Disposition: inline In-Reply-To: <87sgazjj6h.fsf@gmx.de> 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:191859 Archived-At: * Michael Albinus [2020-09-30 19:58]: > Jean Louis writes: >=20 > Hi Jean, >=20 > >> Could you pls send a backtrace when the error happens to you? > > > > How do I make backtrace? From debug? >=20 > Eval (setq debug-on-error t) prior your test. I understand that dired switches -al works well with FTP, but I have these dired switches and they do not work. This Emacs is from 24th October. Debugger entered--Lisp error: (ftp-error "FTP Error: DIR failed: usage: ls = remote-directory ...") signal(ftp-error ("FTP Error: DIR failed: usage: ls remote-directory ..."= )) tramp-signal-hook-function(ftp-error ("FTP Error: DIR failed: usage: ls r= emote-directory ...")) signal(ftp-error ("FTP Error: DIR failed: usage: ls remote-directory ..."= )) ange-ftp-hook-function(insert-directory "/ftp:anonymous@ftp.gnu.org:/" "-= -dired -gohl --group-directories-first" nil t) apply(ange-ftp-hook-function insert-directory ("/ftp:anonymous@ftp.gnu.or= g:/" "--dired -gohl --group-directories-first" nil t)) tramp-ftp-file-name-handler(insert-directory "/ftp:anonymous@ftp.gnu.org:= /" "--dired -gohl --group-directories-first" nil t) apply(tramp-ftp-file-name-handler insert-directory ("/ftp:anonymous@ftp.g= nu.org:/" "--dired -gohl --group-directories-first" nil t)) tramp-file-name-handler(insert-directory "/ftp:anonymous@ftp.gnu.org:/" "= --dired -gohl --group-directories-first" nil t) #f(compiled-function (file switches &optional wildcard full-directory-p) = "Insert directory listing for FILE, formatted according to SWITCHES.\nLeave= s point after the inserted text.\nSWITCHES may be a string of options, or a= list of strings\nrepresenting individual options.\nOptional third arg WILD= CARD means treat FILE as shell wildcard.\nOptional fourth arg FULL-DIRECTOR= Y-P means file is a directory and\nswitches do not contain `d', so that a f= ull listing is expected.\n\nThis works by running a directory listing progr= am\nwhose name is in the variable `insert-directory-program'.\nIf WILDCARD,= it also runs the shell specified by `shell-file-name'.\n\nWhen SWITCHES co= ntains the long `--dired' option, this function\ntreats it specially, for t= he sake of dired. However, the\nnormally equivalent short `-D' option is j= ust passed on to\n`insert-directory-program', as any other option." #)("/ftp:anonymous@ftp.gnu.org:/" "--dired -gohl --gro= up-directories-first" nil t) ls-lisp--insert-directory(#f(compiled-function (file switches &optional w= ildcard full-directory-p) "Insert directory listing for FILE, formatted acc= ording to SWITCHES.\nLeaves point after the inserted text.\nSWITCHES may be= a string of options, or a list of strings\nrepresenting individual options= =2E\nOptional third arg WILDCARD means treat FILE as shell wildcard.\nOptio= nal fourth arg FULL-DIRECTORY-P means file is a directory and\nswitches do = not contain `d', so that a full listing is expected.\n\nThis works by runni= ng a directory listing program\nwhose name is in the variable `insert-direc= tory-program'.\nIf WILDCARD, it also runs the shell specified by `shell-fil= e-name'.\n\nWhen SWITCHES contains the long `--dired' option, this function= \ntreats it specially, for the sake of dired. However, the\nnormally equiv= alent short `-D' option is just passed on to\n`insert-directory-program', a= s any other option." #) "/ftp:anonymous@ftp.gnu= =2Eorg:/" "--dired -gohl --group-directories-first" nil t) apply(ls-lisp--insert-directory #f(compiled-function (file switches &opti= onal wildcard full-directory-p) "Insert directory listing for FILE, formatt= ed according to SWITCHES.\nLeaves point after the inserted text.\nSWITCHES = may be a string of options, or a list of strings\nrepresenting individual o= ptions.\nOptional third arg WILDCARD means treat FILE as shell wildcard.\nO= ptional fourth arg FULL-DIRECTORY-P means file is a directory and\nswitches= do not contain `d', so that a full listing is expected.\n\nThis works by r= unning a directory listing program\nwhose name is in the variable `insert-d= irectory-program'.\nIf WILDCARD, it also runs the shell specified by `shell= -file-name'.\n\nWhen SWITCHES contains the long `--dired' option, this func= tion\ntreats it specially, for the sake of dired. However, the\nnormally e= quivalent short `-D' option is just passed on to\n`insert-directory-program= ', as any other option." #) ("/ftp:anonymous@ft= p.gnu.org:/" "--dired -gohl --group-directories-first" nil t)) insert-directory("/ftp:anonymous@ftp.gnu.org:/" "--dired -gohl --group-di= rectories-first" nil t) dired-insert-directory("/ftp:anonymous@ftp.gnu.org:/" "-gohl --group-dire= ctories-first" nil nil t) dired-readin-insert() #f(compiled-function () #)() combine-change-calls-1(1 1 #f(compiled-function () #)) dired-readin() dired-internal-noselect("/ftp:anonymous@ftp.gnu.org:/" nil) dired-noselect("/ftp:anonymous@ftp.gnu.org:/") run-hook-with-args-until-success(dired-noselect "/ftp:anonymous@ftp.gnu.o= rg:/") find-file-noselect("/ftp:anonymous@ftp.gnu.org:/" nil nil t) find-file("/ftp:anonymous@ftp.gnu.org:/" t) funcall-interactively(find-file "/ftp:anonymous@ftp.gnu.org:/" t) call-interactively(find-file nil nil) command-execute(find-file) --=20 Jean Louis