emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] emacs-26 b1aaa72: Improve documentation of Xref


From: Stefan Monnier
Subject: Re: [Emacs-diffs] emacs-26 b1aaa72: Improve documentation of Xref
Date: Mon, 12 Mar 2018 18:43:31 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> "M-. (bound to xref-find-definitions) can't find any
> definitions. I visit-tags-file, set tags-file-name and tags-table-list
> manaully, generated the file with etags and ctags, everything. No luck"
>
> Basically, there was no reason to expect navigation to those symbols to
> work, except that the user had created and visited a tags table containing
> them. So I think the surprise really was that M-. didn't use the current
> tags table.

I guess this is due to the fact that M-. used to rely on etags so the
user who hasn't paid attention gets surprised, indeed.

Maybe xref could have an ad-hoc hack which does:
- if there's no match
- and there's a tags table installed.
- and there's a match in the tags table.
- then kindly suggest to the user to activate xref-etags-mode


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]