From: Johan Claesson <johanclaesson@bredband.net>
To: "Óscar Fuentes" <ofv@wanadoo.es>
Cc: Dmitry Gutov <dgutov@yandex.ru>, 23164@debbugs.gnu.org
Subject: bug#23164: 25.1.50; xref-find-definitions with local tags-file-name fails
Date: Mon, 04 Apr 2016 10:53:41 +0200 [thread overview]
Message-ID: <87a8l9oiui.fsf@bredband.net> (raw)
In-Reply-To: <87zita16ow.fsf@wanadoo.es> ("Óscar Fuentes"'s message of "Mon, 04 Apr 2016 03:52:31 +0200")
I can also reproduce it on emacs-25 (commit f501116).
With valid TAGS file or /dev/zero.
I get the same backtrace.
Regards,
/Johan
Óscar Fuentes <ofv@wanadoo.es> writes:
> Dmitry Gutov <dgutov@yandex.ru> writes:
>
>> Thanks for the report, but that doesn't seem to be the case here. At
>> least if I replace "/dev/zero" with "~/vc/emacs/src/TAGS", the
>> scenario doesn't lead to an error (I just get "not found"), and if I
>> also use e.g. "CALLN" instead of "foo", the jump to the destination
>> occurs as expected.
>
> I can reproduce it here with an existing TAGS file, on emacs -Q.
>
> GNU Emacs 25.0.92.3 (x86_64-unknown-linux-gnu, X toolkit) of 2016-04-03
>
> at commit fc3cd53900eb5e80b91b6d2615b3800fd2f59c16
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> expand-file-name(nil)
> tags-expand-table-name(nil)
> visit-tags-table-buffer(t)
> etags--xref-find-definitions("foo")
> #[514 "\300!\207" [etags--xref-find-definitions] 4 "\n\n(fn BACKEND SYMBOL)"](etags "foo")
> apply(#[514 "\300!\207" [etags--xref-find-definitions] 4 "\n\n(fn BACKEND SYMBOL)"] etags "foo")
> xref-backend-definitions(etags "foo")
> xref--find-xrefs("foo" definitions "foo" nil)
> xref--find-definitions("foo" nil)
> xref-find-definitions("foo")
> eval((xref-find-definitions "foo") nil)
> elisp--eval-last-sexp(nil)
> eval-last-sexp(nil)
> funcall-interactively(eval-last-sexp nil)
> call-interactively(eval-last-sexp nil nil)
> command-execute(eval-last-sexp)
next prev parent reply other threads:[~2016-04-04 8:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-30 20:52 bug#23164: 25.1.50; xref-find-definitions with local tags-file-name fails Johan Claesson
2016-04-04 1:29 ` Dmitry Gutov
2016-04-04 1:52 ` Óscar Fuentes
2016-04-04 8:53 ` Johan Claesson [this message]
2016-04-04 21:14 ` Johan Claesson
2016-04-04 21:24 ` Johan Claesson
2016-04-07 3:15 ` Dmitry Gutov
2016-04-09 15:00 ` Johan Claesson
2016-11-22 18:49 ` Josiah Schwab
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=87a8l9oiui.fsf@bredband.net \
--to=johanclaesson@bredband.net \
--cc=23164@debbugs.gnu.org \
--cc=dgutov@yandex.ru \
--cc=ofv@wanadoo.es \
/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.