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

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

bug#5762: 24.0.50; Show available disk space with -h option when using l


From: Thierry Volpiatto
Subject: bug#5762: 24.0.50; Show available disk space with -h option when using ls with -h option
Date: Wed, 11 Apr 2012 18:33:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux)

Hi Lars,
this old bug come back from hell! :-).

Lars Magne Ingebrigtsen <address@hidden> writes:

> Thierry Volpiatto <address@hidden> writes:
>
>>> in dired when using `dired-listing-switches' with -h option, the second
>>> line of dired buffer is like:
>>>
>>> total used in directory 24M available 19275100
>>>
>>> it should show:
>>>
>>> total used in directory 24M available 19G
>
> Makes sense.
>
> However:
>
> +                (let* ((directory-free-space-args (if (string-match "h" 
> dired-actual-switches)
>
> This would match "--hide" or anything else that contains an "h",
> wouldn't it?
Why one would have "--hide" in this var.
See `dired-listing-switches', I think you can't put something else that
contain "h" into it (I use -alh here), and "--hide" AFAIK is not allowed
there. But verify, I don't use dired anymore.

-- 
  Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 





reply via email to

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