all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andy Moreton <andrewjmoreton@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: A Modest Proposal
Date: Wed, 04 May 2016 23:13:14 +0100	[thread overview]
Message-ID: <868tzpbhfp.fsf@gmail.com> (raw)
In-Reply-To: 834madkggg.fsf@gnu.org

On Wed 04 May 2016, Eli Zaretskii wrote:

>> From: Andy Moreton <andrewjmoreton@gmail.com>
>> 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.

The scheme is publically documented, and closely follows the mappings
previously used by the Interix (aka Services for Unix) subsystem. The
code is GPL, so I don;t understand why you think this is private.

>> 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?

While it is simpler to use a homogenous environment, there are
significant uses of mixed environments, where the emacs binary and the
platform differ in their view of the filesystem.

It's ok to change the default implementation to prefer using an emacs
internal implementation rather than an external program, but the
proposal was to remove use of external programs, which would make emacs
less useful.

    AndyM




  reply	other threads:[~2016-05-04 22:13 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-30 23:38 A Modest Proposal Lars Ingebrigtsen
2016-04-30 23:50 ` raman
2016-05-01  0:14 ` John Wiegley
2016-05-01  2:39   ` Eli Zaretskii
2016-05-01 13:30     ` John Wiegley
2016-05-01 14:44       ` Drew Adams
2016-05-01 15:01         ` Lars Ingebrigtsen
2016-05-01 15:16           ` Eli Zaretskii
2016-05-01 15:28             ` Dmitry Gutov
2016-05-01 15:45               ` Eli Zaretskii
2016-05-01 18:24               ` Alan Third
2016-05-01 18:38                 ` Eli Zaretskii
2016-05-04  3:56               ` Stefan Monnier
2016-05-04  4:29                 ` Drew Adams
2016-05-04 15:02                   ` Eli Zaretskii
2016-05-04 10:39                 ` Dmitry Gutov
2016-05-04 14:54                 ` Eli Zaretskii
2016-05-01 19:21           ` Michael Albinus
2016-05-04  3:55             ` Stefan Monnier
2016-05-04  8:51               ` Andy Moreton
2016-05-04 15:09                 ` Eli Zaretskii
2016-05-04 22:13                   ` Andy Moreton [this message]
2016-05-05  7:58               ` Michael Albinus
2016-05-01 15:15         ` Eli Zaretskii
     [not found]         ` <<834mahollh.fsf@gnu.org>
2016-05-01 16:46           ` Drew Adams
2016-05-01 15:03   ` Lars Ingebrigtsen
2016-05-01 15:21     ` joakim
2016-05-01 23:02 ` Richard Stallman
2016-05-01 23:54   ` raman
2016-07-06 14:03 ` Ted Zlatanov
     [not found] <<874mai4qhz.fsf@gnus.org>

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=868tzpbhfp.fsf@gmail.com \
    --to=andrewjmoreton@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.