all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#42940: feature/native-comp; xref-find-definition searches compile location of el files instead of install location
@ 2020-08-19 22:22 Tom Gillespie
  2020-08-20 11:05 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 10+ messages in thread
From: Tom Gillespie @ 2020-08-19 22:22 UTC (permalink / raw)
  To: 42940, akrl

Hi Andrea,
    On feature/native-comp at 8a931a97b8dd19a38d6f719f810280a07ba76438
I am unable to use xref-find-definition to resolve a large subset of functions
including shell-command. This was not an issue at
9f01ce6327af886f26399924a9aadf16cdd4fd9f and is not an issue on master at
a566e409d0d962d3c2870691175836da22c31111. Repro is below and the messages
point to the cause being that xref-find-definitions is now looking in
the location where
the el files were during compilation instead of where they have been
installed. This
will cause problems for anyone distributing emacs in addition to distros where
compilation is sandboxed. To reproduce it on your end I suspect that
you will need
to use a different compile and install location for the el files. Best!
Tom

Repro:
emacs -q -batch --no-site-file --eval "(xref-find-definitions 'shell-command)"
Stdout:
No library /var/tmp/portage/app-editors/emacs-28.0.9999-r1/work/emacs/lisp/simple.el
in search path
No definitions found for: shell-command





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-08-30  7:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-19 22:22 bug#42940: feature/native-comp; xref-find-definition searches compile location of el files instead of install location Tom Gillespie
2020-08-20 11:05 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-08-20 11:10   ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-08-20 21:36     ` Tom Gillespie
2020-08-21  7:44       ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-08-22 21:53         ` Tom Gillespie
2020-08-22 23:46           ` Tom Gillespie
2020-08-29 18:21             ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-08-30  3:09               ` Tom Gillespie
2020-08-30  7:19                 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors

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.