[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25183: 26.0.50; expanding quoted file name on w32
From: |
Noam Postavsky |
Subject: |
bug#25183: 26.0.50; expanding quoted file name on w32 |
Date: |
Sat, 24 Dec 2016 12:43:24 -0500 |
On Sat, Dec 24, 2016 at 11:06 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: npostavs@users.sourceforge.net
>> Cc: michael.albinus@gmx.de, 25183@debbugs.gnu.org
>> Date: Sat, 24 Dec 2016 08:57:45 -0500
>>
>> If we want to extend the /: quoting to also apply to relative file names
>> too, then the latter makes sense. Otherwise, the only consistent result
>> would be
>>
>> (expand-file-name "/:~/path/./file") => (error "/: quoting relative file
>> name")
>
> expand-file-name doesn't signal errors, and I don't think it would be
> a good idea to have it start doing that.
I think the status quo (leaving it inconsistent) is okay too (garbage
in, garbage out).
>
>> As I've said in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25183#29,
>> currently "/:~/foo" is a kind of paradoxical file name, being
>> both/neither relative nor absolute.
>
> file-name-absolute-p is not smart enough to handle this case with the
> rigor we are discussing, so I don't think this aspect is important for
> the purposes of this discussion. The "/:" quoting was chosen because
> it fools file-name-absolute-p, so the above is not surprising.
I don't think file-name-absolute-p is relevant.
- bug#25183: 26.0.50; expanding quoted file name on w32, (continued)
- bug#25183: 26.0.50; expanding quoted file name on w32, Drew Adams, 2016/12/12
- 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
- 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,
Noam Postavsky <=
- 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
- bug#25183: 26.0.50; expanding quoted file name on w32, Eli Zaretskii, 2016/12/27
- bug#25183: 26.0.50; expanding quoted file name on w32, Michael Albinus, 2016/12/25
- bug#25183: 26.0.50; expanding quoted file name on w32, Eli Zaretskii, 2016/12/26
- bug#25183: 26.0.50; expanding quoted file name on w32, Michael Albinus, 2016/12/26
- bug#25183: 26.0.50; expanding quoted file name on w32, Eli Zaretskii, 2016/12/27
- bug#25183: 26.0.50; expanding quoted file name on w32, Michael Albinus, 2016/12/27