[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ELPA] New package: dired-du
From: |
Yuri Khan |
Subject: |
Re: [ELPA] New package: dired-du |
Date: |
Sat, 27 May 2017 17:59:57 +0700 |
On Sat, May 27, 2017 at 5:06 PM, Tino Calancha <address@hidden> wrote:
>> Would it be useful to extract the Lisp replacement of du as a separate
>> library, or does that raise too many questions about cache management?
>
> That part is expected to be very slow. I just added recently as a fallback,
> but it is not the recomended way. Actually I show one warning encouraging
> the user to install `du'.
That’s why I’m suggesting extracting it: so that the casual user
reading the code does not spend time in the fallback; or,
alternatively, focuses on it specifically.
>> Wouldn’t it make sense to share the cache across all Dired buffers
>> and persist it independently of buffer lifetimes?
>
> I don't know. I decided the implementation according with my use case:
> i just wanted to see the actual size of my dirs in human readable units. For
> this naive purpose the buffer locallity of `dired-du-dir-info' is fine.
> Once other people start using the lib we might find convenient to change
> those particular aspects of the implementation.
Okay.
I wonder… will it work over Tramp/ssh?