From: Spencer Baugh <sbaugh@janestreet.com>
To: emacs-devel@gnu.org
Subject: Associating module symbols with defining files
Date: Tue, 11 Jun 2024 14:00:33 -0400 [thread overview]
Message-ID: <ier7cevpdfi.fsf@janestreet.com> (raw)
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?
next reply other threads:[~2024-06-11 18:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-11 18:00 Spencer Baugh [this message]
2024-06-12 7:57 ` Associating module symbols with defining files Eli Zaretskii
2024-06-12 15:23 ` Spencer Baugh
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ier7cevpdfi.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.