> Do you mean something like this:
>
https://github.com/fmdkdd/dotfiles/blob/master/emacs/.emacs.d/elisp/xref-posframe.el?
I don't know. After evaluating with emacs -Q
(progn
(load "~/temp/posframe.el")
(load "~/temp/xref-posframe.el")
(global-set-key (kbd "M-.") #'xref-posframe-dwim)
(find-file "~/emacs-git/quick/src/xdisp.c")
(re-search-forward "get_next_display_element"))
I typed M-. and after confirming the TAGS table prompt I got an *xref*
window below the xdisp.c window displaying
/home/martin/emacs-git/quick/src/xdisp.c
7244: #define GET_NEXT_DISPLAY_ELEMENT(
7396: get_next_display_element
What I expected was to show these two lines in a menu (or posframe)
right above or below the "get_next_display_element" string in xdisp.c,
allow navigation there via <up> and <down> and having <right> or <RET>
get me to the corresponding tag, simultaneously popping down the menu
(or posframe). Have I done something wrong?