emacs-devel
[Top][All Lists]
Advanced

[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: Fri, 1 Jan 2021 14:17:44 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 01.01.2021 09:59, martin rudalics wrote:
Sometimes I'd like to choose an alternative from a menu or some sort of
drop down list.  At least when I use the mouse.  Would that be feasible
to add, somehow?

Can we generate a context menu with dynamic content at runtime? If so, that should be easy enough to do.

You can take xref-show-definitions-completing-read as an example, only in the end, instead of calling completing-read the code would create a menu, and item handlers should call xref-pop-to-location.



reply via email to

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