unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Tom Gillespie <tgbugs@gmail.com>
To: Andrea Corallo <akrl@sdf.org>
Cc: 42940@debbugs.gnu.org
Subject: bug#42940: feature/native-comp; xref-find-definition searches compile location of el files instead of install location
Date: Sat, 22 Aug 2020 16:46:54 -0700	[thread overview]
Message-ID: <CA+G3_PO4Mos-6OnsoM5WNOFqhv3XNZ8EONfaZ2c8ajSgjU1KTw@mail.gmail.com> (raw)
In-Reply-To: <CA+G3_PO6Rt4it6ht2Oqk5Lb9k1woJ=Wd_hyfkE8MbevhoGRC=g@mail.gmail.com>

Here is another test case.

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

emacs -q -batch --no-site-file --eval "(require 'byte-run)" --eval
"(xref-find-definitions 'defun)"
Loading file /usr/libexec/emacs/28.0.50/x86_64-pc-linux-gnu/eln-cache/x86_64-pc-linux-gnu-bbae9d63d1309894/byte-run-1e5facaeb87321037982c815be905e28eaf4253c367238bb2eff9b4286620542.eln
failed to provide feature ‘byte-run’

On Sat, Aug 22, 2020 at 2:53 PM Tom Gillespie <tgbugs@gmail.com> wrote:
>
> It seems that the problem was only partially fixed at
> c818c29771d3cb51875643b2f6c894073e429dd2.
>
> emacs -q -batch --no-site-file --eval "(xref-find-definitions
> 'shell-command)" succeeds whereas
>
> emacs -q -batch --no-site-file --eval "(xref-find-definitions 'looking-at-p)"
> No library /var/tmp/portage/app-editors/emacs-28.0.9999-r1/work/emacs/lisp/subr.el
> in search path
> No definitions found for: looking-at-p
>
> A wrinkle is that the following succeeds when I explicitly require
> 'subr, but produces another warning which seems like it
> might be related to why 'looking-at-p is not found without explicitly
> requiring 'subr.
> emacs -q -batch --no-site-file --eval "(require 'subr)" --eval
> "(xref-find-definitions 'looking-at-p)"
> Loading file /usr/libexec/emacs/28.0.50/x86_64-pc-linux-gnu/eln-cache/x86_64-pc-linux-gnu-bbae9d63d1309894/subr-8e7058db29bf20a68ef89651c940f16d2e5087b6bf685b48ddeb1de1dcd6ad02.eln
> failed to provide feature ‘subr’
>
> On Fri, Aug 21, 2020 at 12:44 AM Andrea Corallo <akrl@sdf.org> wrote:
> >
> > Tom Gillespie <tgbugs@gmail.com> writes:
> >
> > > This is fixed at c818c29771d3cb51875643b2f6c894073e429dd2 for me so it
> > > looks like that reversion did the trick. Thanks!
> >
> > Thank you for reporting that!  Closing
> >
> >   Andrea
> >
> > --
> > akrl@sdf.org





  reply	other threads:[~2020-08-22 23:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

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=CA+G3_PO4Mos-6OnsoM5WNOFqhv3XNZ8EONfaZ2c8ajSgjU1KTw@mail.gmail.com \
    --to=tgbugs@gmail.com \
    --cc=42940@debbugs.gnu.org \
    --cc=akrl@sdf.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).