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

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

bug#2631: get-free-disk-space when default-directory doesn't exist


From: Eli Zaretskii
Subject: bug#2631: get-free-disk-space when default-directory doesn't exist
Date: Tue, 17 Mar 2009 06:05:02 +0200

> From: Kevin Ryde <user42@zip.com.au>
> Date: Tue, 17 Mar 2009 11:02:26 +1100
> Cc: 2631@emacsbugs.donarmstrong.com
> 
> > default-directory to "~/" rather than "/"
> 
> What is it that's not good about "/"?  It doesn't have to be readable or
> anything I don't think, just somewhere capable of a chdir().

Doesn't chdir need certain rights? what if the user doesn't have them?

> Either way what I missed from my first post was that a change to
> default-directory ought to absolutize the given dir argument, so that
> say
> 
>     (get-free-disk-space ".")
> 
> gives info about the original default-directory, not the mangled one.

What "mangled one"?






reply via email to

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