GNU bug report logs -
#43695
28.0.50; FTP tramp fails with some dired listing switches
Previous Next
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.
Full log
Message #39 received at 43695 <at> debbugs.gnu.org (full text, mbox):
Jean Louis <bugs <at> gnu.support> writes:
> * 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 is discussed in the Tramp manual (info "(tramp) Frequently Asked Questions")
• Remote host does not understand default options for directory
listing
Emacs computes the ‘dired’ options based on the local host but if
the remote host cannot understand the same ‘ls’ command, then set
them with a hook as follows:
(add-hook
'dired-before-readin-hook
(lambda ()
(when (file-remote-p default-directory)
(setq dired-actual-switches "-al"))))
Best regards, Michael.
This bug report was last modified 4 years and 187 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.