all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Po Lu <luangruo@yahoo.com>, sds@gnu.org
Cc: emacs-devel@gnu.org
Subject: Re: master 83e0442139f: There are no file modes on windows and dos
Date: Fri, 29 Sep 2023 17:10:54 +0300	[thread overview]
Message-ID: <83msx5ysr5.fsf@gnu.org> (raw)
In-Reply-To: <8734yznftq.fsf@yahoo.com> (message from Po Lu on Thu, 28 Sep 2023 11:21:05 +0800)

> From: Po Lu <luangruo@yahoo.com>
> Cc: Sam Steingold <sds@gnu.org>
> Date: Thu, 28 Sep 2023 11:21:05 +0800
> 
> Sam Steingold <sds@gnu.org> writes:
> 
> > branch: master
> > commit 83e0442139f8dbe5b9b3f19e0d1850ab43cf034f
> > Author: Sam Steingold <sds@gnu.org>
> > Commit: Sam Steingold <sds@gnu.org>
> >
> >     There are no file modes on windows and dos
> >     
> >     * lisp/ls-lisp.el (ls-lisp-verbosity): Add `modes` on GNU & Unix
> >       (ls-lisp-format): When `modes` is not in `ls-lisp-verbosity',
> >        keep just the 1st character of `drwxrwxrwx`.
> 
> Thanks, but your ChangeLog entry is improperly formatted.  In the
> future, please refrain from indenting subsequent entries or continuing
> lines, use grave or straight quotes, and terminate each entry with a
> sentence stop.  For example:
> 
> * lisp/ls-lisp.el (ls-lisp-verbosity): Add `modes' on GNU and
> Unix systems.
> (ls-lisp-format): When `modes' is not in `ls-lisp-verbosity',
> retain only the first character of `drwxrwxrwx'.

I have much more serious issues with this change: it is an
incompatible change in a long-standing behavior, which AFAIR was never
discussed.  Worse, it loses information: files that are read-only
(something that _is_ supported on Windows) are no longer marked as
unwritable, and executable files (not marked as such in the
filesystem, but still a clearly existing attribute that we support) is
not shown as such, either.

I think if anything, this should (a) show 3-4 letters instead of just
d or dash, i.e. drwx for a writable directory, -r-- for read-only
files, -rwx for writable and executable files, etc; and (b) be an
opt-in behavior, i.e. we need a new defcustom for it.  In its current
form, this change is not acceptable, sorry (and neither is the way of
installing it without any discussion).



  reply	other threads:[~2023-09-29 14:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <169586843825.5191.11036492923664810557@vcs2.savannah.gnu.org>
     [not found] ` <20230928023358.9538BC06316@vcs2.savannah.gnu.org>
2023-09-28  3:21   ` master 83e0442139f: There are no file modes on windows and dos Po Lu
2023-09-29 14:10     ` Eli Zaretskii [this message]
2023-09-29 15:53       ` [External] : " Drew Adams
2023-09-29 16:25         ` Eli Zaretskii
2023-10-05  7:19       ` Eli Zaretskii
2023-10-06 16:55       ` Sam Steingold
2023-10-06 17:14         ` Corwin Brust
2023-10-07  5:38         ` Eli Zaretskii
2023-10-02  7:19   ` Michael Albinus

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=83msx5ysr5.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=sds@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.