GNU bug report logs - #6273
dired-current-directory with `t' arg returns empty string in top-level mount-point "/"

Previous Next

Package: emacs;

Reported by: MON KEY <monkey <at> sandpframing.com>

Date: Tue, 25 May 2010 21:19:02 UTC

Severity: minor

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alexis <flexibeast <at> gmail.com>
To: MON KEY <monkey <at> sandpframing.com>
Cc: 6273 <at> debbugs.gnu.org
Subject: bug#6273: dired-current-directory with `t' arg returns empty string in top-level mount-point "/"
Date: Wed, 06 Jan 2016 23:48:09 +1100
Since the documentation for `dired-current-directory' states:

"Optional argument means return a file name relative to
`default-directory'"

and there is no file name to return in the case that
`dired-current-directory' and `default-directory' are the same,
an empty string seems to be a reasonable return value here.

More generally, regarding the various values returned in each of the
examples provided, my feeling is that unless Emacs contains code in
which these various return values directly interact with each other to
produce obviously incorrect results, this bug should either be closed or
tagged 'wishlist'.




This bug report was last modified 9 years and 189 days ago.

Previous Next


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