bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44273: "total used in directory 19 available 5.2 GiB"


From: Mattias Engdegård
Subject: bug#44273: "total used in directory 19 available 5.2 GiB"
Date: Wed, 28 Oct 2020 12:18:56 +0100

forcemerge 44273 36379
stop

28 okt. 2020 kl. 12.02 skrev Lars Ingebrigtsen <larsi@gnus.org>:

> I didn't see any howling in that bug report, though?  I just skimmed it
> quickly.

I think there was some discussion (if you can call it that) outside that 
report, but I may be misremembering.

> As an aside: The general design of dired is frustrating.  Dumping
> whatever the system "ls" gives us into a buffer and then trying to make
> do isn't a good approach.
> 
> The argument that Tramp needs to parse "ls" output is valid, and that
> "ls" is faster than `ls-lisp' is, too, but it's still backwards: Dired
> should take a well-defined data structure and then render it according
> to however the user wants.

Definitely, and if it is faster to fork another process and parse its output 
with slow regexps in Emacs to do the job of what ordinarily just takes a few 
syscalls, then we aren't doing our job properly. It's not hard to read 
directories efficiently.

In any case I'm merging the bugs, optimistically keeping them open.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]