[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: |
Sun, 26 May 2024 22:30:37 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi Michael,
Michael Heerdegen <michael_heerdegen@web.de> writes:
> Xiyue Deng <manphiz@gmail.com> writes:
>
>> > [...] doesn't add subdirectories recursively. Or does it?
>> This is the content of subdirs.el:
>>
>> ,----
>> | (if (fboundp 'normal-top-level-add-subdirs-to-load-path)
>> | (normal-top-level-add-subdirs-to-load-path))
>> `----
>
> Ok indeed - `normal-top-level-add-to-load-path'
> vs. `normal-top-level-add-subdirs-to-load-path', I see.
>
>
>> [...] With this support dh-elpa can keep the same directory layout as
>> ELPA for package with source files in nested directories as well.
>
> I see. Then I think the more you mimic (or call) what package.el does
> the saver you are.
>
>> > Any package still can add subdirectories explicitly. In sum I see
>> > more disadvantages.
>>
>> I agree with you arguments here. My initial thoughts for adding
>> subdirectories are mainly to give developer some flexibilities to
>> organize the source code, but if subdirectories can be added explicitly
>> then it's fine. Do you know where how that's done is documented for
>> ELPA?
>
> Sorry, no, and I didn't find anything. Could be that it's undocumented.
> At least I did not find an explicit description of how subdirectories of
> the content directory are handled.
Thanks for help checking! It's not urgent as we don't have an actual
use case yet. Will revisit should the need comes up.
>
>
> Michael.
--
Xiyue Deng
- Re: Question regarding load-path handling for ELPA packages, (continued)
- 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, 2024/05/17
- 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 <=
Re: Question regarding load-path handling for ELPA packages, Michael Heerdegen, 2024/05/17