[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multibyte and unibyte file names
From: |
Stefan Monnier |
Subject: |
Re: Multibyte and unibyte file names |
Date: |
Fri, 25 Jan 2013 17:28:40 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> What I meant was to return decoded file names from all file-name
> primitives, such as file-name-nondirectory, even if their input was
> encoded.
It's probably OK to do that, but I wonder why we'd need to do it: under
what circumstances could such a primitive receive an encoded file-name,
if all the file names returned to Elisp (by things like directory-files)
are already decoded?
>> Which is why I suggest to decode right away in the functions that return
>> file names (e.g. directory-files).
> We already do that, so there's no issue in that department.
Good.
> The issue is in the file-name primitives that want to support both
> encoded and decoded file names, and as I understand from this
> discussion, this feature should stay.
Of course, we shouldn't just reject encoded filenames, but I don't see
why we should worry too much about them.
> So some things will never work with encoded file names, but I guess no
> one cares, because most of those problems go away if the encoding is
> UTF-8. Fine; if no one cares, neither do I.
Actually, even with other coding systems, this shouldn't be a serious
issue since encoded file names should be rare.
Stefan
- Re: Multibyte and unibyte file names, (continued)
Re: Multibyte and unibyte file names, Stefan Monnier, 2013/01/23
- Re: Multibyte and unibyte file names, Eli Zaretskii, 2013/01/24
- Re: Multibyte and unibyte file names, Stefan Monnier, 2013/01/24
- Re: Multibyte and unibyte file names, Eli Zaretskii, 2013/01/24
- Re: Multibyte and unibyte file names, Stefan Monnier, 2013/01/24
- Re: Multibyte and unibyte file names, Eli Zaretskii, 2013/01/25
- Re: Multibyte and unibyte file names, Stefan Monnier, 2013/01/25
- Re: Multibyte and unibyte file names, Eli Zaretskii, 2013/01/25
- Re: Multibyte and unibyte file names,
Stefan Monnier <=
- Re: Multibyte and unibyte file names, Eli Zaretskii, 2013/01/26
- Re: Multibyte and unibyte file names, Stefan Monnier, 2013/01/26
- Re: Multibyte and unibyte file names, Eli Zaretskii, 2013/01/26
- Re: Multibyte and unibyte file names, Stefan Monnier, 2013/01/26
- Re: Multibyte and unibyte file names, Eli Zaretskii, 2013/01/27
- Re: Multibyte and unibyte file names, Andreas Schwab, 2013/01/27
- Re: Multibyte and unibyte file names, Eli Zaretskii, 2013/01/27
- Re: Multibyte and unibyte file names, Stefan Monnier, 2013/01/27
- Re: Multibyte and unibyte file names, Eli Zaretskii, 2013/01/28
- Re: Multibyte and unibyte file names, Stefan Monnier, 2013/01/28