[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Associating module symbols with defining files
From: |
Spencer Baugh |
Subject: |
Re: Associating module symbols with defining files |
Date: |
Wed, 12 Jun 2024 11:23:43 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Spencer Baugh <sbaugh@janestreet.com>
>> Date: Tue, 11 Jun 2024 14:00:33 -0400
>>
>>
>> It's currently impossible to associate a symbol defined by a module with
>> the source file which actually defined that symbol.
>>
>> If this were possible, things like help-view-source would be able to
>> jump to the source code for a module-defined function. Under the hood,
>> ultimately we want symbol-file to return a correct filename for these
>> symbols.
>>
>> Instead, currently, every symbol defined by a module is "defined" by the
>> module .so. So jumping to source just jumps to the (compiled) .so,
>> which is fairly useless.
>>
>> Could this be fixed?
>
> Maybe. But please submit a feature-request bug report with all the
> details and a reproducer, so that we could track this issue.
>
> Thanks.
Sure, filed bug#71522
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71522