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 them.
I decide it would be wise to refactor, extract them together into a class, before introducing the new variable.
But I need to choose the member functions for that class. I mark the set of files and search for the variable names to identify what operations might be needed.
And so I run recursive directory insert in Dired, call
M-x dired-mark-files-regexp (
% m) to mark the source files, and then call
M-x dired-do-find-regexp (
A). I flip through the xref buffer with
n) and look in-context at how the variables are used.
But I can barely see the cursor. The salient lines are not in the selected frame, and so the cursor appears as a hollow rectangle, and setting
(global-hl-line-mode 1) does not help.
How can I highlight the cursor or the line in unselected frames?
I'll gladly settle for a solution that makes the cursors in all unselected frames visible, not just those adjacent to
I'll even settle for an (eshell-based?) method that will let me see the few lines around each occurence, but in a recursive tree of source files, not just in one directory.
The question continues with a sequel here.