[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question regarding load-path handling for ELPA packages
From: |
Xiyue Deng |
Subject: |
Re: Question regarding load-path handling for ELPA packages |
Date: |
Fri, 17 May 2024 14:32:19 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Michael Heerdegen via "Emacs development discussions."
<emacs-devel@gnu.org> writes:
> Xiyue Deng <manphiz@gmail.com> writes:
>
>> > * Would someone kindly provide some pointer to how `load-path' is being
>> > handled as my rusty Elisp is preventing me to fully understand this.
>
> Can only answer this one: AFAIU this is done using the autoload
> mechanism - see `package-generate-autoloads'.
>
> In effect, the parent directory of the autoloads file is added to
> `load-path' when this file is loaded - typically when activating
> packages.
>
Thanks a lot for the pointer, Michael! Will take a look.
> An analog trick should allow to add subdirectories.
>
Not sure about this as it may potentially break things (e.g. auctex).
Would still like to hear what the developers think.
>
> Michael.
>
>
--
Xiyue Deng
- Question regarding load-path handling for ELPA packages, Xiyue Deng, 2024/05/09
- Re: Question regarding load-path handling for ELPA packages, Xiyue Deng, 2024/05/17
- Re: Question regarding load-path handling for ELPA packages, Michael Heerdegen, 2024/05/17
- Re: Question regarding load-path handling for ELPA packages,
Xiyue Deng <=
- Re: Question regarding load-path handling for ELPA packages, Michael Heerdegen, 2024/05/18
- Re: Question regarding load-path handling for ELPA packages, Michael Heerdegen, 2024/05/18
- Re: Question regarding load-path handling for ELPA packages, Xiyue Deng, 2024/05/19
- Re: Question regarding load-path handling for ELPA packages, Michael Heerdegen, 2024/05/19
- Re: Question regarding load-path handling for ELPA packages, Xiyue Deng, 2024/05/20
- Re: Question regarding load-path handling for ELPA packages, Michael Heerdegen, 2024/05/22
- Re: Question regarding load-path handling for ELPA packages, Xiyue Deng, 2024/05/22
- Re: Question regarding load-path handling for ELPA packages, Michael Heerdegen, 2024/05/26
- Re: Question regarding load-path handling for ELPA packages, Xiyue Deng, 2024/05/27
Re: Question regarding load-path handling for ELPA packages, Michael Heerdegen, 2024/05/17