all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] emacs-26 b1aaa72: Improve documentation of Xref
Date: Mon, 12 Mar 2018 18:43:31 -0400	[thread overview]
Message-ID: <jwv1sgo9as9.fsf-monnier+gmane.emacs.devel@gnu.org> (raw)
In-Reply-To: e27f1859-ba26-c069-9e83-5d2efa44e231@yandex.ru

> "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	other threads:[~2018-03-12 22:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20180311173926.29923.58430@vcs0.savannah.gnu.org>
     [not found] ` <20180311173928.14DD220B54@vcs0.savannah.gnu.org>
2018-03-11 23:15   ` [Emacs-diffs] emacs-26 b1aaa72: Improve documentation of Xref Dmitry Gutov
2018-03-12 16:04     ` Eli Zaretskii
2018-03-12 20:34       ` Dmitry Gutov
2018-03-12 22:43         ` Stefan Monnier [this message]
2018-03-12 23:45           ` Dmitry Gutov
2018-03-13  2:18             ` Stefan Monnier

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=jwv1sgo9as9.fsf-monnier+gmane.emacs.devel@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.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 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.