From: "Clément Pit--Claudel" <clement.pit@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: why is site-lisp placed before the default load path?
Date: Mon, 1 Aug 2016 20:25:49 -0400 [thread overview]
Message-ID: <ed38ed30-05b7-2677-beda-2eb1dc661f2d@gmail.com> (raw)
In-Reply-To: <CA+OMD9gPB6Jqf7ieD_mQRxdw7PsNwXefhu=mdJ2kq9QYb7bG9w@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 904 bytes --]
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.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2016-08-02 0:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-01 16:24 why is site-lisp placed before the default load path? Alex Dunn
2016-08-01 16:39 ` Eli Zaretskii
2016-08-01 17:19 ` Alex Dunn
2016-08-01 17:54 ` Robert Weiner
2016-08-01 18:15 ` Alex Dunn
2016-08-02 17:35 ` James Cloos
2016-08-02 18:35 ` Robert Weiner
2016-08-02 20:07 ` James Cloos
2016-08-02 20:47 ` Robert Weiner
2016-08-02 0:25 ` Clément Pit--Claudel [this message]
2016-08-02 14:58 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ed38ed30-05b7-2677-beda-2eb1dc661f2d@gmail.com \
--to=clement.pit@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).