[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Poll: Change xref-show-definitions-function's default?

From: Dmitry Gutov
Subject: Re: Poll: Change xref-show-definitions-function's default?
Date: Sun, 3 Jan 2021 19:43:08 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 03.01.2021 10:39, martin rudalics wrote:
 > Indeed, xref-posframe-dwim doesn't handle the "difficult" case, and
 > it's not a suitable xref-show-definitions-function value.

Here I'm using my homespun set of functions because I hate that window
popped up by the default 'xref-find-definitions'.  I would have written
a popup menu version but I still can't grok 'xref--insert-xrefs' and
probably never will ...

xref-show-definitions-completing-read doesn't use xref--insert-xrefs.

Can you use it as the example?

You can basically take the first 2/3rds of that function, and then build the menu based on the value of xref-alist-with-line-info.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]