[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: load-path contains directories or directory names?
From: |
Eli Zaretskii |
Subject: |
Re: load-path contains directories or directory names? |
Date: |
Mon, 26 Oct 2015 18:29:34 +0200 |
> From: Stephen Leake <address@hidden>
> Cc: address@hidden, address@hidden
> Date: Mon, 26 Oct 2015 08:46:21 -0500
>
> Eli Zaretskii <address@hidden> writes:
>
> > In addition, on MS-Windows 'expand-file-name' converts all backslashes
> > to forward slashes, thus producing nicer and more "standard" results.
>
> This raises this issue of whether elements in `load-path' can have
> backslashes (or other syntax on VMS? not that we support VMS anymore,
> but I'm feeling nostalgic :).
I didn't write that wrt load-path (or other similar lists), I wrote
that wrt constructing file names by combining a directory name with a
file's basename.
> I always assume `load-path' has canonical Emacs file name format, but
> the doc string doesn't say that, and on Windows it would seem "natural"
> to add directory file names with backslashes.
We can add that requirement to the doc string of load-path (and its
ilk), if we think it's important. Although using expand-file-name
will work even with backslashes, of course.
- Re: load-path contains directories or directory names?, (continued)
- Re: load-path contains directories or directory names?, John Wiegley, 2015/10/23
- Re: load-path contains directories or directory names?, Stephen Leake, 2015/10/24
- Re: load-path contains directories or directory names?, Michael Heerdegen, 2015/10/24
- Re: load-path contains directories or directory names?, Eli Zaretskii, 2015/10/25
- Re: load-path contains directories or directory names?, John Wiegley, 2015/10/25
- Re: load-path contains directories or directory names?, Eli Zaretskii, 2015/10/25
- Re: load-path contains directories or directory names?, John Wiegley, 2015/10/25
- RE: load-path contains directories or directory names?, Drew Adams, 2015/10/25
- Re: load-path contains directories or directory names?, Stephen Leake, 2015/10/26
- Re: load-path contains directories or directory names?, Stephen Leake, 2015/10/26
- Re: load-path contains directories or directory names?,
Eli Zaretskii <=