From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#19192: 25.0.50; TRAMP uses `dired-listing-switches' for ftp-connection Date: Sun, 30 Nov 2014 12:10:37 +0100 Message-ID: <87a9393pw2.fsf@gmx.de> References: <87tx1mrwwq.fsf@gmx.us> <87zjbe9j9c.fsf@gmx.de> <87h9xlil0f.fsf@gmx.us> <877fye2spw.fsf@gmx.de> <87mw7afe90.fsf@gmx.us> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1417345886 32190 80.91.229.3 (30 Nov 2014 11:11:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Nov 2014 11:11:26 +0000 (UTC) Cc: 19192@debbugs.gnu.org To: Rasmus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 30 12:11:19 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 1Xv2PN-0007Tc-PD for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Nov 2014 12:11:17 +0100 Original-Received: from localhost ([::1]:50131 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xv2PN-0002md-94 for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Nov 2014 06:11:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xv2PE-0002mV-Qz for bug-gnu-emacs@gnu.org; Sun, 30 Nov 2014 06:11:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xv2P8-0006Tq-JR for bug-gnu-emacs@gnu.org; Sun, 30 Nov 2014 06:11:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52369) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xv2P8-0006Tl-FO for bug-gnu-emacs@gnu.org; Sun, 30 Nov 2014 06:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xv2P8-0005U2-5X for bug-gnu-emacs@gnu.org; Sun, 30 Nov 2014 06:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Nov 2014 11:11:02 +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.141734584421054 (code B ref 19192); Sun, 30 Nov 2014 11:11:02 +0000 Original-Received: (at 19192) by debbugs.gnu.org; 30 Nov 2014 11:10:44 +0000 Original-Received: from localhost ([127.0.0.1]:49582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xv2Oq-0005TW-6x for submit@debbugs.gnu.org; Sun, 30 Nov 2014 06:10:44 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:62194) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xv2On-0005TN-M7 for 19192@debbugs.gnu.org; Sun, 30 Nov 2014 06:10:42 -0500 Original-Received: from detlef.gmx.de ([93.209.66.135]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0LyzW8-1XzBF81iYC-014AoL; Sun, 30 Nov 2014 12:10:38 +0100 In-Reply-To: <87mw7afe90.fsf@gmx.us> (rasmus@gmx.us's message of "Sat, 29 Nov 2014 12:16:43 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:OonrNmyX+bfB/oxCtTv4tw82gi+9QXScF6+1tTEdZnPKu5kzbJ/ 66JkyIELgrW1lhUj+yVusBWcTk9f96dJQyrTDdmh4VVzHxcKK+pB+sfDc5+Q+ZtpaGvC+vQ /vszl+ttZdYCs7hHkxJCptuma15e6J55Gclo/6D076UehVA//aqn/aye0H36OCxFchczzi/ svw8zXJmy1hp2Xl8sMPEA== 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:96754 Archived-At: Rasmus writes: > Hi, Hi, > Sorry for asking so many questions. No problem. That's why we have debbugs that we can discuss the problem. > So according to the note in `ange-ftp-get-files' there's the following > node on using dired-actual-switches or dired-listing-switches > > ;; This is an efficiency hack. We try to > ;; anticipate what sort of listing dired > ;; might want, and cache just such a listing. > > Switches are checked with `ange-ftp-switches-ok'. (man "sftp") has a > nice list of > switches supported. Unfortunately, I don't really find anything on > supported ls in the manpage of ftp or the info manual... > > Option I: I can limit accepted ls flags by ange-ftp to the subset > supported by sftp. > > Option I+: I could add a defcustom to allow the current more liberal > behavior akin to ange-ftp-passive-host-alist and > ange-ftp-try-passive-mode. > > Option II would be to add build-in support for something like the > --group-directories-first in dired, since now, if scrub off > --group-directories-first, a dired-ftp buffer will look different from a > local dired buffer... > > For now I will go with Option I. Well, I'm a little bit confused. In the beginning, you have spoken about "ftp". Now you've switched to "sftp". These are very different cases, and ange-ftp.el is *not* responsible for sftp connections. Could you, please, clarify? > Thanks, > Rasmus Best regards, Michael.