Hello AUCTeX,

With the release of v31 nearing, I thought it might be a good time to
discuss activating the new xref backend in AUCTeX buffers. NEWS claims
that it is activated automatically in TeX buffers, but this is currently
true only for the in-tree tex-mode, at least as far as I can make
out. It happens in 'tex-common-initialization', but I guess this isn't
evaluated at any point by the AUCTeX modes.

Should we put something like:

(when (>= emacs-major-version 31)
  (add-hook 'xref-backend-functions #'tex--xref-backend nil t))

into 'TeX-mode' in tex.el? Or should I revise the text in NEWS to offer
AUCTeX users a code snippet for their init files? Or some third thing
that you would prefer?

Please include me in replies, as I'm not subscribed to the list.

All best,

David.

Reply via email to