GNU bug report logs -
#33870
27.0.50; xref-goto-xref not configurable
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Tue, 25 Dec 2018 20:53:01 UTC
Severity: minor
Found in version 27.0.50
Done: Dmitry Gutov <dgutov <at> yandex.ru>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 09.01.2019 03:20, Juri Linkov wrote:
> Then suddenly M-. replaces other half of the screen with empty space with
> only 2 lines at the top. This is because there is an ambiguity in finding
> definitions, and you need to resolve it. Then you start trying to reuse some
> empty space it creates and trying to split the xref window. Instead of
> this, the split is applied to the original window.
Could you write down the commands to get there? I failed to reproduce this.
> Now the question is what to do when the user asks to display
> a definition in another window using ‘C-x 4 .’
> (xref-find-definitions-other-window). The most natural way is to
> immediately take the window pointed out by the user configuration
> (the user can configure to display it below/above/left/right etc.)
> and display the xref window in that window.
I'm not sure if it's the "most natural" way. "A natural" maybe.
> Then visiting a definition
> still will remain in the same window preferred by the user.
>
> The same logic could also apply to xref-find-definitions-other-frame.
>
> This will allow xref-goto-xref to be configurable.
The current behavior seems to work okay for me. So the meaning of
"configurable" I'm expecting here would allow the user to retain the
current behavior if they want. We can discuss the best default afterwards.
This bug report was last modified 6 years and 35 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.