[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: Mon, 4 Jan 2021 20:41:52 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 04.01.2021 19:42, Juri Linkov wrote:
In commit 8c383456291185b029b469061338b5b797a49747 I have done a bit of
cleanup and documented the existing alternative options.

What do you say we make one of them the default?

As part of this poll we could also decide what to do with the TAB keybinding
because especially after changing the value of 'xref-show-definitions-function'
to 'xref-show-definitions-completing-read' and using the *xref* buffer
exclusively for the grep-like output, it makes more sense for
TAB to behave as in grep-mode.

No need to poll about that, I think.

As long as we change the default to one of the current two alternatives, TAB won't play any role in either (the -at-bottom function sets up RET to call the same command).

Then we can safely remove/change the TAB binding in xref--xref-buffer-mode, or alternatively, create a new major mode that is slightly more Grep-like, and use it in the default xref-show-xrefs-function.

reply via email to

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