[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Poll: Change xref-show-definitions-function's default?
From: |
Philip K. |
Subject: |
Re: Poll: Change xref-show-definitions-function's default? |
Date: |
Mon, 04 Jan 2021 15:21:31 +0100 |
Dmitry Gutov <dgutov@yandex.ru> writes:
> On 04.01.2021 14:12, Philip K. wrote:
>> Another idea, might be to have a "silent" option, that doesn't display
>> the buffer by default, but leaves a message that there are more results.
>
> What happens next, then? How will the user get to any of those results?
The idea would be that the interaction would look something like this:
1. The user invokes xref-find-definitions.
2. Instead of presenting the solutions, it jumps to the first one, and
if there are more, this is indicated in the minibuffer.
3. Other matches can be displayed using next-error/previous-error
4. At this point, the buffer could be opened, or one could stick to the
minibuffer and generate a message like "showing definition N out of
M".
I haven't looked into next-error/previous-error, so it might be that
this isn't feasible, without rewriting a lot of code.
It goes without saying that this should not be the default option.
--
Philip K.
- Re: Poll: Change xref-show-definitions-function's default?, (continued)
- Re: Poll: Change xref-show-definitions-function's default?, João Távora, 2021/01/02
- Re: Poll: Change xref-show-definitions-function's default?, Daniel Martín, 2021/01/03
- Re: Poll: Change xref-show-definitions-function's default?, João Távora, 2021/01/03
- Re: Poll: Change xref-show-definitions-function's default?, Dmitry Gutov, 2021/01/03
- Re: Poll: Change xref-show-definitions-function's default?, João Távora, 2021/01/04
- Re: Poll: Change xref-show-definitions-function's default?, Dmitry Gutov, 2021/01/04
- Re: Poll: Change xref-show-definitions-function's default?, João Távora, 2021/01/04
- Re: Poll: Change xref-show-definitions-function's default?, Dmitry Gutov, 2021/01/04
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