From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rasmus Newsgroups: gmane.emacs.bugs Subject: bug#19192: 25.0.50; TRAMP uses `dired-listing-switches' for ftp-connection Date: Thu, 27 Nov 2014 00:45:36 +0100 Message-ID: <87h9xlil0f.fsf@gmx.us> References: <87tx1mrwwq.fsf@gmx.us> <87zjbe9j9c.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1417045650 6128 80.91.229.3 (26 Nov 2014 23:47:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Nov 2014 23:47:30 +0000 (UTC) Cc: 19192@debbugs.gnu.org To: michael.albinus@gmx.de Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 27 00:47:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XtmIq-00089O-RL for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Nov 2014 00:47:20 +0100 Original-Received: from localhost ([::1]:36505 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtmIq-0008H8-FQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Nov 2014 18:47:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtmIe-000856-5G for bug-gnu-emacs@gnu.org; Wed, 26 Nov 2014 18:47:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtmIY-0003au-I0 for bug-gnu-emacs@gnu.org; Wed, 26 Nov 2014 18:47:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49506) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtmIY-0003aq-EG for bug-gnu-emacs@gnu.org; Wed, 26 Nov 2014 18:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XtmIY-0000ps-1D for bug-gnu-emacs@gnu.org; Wed, 26 Nov 2014 18:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Rasmus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Nov 2014 23:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19192 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19192-submit@debbugs.gnu.org id=B19192.14170455693114 (code B ref 19192); Wed, 26 Nov 2014 23:47:01 +0000 Original-Received: (at 19192) by debbugs.gnu.org; 26 Nov 2014 23:46:09 +0000 Original-Received: from localhost ([127.0.0.1]:46716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtmHh-0000oA-Ca for submit@debbugs.gnu.org; Wed, 26 Nov 2014 18:46:09 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:54145) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtmHd-0000ns-7h for 19192@debbugs.gnu.org; Wed, 26 Nov 2014 18:46:06 -0500 Original-Received: from W530 ([46.166.186.244]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0Mdren-1XZ6lM1vpd-00Pcdw; Thu, 27 Nov 2014 00:46:02 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEX+/v7f3+CTk5O/v8C/ wMHPz8+fn6Cvr7C/wL92dXahoZ/AwL9MTEyAgH9gX19+f4AwLzN/gIBRedkoAAAACXBIWXMAAABI AAAASABGyWs+AAABfUlEQVRIDd3B0VbbQBBEwdstzYx3BYL8/88GYTCytD5xHpMq/gGyp5m/EInK xfMs4JLBs9TYZOdZ0diExZOisVHjGVGhamyi8UCJb2qVruTT1BkKZ4ovZsdiJJJwcBVN3CgZagJP fPHCTQYjaoIsNmEXNzInilryRZAFyGIvxUG89mmeJwFZgIM9JQc9uXEA6YUdc1S+iC/mgxs7FRwo X1ZxNRfQ2FNxr79N4qYL5IUdc68He1MIWvAjxR3ZYk9C4keKg7k1u4sHOiOqtTMiOg8EI9mCxyRO ojkYirf1tVmcRDaBOPAaHElsZidKcW9loAKIjGRdm8VeFQNeyjlX87unEDeKOV5Wzpa2CGaxF79a a3YWZ9E5m9bgEQcDsvsiBi5mLPz+xtnUxICytRQnYTMg58KZyilGmjgLu8RYBgfKluJKTRyVS3yR FjsnvskhdAlXEWGuFOXszp5pX4KdFIKoJYJ7+sTRpap6Zs+Ne9XCn+hDzDEvl6k24j/wGxJYCCwe kUkPAAAAAElFTkSuQmCC In-Reply-To: <87zjbe9j9c.fsf@gmx.de> (Michael Albinus's message of "Wed, 26 Nov 2014 14:35:59 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:HI3sirHQwZm9O77Bi6re7/DVM5AmJorGpFFnLwdHtFC14+d4shS KMLBpLBrUA4NVOE1q3xOtr7X+Zuu38IhND9f/icC2bQJBPHxHCcCCYA6iOdStuz4VlMOb3u Nh7I7cMCvNDsf34elIS8SaAFzFNVXKjmFlRba4PKh7dU9dyGFmiwY/ff9YoGozQ88r64Rt/ ASHd3sd1QnQjAvmt+J4NQ== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:96652 Archived-At: Hi, Michael Albinus writes: > Rasmus 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!