[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16851: 24.3.50; file-truename removes trailing / on remote hosts
From: |
Michael Albinus |
Subject: |
bug#16851: 24.3.50; file-truename removes trailing / on remote hosts |
Date: |
Sun, 23 Feb 2014 15:52:31 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
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.
bug#16851: 24.3.50; file-truename removes trailing / on remote hosts,
Michael Albinus <=