From: Michael Albinus <michael.albinus@gmx.de>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: Leo Liu <sdl.web@gmail.com>, 16851-done@debbugs.gnu.org
Subject: bug#16851: 24.3.50; file-truename removes trailing / on remote hosts
Date: Sun, 23 Feb 2014 15:52:31 +0100 [thread overview]
Message-ID: <87ios551ao.fsf@gmx.de> (raw)
In-Reply-To: <m1d2ie9gfc.fsf@gmail.com>
Andreas Schwab <schwab@linux-m68k.org> writes:
> Leo Liu <sdl.web@gmail.com> writes:
>
>> 1. Open dired on a remote host
>> 2. eval (file-truename default-directory)
>>
>> The trailing / is gone.
>
> I don't think this is a bug as file-truename operates on file names, but
> default-directory is a directory (so use directory-file-name first, and
> file-name-as-directory afterwards).
I tend to agree that this is not a bug. OTOH, it is easy to change Tramp
to behave like `file-truename' on local file names, so I've changed it.
> Andreas.
Best regards, Michael.
next prev parent reply other threads:[~2014-02-23 14:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-23 12:12 bug#16851: 24.3.50; file-truename removes trailing / on remote hosts Leo Liu
2014-02-23 13:10 ` Andreas Schwab
2014-02-23 13:19 ` Juanma Barranquero
2014-02-23 13:26 ` Andreas Schwab
2014-02-23 13:28 ` Juanma Barranquero
2014-02-23 13:37 ` Andreas Schwab
2014-02-23 13:39 ` Juanma Barranquero
2014-02-23 14:52 ` Michael Albinus [this message]
2014-02-24 20:21 ` Stefan Monnier
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=87ios551ao.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=16851-done@debbugs.gnu.org \
--cc=schwab@linux-m68k.org \
--cc=sdl.web@gmail.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).