From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexis Newsgroups: gmane.emacs.bugs 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 Message-ID: <87ziwiq3g6.fsf@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1452084566 19349 80.91.229.3 (6 Jan 2016 12:49:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Jan 2016 12:49:26 +0000 (UTC) Cc: 6273@debbugs.gnu.org To: MON KEY Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 06 13:49:15 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aGnWb-0006Qq-3S for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Jan 2016 13:49:13 +0100 Original-Received: from localhost ([::1]:53965 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGnWX-0006K8-Cl for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Jan 2016 07:49:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGnWT-0006Ji-Og for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2016 07:49:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGnWQ-00028f-Fb for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2016 07:49:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51269) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGnWQ-00028R-C8 for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2016 07:49:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aGnWQ-0002dP-5D for bug-gnu-emacs@gnu.org; Wed, 06 Jan 2016 07:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alexis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Jan 2016 12:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6273 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6273-submit@debbugs.gnu.org id=B6273.145208450310065 (code B ref 6273); Wed, 06 Jan 2016 12:49:02 +0000 Original-Received: (at 6273) by debbugs.gnu.org; 6 Jan 2016 12:48:23 +0000 Original-Received: from localhost ([127.0.0.1]:39486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGnVm-0002cH-Qe for submit@debbugs.gnu.org; Wed, 06 Jan 2016 07:48:22 -0500 Original-Received: from mail-pf0-f180.google.com ([209.85.192.180]:36439) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aGnVl-0002c4-37 for 6273@debbugs.gnu.org; Wed, 06 Jan 2016 07:48:21 -0500 Original-Received: by mail-pf0-f180.google.com with SMTP id 65so193483560pff.3 for <6273@debbugs.gnu.org>; Wed, 06 Jan 2016 04:48:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=ninxMzHutNHBdz1tK4GeWBj/Ty9GorLpTRy/Sf1GUQw=; b=iehfSudE6Hw424HBoMevlKQ9sOaQrQdRTltAUs9Z7ChQ3s1Y7CtlcrPMfwkyfPtvg3 gpLDbQ/HHwxVoOLEpX1wKOJO+rhKyajBNFIqYEjvVoxNG1wknUDYYs9vJKqCrQ8j8W1t tIjT4eiRZHZPpV1pDKZ7W41wqSQHzT0r6OJFRjdHQER7WsnoSjK04lT+s4nEOU2nbKlV HQ931m8KNkeZXZejVkmdI92e38qkBKW8Ikre9bGDrgMqp+PQLaAhOAmnpDCBO5bTz/ZZ XW74SO4K26J/XHGNLgT9OSwdkaz5xgyk23wGhy3ErKu/WOcKUwcCpsFfKmyrHG/q9byN rHmw== X-Received: by 10.98.0.149 with SMTP id 143mr140075171pfa.73.1452084495209; Wed, 06 Jan 2016 04:48:15 -0800 (PST) Original-Received: from localhost (114-198-94-242.dyn.iinet.net.au. [114.198.94.242]) by smtp.gmail.com with ESMTPSA id 70sm85500813pfa.3.2016.01.06.04.48.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Jan 2016 04:48:13 -0800 (PST) In-Reply-To: (MON KEY's message of "Tue, 25 May 2010 17:18:40 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:111290 Archived-At: 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'.