* Improving load-history for modules
@ 2023-10-20 22:06 Spencer Baugh
0 siblings, 0 replies; only message in thread
From: Spencer Baugh @ 2023-10-20 22:06 UTC (permalink / raw)
To: emacs-devel
If I have a module which is built from multiple source files each of
which define functions and variables, it would be nice for
find-lisp-object-file-name and/or symbol-file to return the actual file
that each function and variable was defined in. That way
help-view-source works.
It doesn't seem like this is possible currently.
It used to be possible by manually adding entries to load-history inside
the module which corresponded to each function loaded. But bug#30164
added proper load-history entries for modules, which shadow these, so
this doesn't work anymore. Still, we still do this in
https://github.com/janestreet/ecaml
What's the Right Way to tell Emacs about the association between source
files making up a module, and the functions defined by that module?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-10-20 22:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-20 22:06 Improving load-history for modules Spencer Baugh
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).