The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [xref]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
17 views

Improving Etags support for fortran?

When using xref with Fortran I noticed that indexing by etags is highly incomplete; Almost exclusively subroutines (and maybe functions) are index, but modules, types, constants and global variables ...
1
vote
0answers
27 views

calling xref-find-definitions within lisp code

I want to call xref-find-definitions from within my own lisp code and I'm struggling. (xref-find-definitions IDENTIFIER) Find the definition of the identifier at point. It wants a parameter ...
3
votes
0answers
44 views

xref gets confused by similar class names

If I use evil-jump-to-tag or xref-find-defintions on an inherited class module whose name is the same as a class in my current project, I am taken to the definition in the current project. I would ...
2
votes
2answers
132 views

How do I use xref-find-definitions with multiple source directories?

I'm attempting to make changes to an Emacs package. I currently have the version in use installed in ~/.emacs.d/elpa/<package> and the source checked out from git in /src/<package>. When ...
0
votes
0answers
83 views

How do I select the xref completion buffer using the keyboard?

Prior to the appearance of xref hitting M-v would switch to the completions buffer. Now this does not appear to work however. I am running GNU Emacs 26.1 (build 1, x86_64-apple-darwin13.4.0, Carbon ...
0
votes
0answers
27 views

xref suggestions are truncated

I use xref to find tags in emacs 25. My problem is with C defines, when there are multiple definitions. The *xref* buffer shows suggestions, but does not show enough text (it stops ...
1
vote
1answer
95 views

Using advice to run function before tag symbol lookup

I use xref-find-definition to look up the definition of a symbol name. When I call xref-find-definition, I want to Emacs to automatically find and load an appropriately named etags file. For this ...
1
vote
2answers
104 views

Longer flashing of search string during multi-file searches

When the cursor is in the *xref* buffer, following dired-do-find-regexp, the found string in the adjacent frame flashes, but too briefly, making it quite hard to see. A simple solution is to increase ...
2
votes
1answer
149 views

How can I highlight cursor or line in unselected frames?

Prelude Let me start by mentioning the scenario where the problem arises. I see that 2-3 variables are always used together in a system. I need to add yet another one that will be used along with ...
0
votes
0answers
69 views

recenter *xref* buffer on next-error

I have a next-error-hook to recenter the next-error-last-buffer, so if the buffer is displayed, it will recenter to the line of the error I just jumped to: (defun jpk/next-error-hook () (let ((win (...