all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: 5762@debbugs.gnu.org
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	[thread overview]
Message-ID: <87pqbez0rz.fsf@gmail.com> (raw)
In-Reply-To: <m3iph6ib9k.fsf@stories.gnus.org> (Lars Magne Ingebrigtsen's message of "Wed, 11 Apr 2012 16:38:47 +0200")

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

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Thierry Volpiatto <thierry.volpiatto@gmail.com> 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	other threads:[~2012-04-11 16:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-24  6:52 bug#5762: 24.0.50; Show available disk space with -h option when using ls with -h option Thierry Volpiatto
2010-03-24  7:29 ` Thierry Volpiatto
2012-04-11 14:38   ` Lars Magne Ingebrigtsen
2012-04-11 16:33     ` Thierry Volpiatto [this message]
2012-04-11 16:47       ` Glenn Morris
2012-04-11 17:26         ` Thierry Volpiatto
2012-04-12 13:25           ` Lars Magne Ingebrigtsen
2012-04-11 20:32         ` Andreas Schwab

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=87pqbez0rz.fsf@gmail.com \
    --to=thierry.volpiatto@gmail.com \
    --cc=5762@debbugs.gnu.org \
    --cc=larsi@gnus.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.