pluginsemacscode-navigationrtags

Emacs RTags: rtags-find-references-at-point


I just installed RTags with Emacs but I am a bit frustrated because while using "rtags-find-references-at-point", Emacs open another window with the different references but do not focus on it. Meaning, each time I am using this functionality, I have to manually switch to that window. It is a normal behavior ? Or is there a way to overcome this "issue" ? Thank you.


Solution

  • I finally decided to use the following function:

    (defun rtags-find-references-at-point-focus ()
      (when (rtags-find-references-at-point)
      (select-window (first (get-buffer-window-list "*RTags*")))))