[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25183: 26.0.50; expanding quoted file name on w32
From: |
Michael Albinus |
Subject: |
bug#25183: 26.0.50; expanding quoted file name on w32 |
Date: |
Mon, 12 Dec 2016 17:54:33 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Michael Albinus <michael.albinus@gmx.de>
>> Date: Mon, 12 Dec 2016 16:54:06 +0100
>>
>>
>> Expanding a quoted file name works wrong on w32 systems. With Emacs
>> running on ‘gnu/linux’, there is
>>
>> (expand-file-name "/:~/path/./file")
>> => "/:~/path/file"
>>
>> This is correct. With Emacs running on ‘windows-nt’, there is
>>
>> (expand-file-name "/:~/path/./file")
>> => "/:c:/Users/lb01177/AppData/Roaming/path/file"
>
> Try
>
> (expand-file-name "/:c:/~/path/./file")
>
> expand-file-name needs to produce an absolute file name, and a file
> name that begins with a "~" isn't.
>
> IOW, I believe this is a feature. If you think it isn't, please
> explain why.
(file-name-absolute-p "/:~/path/./file")
=> t
Best regards, Michael.
- bug#25183: 26.0.50; expanding quoted file name on w32, Michael Albinus, 2016/12/12
- bug#25183: 26.0.50; expanding quoted file name on w32, Eli Zaretskii, 2016/12/12
- bug#25183: 26.0.50; expanding quoted file name on w32,
Michael Albinus <=
- bug#25183: 26.0.50; expanding quoted file name on w32, Noam Postavsky, 2016/12/12
- bug#25183: 26.0.50; expanding quoted file name on w32, Glenn Morris, 2016/12/12
- bug#25183: 26.0.50; expanding quoted file name on w32, Glenn Morris, 2016/12/12
- bug#25183: 26.0.50; expanding quoted file name on w32, npostavs, 2016/12/12
- bug#25183: 26.0.50; expanding quoted file name on w32, Michael Albinus, 2016/12/13
- bug#25183: 26.0.50; expanding quoted file name on w32, Eli Zaretskii, 2016/12/13
- bug#25183: 26.0.50; expanding quoted file name on w32, Eli Zaretskii, 2016/12/24
- bug#25183: 26.0.50; expanding quoted file name on w32, npostavs, 2016/12/24