GNU bug report logs - #2631
get-free-disk-space when home dir also doesn't exist

Previous Next

Package: emacs;

Reported by: Kevin Ryde <user42 <at> zip.com.au>

Date: Tue, 10 Mar 2009 22:30:03 UTC

Severity: normal

Tags: patch

Merged with 3911

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Kevin Ryde <user42 <at> zip.com.au>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 2631 <at> debbugs.gnu.org
Subject: bug#2631: get-free-disk-space when default-directory doesn't exist
Date: Thu, 12 Mar 2009 08:00:10 +1100
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>
> why not bind default-directory to dir?

I think that'd make it error out on a non-existant dir argument, where
currently it returns nil (from the df parsing code, and it looks like
from file-system-info in dosfns.c).

There's a few other places binding to "/", like man.el and message.el,
if it ought to be something else ...




This bug report was last modified 14 years and 84 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.