[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: |
Mon, 12 Dec 2016 19:39:09 -0500 |
>>> (expand-file-name "/:~/path/./file")
>>> => "/:~/path/file"
>>> (expand-file-name "/:~/path/./file")
>>> => "/:c:/Users/lb01177/AppData/Roaming/path/file"
>
> (file-name-absolute-p "/:~/path/./file")
> => t
I think all these cases are user error, `(emacs) Quoted File Names' says
You can "quote" an absolute file name [...] add ‘/:’ at the beginning
But you cannot quote a relative file name, which looks like what
you're trying to do here. It might better to throw an error than
return nonsense (though possibly not worth the trouble).
- 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, 2016/12/12
- bug#25183: 26.0.50; expanding quoted file name on w32,
Noam Postavsky <=
- 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, 2016/12/24
- bug#25183: 26.0.50; expanding quoted file name on w32, Eli Zaretskii, 2016/12/24