[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#3911: get-free-disk-space when default-directory doesn't exist
From: |
Chong Yidong |
Subject: |
bug#3911: get-free-disk-space when default-directory doesn't exist |
Date: |
Mon, 17 Aug 2009 21:02:27 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Kevin Ryde <user42@zip.com.au> writes:
> I think the test for file-remote-p is covered by the first line of the
> func so it's not needed in the dir condition bit, per below.
But that applies to DIR, not default-directory.
> I still think "/" might as well be used unconditionally though.
Principle of least surprise. If we don't have to change the default
directory, let's not, even if it seems harmless (because we can never be
sure of every eventuality).
- bug#3911: get-free-disk-space when default-directory doesn't exist, Kevin Ryde, 2009/08/20
- bug#3911: get-free-disk-space when default-directory doesn't exist,
Chong Yidong <=
- bug#3911: get-free-disk-space when default-directory doesn't exist, Kevin Ryde, 2009/08/20
- bug#3911: get-free-disk-space when default-directory doesn't exist, Kevin Ryde, 2009/08/20
- bug#3911: get-free-disk-space when default-directory doesn't exist, Stefan Monnier, 2009/08/22
- bug#3911: get-free-disk-space when default-directory doesn't exist, Kevin Ryde, 2009/08/24
- bug#3911: get-free-disk-space when default-directory doesn't exist, Stefan Monnier, 2009/08/25
- bug#3911: get-free-disk-space when default-directory doesn't exist, Kevin Ryde, 2009/08/28
- bug#3911: get-free-disk-space when default-directory doesn't exist, Stefan Monnier, 2009/08/28
- bug#3911: get-free-disk-space when default-directory doesn't exist, Kevin Ryde, 2009/08/31