unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alexis <flexibeast@gmail.com>
To: MON KEY <monkey@sandpframing.com>
Cc: 6273@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	[thread overview]
Message-ID: <87ziwiq3g6.fsf@gmail.com> (raw)
In-Reply-To: <AANLkTilsGk_KuhsUkclf9npZvoqg_6VKsaY13HKmJvxS@mail.gmail.com> (MON KEY's message of "Tue, 25 May 2010 17:18:40 -0400")


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'.





  reply	other threads:[~2016-01-06 12:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-25 21:18 bug#6273: dired-current-directory with `t' arg returns empty string in top-level mount-point "/" MON KEY
2016-01-06 12:48 ` Alexis [this message]
2016-01-08 10:43   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ziwiq3g6.fsf@gmail.com \
    --to=flexibeast@gmail.com \
    --cc=6273@debbugs.gnu.org \
    --cc=monkey@sandpframing.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).