all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Mattias Engdegård" <mattiase@acm.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 36729@debbugs.gnu.org, stephen.berman@gmx.net
Subject: bug#36729: 27.0.50; Unclear total in directory listing
Date: Sun, 21 Jul 2019 20:36:15 +0200	[thread overview]
Message-ID: <CFC507A0-42BE-40FF-AB46-3819B8714EB8@acm.org> (raw)
In-Reply-To: <8336izsbok.fsf@gnu.org>

21 juli 2019 kl. 16.29 skrev Eli Zaretskii <eliz@gnu.org>:
> 
> (Your reaction seems to imply that I said something silly.  Did I?)

Absolutely not, your comment was most reasonable. It was just my honest reaction of exasperation for not being able to fix such a stupid detail properly.

> Your original report was about the unclear units of the value, so a
> useful clarification would be to tell something about those units.
> That is what I had in mind when I suggested a doc clarification.

Quite, but while we could write that the value might be this or that, it wouldn't actually help the user unless he or she is so well-informed that no explanation is needed. As we all know, good design should not need explaining.

> We already have ls-lisp.el.  It isn't used on platforms where 'ls' is
> available because AFAIK using 'ls' is faster.

Is that is still noticeable on modern systems, or just for very big and/or recursive listings?

I understand the history behind Dired's design: at one point in time, using the system `ls' was not only a way to re-use existing system software, but also gave performance advantages as well as presenting the information in a familiar way. In addition, the `ls' output was more or less identical everywhere, making it easy to parse (no localisation, no Unicode, no MS-DOS, no fancy GNU or BSD options).

The `ls -l' format, in turn, hasn't changed perceptibly for 40 years, give or take a few -- not because it was perfect from the start but because nobody dared breaking scripts and shell pipelines for minor usability advantages.

Thus we are stuck with silly design elements like:
- major structure indicated with a discrete 'd' in column 1
- less-important stuff like the link count and group name prominently displayed
- the file name itself relegated to the very end as if an afterthought, often going past the margin
- disk usage counted in 512-byte physical disk sectors (but not including subdirectories, that would be too useful)
- timestamp parts separated in columns equal in importance to other attributes
- directory 'size' column almost completely useless
- little support for file system improvements since 1975

We can do better, while retaining the old format for those who have grown too accustomed to it (not meant as pejorative).
It's just not what I had planned for in order to fix this bug.






  reply	other threads:[~2019-07-21 18:36 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-19 10:15 bug#36729: 27.0.50; Unclear total in directory listing Mattias Engdegård
2019-07-19 12:16 ` Eli Zaretskii
2019-07-19 13:28   ` Stephen Berman
2019-07-19 15:18     ` Drew Adams
2020-08-22 14:02     ` Lars Ingebrigtsen
2020-08-26 10:10       ` Stephen Berman
2020-10-07  4:44         ` Lars Ingebrigtsen
2020-10-07  7:50           ` Eli Zaretskii
2020-10-07 10:03             ` Mattias Engdegård
2020-10-07 12:14               ` Eli Zaretskii
2020-10-07 13:50                 ` Mattias Engdegård
2020-10-07 14:23                   ` Eli Zaretskii
2020-10-07 14:52                     ` Mattias Engdegård
2020-10-07 16:40                     ` Michael Albinus
2020-10-08  7:45                       ` Robert Pluim
2020-10-08  8:37                         ` Michael Albinus
2019-07-21  8:19   ` Mattias Engdegård
2019-07-21 14:29     ` Eli Zaretskii
2019-07-21 18:36       ` Mattias Engdegård [this message]
2019-07-21 21:31         ` Drew Adams
2019-07-22  2:32           ` Eli Zaretskii
2019-07-22  2:30         ` Eli Zaretskii
2019-07-26 18:30         ` Juri Linkov
2020-08-22 14:00 ` Lars Ingebrigtsen
     [not found] <<048FD91B-CDA0-4444-8F6F-C5B2F5C595CD@acm.org>
     [not found] ` <<83k1ceusn1.fsf@gnu.org>
     [not found]   ` <<68D3B8E0-26F0-474A-B76D-320E523DBDDC@acm.org>
     [not found]     ` <<8336izsbok.fsf@gnu.org>
     [not found]       ` <<CFC507A0-42BE-40FF-AB46-3819B8714EB8@acm.org>
     [not found]         ` <<26fec456-c6bc-461f-8618-9cbc87cdde67@default>
     [not found]           ` <<83k1care8v.fsf@gnu.org>
2019-07-22  2:43             ` Drew Adams

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=CFC507A0-42BE-40FF-AB46-3819B8714EB8@acm.org \
    --to=mattiase@acm.org \
    --cc=36729@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=stephen.berman@gmx.net \
    /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.