From: Jean Louis <bugs@gnu.support>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 43695@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 [thread overview]
Message-ID: <X5la2aprxRUgK5Sr@protected.rcdrun.com> (raw)
In-Reply-To: <87sgazjj6h.fsf@gmx.de>
* Michael Albinus <michael.albinus@gmx.de> [2020-09-30 19:58]:
> Jean Louis <bugs@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@ftp.gnu.org:/" "--dired -gohl --group-directories-first" nil t)
apply(ange-ftp-hook-function insert-directory ("/ftp:anonymous@ftp.gnu.org:/" "--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.gnu.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.\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@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@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@ftp.gnu.org:/" "--dired -gohl --group-directories-first" nil t))
insert-directory("/ftp:anonymous@ftp.gnu.org:/" "--dired -gohl --group-directories-first" nil t)
dired-insert-directory("/ftp:anonymous@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@ftp.gnu.org:/" nil)
dired-noselect("/ftp:anonymous@ftp.gnu.org:/")
run-hook-with-args-until-success(dired-noselect "/ftp:anonymous@ftp.gnu.org:/")
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)
--
Jean Louis
next prev parent reply other threads:[~2020-10-28 11:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-29 6:47 bug#43695: 28.0.50; FTP tramp fails with some dired listing switches Jean Louis
2020-09-29 18:01 ` Michael Albinus
2020-09-30 11:06 ` Jean Louis
2020-09-30 11:29 ` Michael Albinus
2020-09-30 15:01 ` Jean Louis
2020-09-30 16:58 ` Michael Albinus
2020-10-18 15:09 ` Michael Albinus
2020-10-18 16:20 ` Jean Louis
2020-10-18 16:35 ` Michael Albinus
2020-10-28 11:49 ` Jean Louis [this message]
2020-11-14 9:10 ` 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=X5la2aprxRUgK5Sr@protected.rcdrun.com \
--to=bugs@gnu.support \
--cc=43695@debbugs.gnu.org \
--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 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.