[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: why is site-lisp placed before the default load path?
From: |
Clément Pit--Claudel |
Subject: |
Re: why is site-lisp placed before the default load path? |
Date: |
Mon, 1 Aug 2016 20:25:49 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
On 2016-08-01 13:54, Robert Weiner wrote:
>> realgud is just an example. It uses names like js.el and info.el
>> because they are supposed to be loaded via `load-relative`, rather
>> than required directly, but subdirs.el placing them at the front of
>> the load path is what's causing trouble.
>
> Given all the existing tools that look for Elisp files by filename,
> find-library being just one, it is not a good assumption that the
> filename will always be uniquely identified by adding a directory
> name.
I'm not sure about this. The only bit of code that is supposed to load these
internal files loads them using an absolute path, so that assumption if fine
AFAICT.
>> Rocky could add 'realgud-' to the beginning of every elisp file in
>> the application,
>
> That would be much better and safer and more generally useful.
Can you explain why?
Thanks!
Clément.
signature.asc
Description: OpenPGP digital signature
- why is site-lisp placed before the default load path?, Alex Dunn, 2016/08/01
- Re: why is site-lisp placed before the default load path?, Eli Zaretskii, 2016/08/01
- Re: why is site-lisp placed before the default load path?, Alex Dunn, 2016/08/01
- Re: why is site-lisp placed before the default load path?, Robert Weiner, 2016/08/01
- Re: why is site-lisp placed before the default load path?, Alex Dunn, 2016/08/01
- Re: why is site-lisp placed before the default load path?, James Cloos, 2016/08/02
- Re: why is site-lisp placed before the default load path?, Robert Weiner, 2016/08/02
- Re: why is site-lisp placed before the default load path?, James Cloos, 2016/08/02
- Re: why is site-lisp placed before the default load path?, Robert Weiner, 2016/08/02
- Re: why is site-lisp placed before the default load path?,
Clément Pit--Claudel <=
- Re: why is site-lisp placed before the default load path?, Stefan Monnier, 2016/08/06