help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Tags user interface?


From: Štěpán Němec
Subject: Re: Tags user interface?
Date: Sat, 04 Apr 2020 15:24:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

On Sat, 4 Apr 2020 05:27:08 -0700
Skip Montanaro wrote:

> It's been a long time since I used tags much, but I find myself needing it
> now while exploring a large code base (Python source). It seems no tags
> commands are bound to key sequences any longer. Am I missing something? Is
> there a better way to jump to the definition of a C object (using the term
> loosely)?

These days M-. is bound to `xref-find-definitions' by default, which is
a generalized source jumping interface, so to speak; but
`etags--xref-backend' is still included in the default value of
`xref-backend-functions', so I would expect M-. to still work as
expected for you, as long as you have etags set up.

Different modes provide various other backends, of course. The most
common ones for Python currently seem to be lsp-mode or elpy, both of
which provide their own backends (sourced from the likes of jedi or
python-language-server).

-- 
Štěpán



reply via email to

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