Package: emacs;
Reported by: Jean Louis <bugs <at> gnu.support>
Date: Tue, 29 Sep 2020 06:48:01 UTC
Severity: minor
Tags: moreinfo, notabug
Found in version 28.0.50
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
View this message in rfc822 format
From: Jean Louis <bugs <at> gnu.support> To: Michael Albinus <michael.albinus <at> gmx.de> Cc: 43695 <at> debbugs.gnu.org Subject: bug#43695: 28.0.50; FTP tramp fails with some dired listing switches Date: Wed, 28 Oct 2020 14:49:45 +0300
* Michael Albinus <michael.albinus <at> gmx.de> [2020-09-30 19:58]: > Jean Louis <bugs <at> gnu.support> writes: > > Hi Jean, > > >> Could you pls send a backtrace when the error happens to you? > > > > How do I make backtrace? From debug? > > 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 remote-directory ...")) signal(ftp-error ("FTP Error: DIR failed: usage: ls remote-directory ...")) ange-ftp-hook-function(insert-directory "/ftp:anonymous <at> ftp.gnu.org:/" "--dired -gohl --group-directories-first" nil t) apply(ange-ftp-hook-function insert-directory ("/ftp:anonymous <at> ftp.gnu.org:/" "--dired -gohl --group-directories-first" nil t)) tramp-ftp-file-name-handler(insert-directory "/ftp:anonymous <at> ftp.gnu.org:/" "--dired -gohl --group-directories-first" nil t) apply(tramp-ftp-file-name-handler insert-directory ("/ftp:anonymous <at> ftp.gnu.org:/" "--dired -gohl --group-directories-first" nil t)) tramp-file-name-handler(insert-directory "/ftp:anonymous <at> 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.\nLeaves point after the inserted text.\nSWITCHES may be a string of options, or a list of strings\nrepresenting individual options.\nOptional third arg WILDCARD means treat FILE as shell wildcard.\nOptional 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 running a directory listing program\nwhose name is in the variable `insert-directory-program'.\nIf WILDCARD, it also runs the shell specified by `shell-file-name'.\n\nWhen SWITCHES contains the long `--dired' option, this function\ntreats it specially, for the sake of dired. However, the\nnormally equivalent short `-D' option is just passed on to\n`insert-directory-program', as any other option." #<bytecode 0x58f16ad3c799adf>)("/ftp:anonymous <at> ftp.gnu.org:/" "--dired -gohl --group-directories-first" nil t) ls-lisp--insert-directory(#f(compiled-function (file switches &optional wildcard full-directory-p) "Insert directory listing for FILE, formatted according to SWITCHES.\nLeaves point after the inserted text.\nSWITCHES may be a string of options, or a list of strings\nrepresenting individual options.\nOptional third arg WILDCARD means treat FILE as shell wildcard.\nOptional 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 running a directory listing program\nwhose name is in the variable `insert-directory-program'.\nIf WILDCARD, it also runs the shell specified by `shell-file-name'.\n\nWhen SWITCHES contains the long `--dired' option, this function\ntreats it specially, for the sake of dired. However, the\nnormally equivalent short `-D' option is just passed on to\n`insert-directory-program', as any other option." #<bytecode 0x58f16ad3c799adf>) "/ftp:anonymous <at> ftp.gnu.org:/" "--dired -gohl --group-directories-first" nil t) apply(ls-lisp--insert-directory #f(compiled-function (file switches &optional wildcard full-directory-p) "Insert directory listing for FILE, formatted according to SWITCHES.\nLeaves point after the inserted text.\nSWITCHES may be a string of options, or a list of strings\nrepresenting individual options.\nOptional third arg WILDCARD means treat FILE as shell wildcard.\nOptional 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 running a directory listing program\nwhose name is in the variable `insert-directory-program'.\nIf WILDCARD, it also runs the shell specified by `shell-file-name'.\n\nWhen SWITCHES contains the long `--dired' option, this function\ntreats it specially, for the sake of dired. However, the\nnormally equivalent short `-D' option is just passed on to\n`insert-directory-program', as any other option." #<bytecode 0x58f16ad3c799adf>) ("/ftp:anonymous <at> ftp.gnu.org:/" "--dired -gohl --group-directories-first" nil t)) insert-directory("/ftp:anonymous <at> ftp.gnu.org:/" "--dired -gohl --group-directories-first" nil t) dired-insert-directory("/ftp:anonymous <at> ftp.gnu.org:/" "-gohl --group-directories-first" nil nil t) dired-readin-insert() #f(compiled-function () #<bytecode -0x2f6fb91d4b2d408>)() combine-change-calls-1(1 1 #f(compiled-function () #<bytecode -0x2f6fb91d4b2d408>)) dired-readin() dired-internal-noselect("/ftp:anonymous <at> ftp.gnu.org:/" nil) dired-noselect("/ftp:anonymous <at> ftp.gnu.org:/") run-hook-with-args-until-success(dired-noselect "/ftp:anonymous <at> ftp.gnu.org:/") find-file-noselect("/ftp:anonymous <at> ftp.gnu.org:/" nil nil t) find-file("/ftp:anonymous <at> ftp.gnu.org:/" t) funcall-interactively(find-file "/ftp:anonymous <at> ftp.gnu.org:/" t) call-interactively(find-file nil nil) command-execute(find-file) -- Jean Louis
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.