all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Tags user interface?
@ 2020-04-04 12:27 Skip Montanaro
  2020-04-04 13:24 ` Štěpán Němec
  0 siblings, 1 reply; 2+ messages in thread
From: Skip Montanaro @ 2020-04-04 12:27 UTC (permalink / raw)
  To: Help GNU Emacs

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)?

Thanks,

Skip Montanaro


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Tags user interface?
  2020-04-04 12:27 Tags user interface? Skip Montanaro
@ 2020-04-04 13:24 ` Štěpán Němec
  0 siblings, 0 replies; 2+ messages in thread
From: Štěpán Němec @ 2020-04-04 13:24 UTC (permalink / raw)
  To: Skip Montanaro; +Cc: Help GNU Emacs

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-04 13:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-04 12:27 Tags user interface? Skip Montanaro
2020-04-04 13:24 ` Štěpán Němec

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.