From: Spencer Baugh <sbaugh@janestreet.com>
To: emacs-devel@gnu.org
Subject: Re: Associating module symbols with defining files
Date: Wed, 12 Jun 2024 11:23:43 -0400 [thread overview]
Message-ID: <iertthynq0w.fsf@janestreet.com> (raw)
In-Reply-To: 86msnq1tkr.fsf@gnu.org
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
prev parent reply other threads:[~2024-06-12 15:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-11 18:00 Associating module symbols with defining files Spencer Baugh
2024-06-12 7:57 ` Eli Zaretskii
2024-06-12 15:23 ` Spencer Baugh [this message]
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=iertthynq0w.fsf@janestreet.com \
--to=sbaugh@janestreet.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).