From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: A Modest Proposal Date: Wed, 04 May 2016 18:09:35 +0300 Message-ID: <834madkggg.fsf@gnu.org> References: <874mai4qhz.fsf@gnus.org> <83a8kao624.fsf@gnu.org> <270c962c-11c4-4b0c-9d62-211cbc6f9f47@default> <87y47t256w.fsf@gnus.org> <87wpndmvo2.fsf@gmx.de> <86y47qdx3r.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1462374615 21601 80.91.229.3 (4 May 2016 15:10:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 May 2016 15:10:15 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andy Moreton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 04 17:10:10 2016 Return-path: Envelope-to: ged-emacs-devel@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 1axyRC-0003sS-I4 for ged-emacs-devel@m.gmane.org; Wed, 04 May 2016 17:10:06 +0200 Original-Received: from localhost ([::1]:48494 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axyR8-0003fu-Ce for ged-emacs-devel@m.gmane.org; Wed, 04 May 2016 11:10:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axyQq-0003Sj-SZ for emacs-devel@gnu.org; Wed, 04 May 2016 11:09:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axyQf-0004hD-8g for emacs-devel@gnu.org; Wed, 04 May 2016 11:09:39 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axyQf-0004gJ-5t; Wed, 04 May 2016 11:09:33 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2172 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1axyQZ-0003nb-2E; Wed, 04 May 2016 11:09:27 -0400 In-reply-to: <86y47qdx3r.fsf@gmail.com> (message from Andy Moreton on Wed, 04 May 2016 09:51:52 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:203579 Archived-At: > From: Andy Moreton > Date: Wed, 04 May 2016 09:51:52 +0100 > > On Tue 03 May 2016, Stefan Monnier wrote: > > > AFAIK ls-lisp is implemented with functions that are also handled by > > Tramp, so it should work just as well. > > Except for platforms where ls-lisp does not understand the underlying > file system in the same way as the external tool. ls-lisp understands the underlying filesystem as well as Emacs does. > For example, on windows the permissions from ls-lisp are fairly > meaningless No, they are not meaningless. I wonder why you say that. > and do not match what is reported from MSYS, MSYS2 or Cygwin > versions of ls Why should they match? Cygwin emulates Posix user/group/world permissions using NTFS security features, and in particular encodes the Posix attribute bits in Windows ACEs using its own private scheme. There's no reason to expect native calls to match that scheme. > Please keep things the way they are. Not sure why do you say that. If you mean that you'd like to have use Cygwin/MSYS 'ls' from a native Emacs, then I don't recommend that, due to the above-mentioned mismatches. You could have a file listed as inaccessible, which actually is, or vice versa. Why is that a good idea?