[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Poll: Change xref-show-definitions-function's default?
From: |
Juri Linkov |
Subject: |
Re: Poll: Change xref-show-definitions-function's default? |
Date: |
Thu, 07 Jan 2021 19:47:07 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
>> I'm afraid the default of xref-show-definitions-function can't be changed
>> to xref-show-definitions-completing-read because as this poll indicates
>> it works satisfactorily only in combination with icomplete-mode and
>> also non-nil icomplete-show-matches-on-no-input.
>
> What about xref-show-definitions-buffer-at-bottom, then?
Sorry, I have no opinion about xref-show-definitions-buffer-at-bottom,
I'm using xref-show-definitions-completing-read with icomplete.
>>> 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.
>> Maybe a new submode could help to resolve this discrepancy.
>
> Yes, that's the second option I meant.
Maybe the TAB keybinding should depend on the value of
xref-show-definitions-function. When it is customized to
xref-show-definitions-completing-read then don't bind TAB.
- Re: Poll: Change xref-show-definitions-function's default?, (continued)
Re: Poll: Change xref-show-definitions-function's default?, Philip K., 2021/01/04
Re: Poll: Change xref-show-definitions-function's default?, Juri Linkov, 2021/01/04