[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: File modes facilities.
From: |
Drew Adams |
Subject: |
RE: File modes facilities. |
Date: |
Fri, 21 Oct 2005 23:32:17 -0700 |
> Don't load-file and load-library complete the file name
> differently? Doesn't
> load-library expect the library to be in the load-path, while
> load-file is
> content to load a file even if it is not in the load-path?
> The (cons load-path load-suffixes) makes me think this only works for
> load-path files.
load-library seems to handle both load-path names and
explicitly-specified pathnames. [The completion help is kind
of screwy though -- tons of duplicate entries are show]
Right - both load-library and load-file just call `load'. I was speaking
only of the completion, responding to Richard, who mentioned that they both
did completion now.
It looks like they complete differently: `load-library' completes libraries
(as Richard said), wrt your load-path; `load-file' completes file names, wrt
the default-directory.
I think it's good to have these two different kinds of completion (that is,
two different commands), even though the aim in both cases is to load a Lisp
file, and both will accept an absolute file name as argument.
- Re: File modes facilities., (continued)
- Re: File modes facilities., Kim F. Storm, 2005/10/21
- Re: File modes facilities., Richard M. Stallman, 2005/10/21
- Re: File modes facilities., Stefan Monnier, 2005/10/21
- Re: File modes facilities., Richard M. Stallman, 2005/10/22
- RE: File modes facilities., Drew Adams, 2005/10/22
- Re: File modes facilities., Miles Bader, 2005/10/22
- RE: File modes facilities.,
Drew Adams <=
- Re: File modes facilities., Miles Bader, 2005/10/22
- RE: File modes facilities., Drew Adams, 2005/10/22
- Re: File modes facilities., Stefan Monnier, 2005/10/23
- RE: File modes facilities., Drew Adams, 2005/10/23
- Re: File modes facilities., Richard M. Stallman, 2005/10/24
- Re: File modes facilities., Stefan Monnier, 2005/10/24
- RE: File modes facilities., Drew Adams, 2005/10/24
- Re: File modes facilities., Stefan Monnier, 2005/10/24
- RE: File modes facilities., Drew Adams, 2005/10/24
- Re: File modes facilities., Richard M. Stallman, 2005/10/20