[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dynamic loading progress
From: |
Stephen Leake |
Subject: |
Re: Dynamic loading progress |
Date: |
Thu, 15 Oct 2015 14:25:24 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) |
Aurélien Aptel <address@hidden> writes:
> On Thu, Oct 15, 2015 at 3:05 AM, Philipp Stephani <address@hidden> wrote:
>> According to http://stackoverflow.com/a/2339910/178761 there are two types:
>> bundles and dynamic libraries. The differences were bigger in the past (only
>> bundles could be loaded dynamically), but now they are mostly equivalent.
>> Apparently .so and .bundle are usually used for bundles and .dylib for
>> dynamic libraries, but e.g. your example modules compile as dynamic
>> libraries with an .so extension and Emacs is totally happy. So supporting
>> .so should be enough.
>
> OK.
>
>> I'd prefer using the conventional extensions. A custom extension might
>> confuse users and clash with existing meanings of that extension.
>
> Fair enough.
>
>> (put 'module-func 'function-documentation "docstring")
>>
>> ? With that the basics should already be there.
>
> True, but we lose the jump-to-definition feature.
"jump-to-definition" relies on `load-history' (see elisp-mode.el
elisp--xref-find-definitions and subr.el symbol-file). So module
initialization functions can add the appropriate entries in
`load-history'.
--
-- Stephe
- Re: Dynamic loading progress, (continued)
- Re: Dynamic loading progress, Philipp Stephani, 2015/10/14
- Re: Dynamic loading progress, Aurélien Aptel, 2015/10/15
- Re: Dynamic loading progress, Philipp Stephani, 2015/10/14
- Re: Dynamic loading progress, Aurélien Aptel, 2015/10/15
- Re: Dynamic loading progress, Eli Zaretskii, 2015/10/15
- Re: Dynamic loading progress, Philipp Stephani, 2015/10/14
- Re: Dynamic loading progress, Daniel Colascione, 2015/10/15
- Re: Dynamic loading progress, Aurélien Aptel, 2015/10/14
- Re: Dynamic loading progress, Philipp Stephani, 2015/10/14
- Re: Dynamic loading progress, Aurélien Aptel, 2015/10/15
- Re: Dynamic loading progress,
Stephen Leake <=
- Re: Dynamic loading progress, Philipp Stephani, 2015/10/08
- Re: Dynamic loading progress, Paul Eggert, 2015/10/08
- Re: Dynamic loading progress, Daniel Colascione, 2015/10/08
- Re: Dynamic loading progress, Paul Eggert, 2015/10/08
- Re: Dynamic loading progress, Daniel Colascione, 2015/10/08
- Re: Dynamic loading progress, Paul Eggert, 2015/10/08
Re: Dynamic loading progress, Eli Zaretskii, 2015/10/08