GNU bug report logs -
#19192
25.0.50; TRAMP uses `dired-listing-switches' for ftp-connection
Previous Next
Reported by: Rasmus <rasmus <at> gmx.us>
Date: Wed, 26 Nov 2014 12:05:02 UTC
Severity: normal
Found in version 25.0.50
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 19192 <at> debbugs.gnu.org (full text, mbox):
Hi,
Michael Albinus <michael.albinus <at> gmx.de> writes:
> Rasmus <rasmus <at> gmx.us> writes:
>> I don't know if this is a feature or a bug.
>>
>> Michael: do you want me to write a patch or will this be a quick fix for
>> you?
>
> Likely, it is a feature. So I don't know whether we can fix this quickly.
I agree.
> However, if you want to investigate it, it is likely in
> ange-ftp.el. Tramp doesn't care about ftp connections, it let
> ange-ftp.el do the job.
Thanks for pointing this out.
> A possible fix might be to give a user an option, whether global
> dired-listing-switches shall be used everywhere, or whether there shall
> be special settings connection-oriented.
So it turns out that arguments are tested via `ange-ftp-switches-ok'.
So the easiest fix would probably be to extend this function to do a
better job of checking. Unfortunately, I don't know if one can easily
predict which ls commands will be understood and which not? E.g. does
ftp ls depend on the host systems version of ls?
Thanks,
Rasmus
--
Summon the Mothership!
This bug report was last modified 10 years and 169 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.