* question about dired-mode
@ 2007-08-11 18:19 zhiliang.ma
2007-08-12 11:09 ` Mathias Megyei
0 siblings, 1 reply; 2+ messages in thread
From: zhiliang.ma @ 2007-08-11 18:19 UTC (permalink / raw)
To: help-gnu-emacs
Hi all emacs users,
I like emacs dired-mode very much, but one thing still annoys me. A
dired-mode buffer looks like this:
/cis/home/zma/research:
total used in directory 104K available 9378071488
drwxr-xr-x 2 zma zma 4.0K Aug 11 02:33 BIRN
I have put this in my .emacs to make file size more readable
(setq dired-listing-switches "-lAh")
However, the above line does not affect the total free space,
9378071488, ie the last number of second line. I will very appreciate
if somebody can tell me how to make this number readable.
Another question, what the two numbers in the second line, 104K and
9378071488, really means?
Thanks,
zma
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: question about dired-mode
2007-08-11 18:19 question about dired-mode zhiliang.ma
@ 2007-08-12 11:09 ` Mathias Megyei
0 siblings, 0 replies; 2+ messages in thread
From: Mathias Megyei @ 2007-08-12 11:09 UTC (permalink / raw)
To: help-gnu-emacs; +Cc: zhiliang.ma
On Sat, 2007-08-11 at 11:19 -0700, zhiliang.ma@gmail.com wrote:
> Hi all emacs users,
> I like emacs dired-mode very much, but one thing still annoys me. A
> dired-mode buffer looks like this:
>
> /cis/home/zma/research:
> total used in directory 104K available 9378071488
> drwxr-xr-x 2 zma zma 4.0K Aug 11 02:33 BIRN
>
> I have put this in my .emacs to make file size more readable
>
> (setq dired-listing-switches "-lAh")
IWith the following lines in my .emacs
(setq dired-free-space-program "df")
(setq directory-free-space-args "-m")
I get the free space on the partition in question in MBs:
/home/mathias:
total used in directory 90020 available 26263
Mathias
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-12 11:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-11 18:19 question about dired-mode zhiliang.ma
2007-08-12 11:09 ` Mathias Megyei
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).