[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33870: 27.0.50; xref-goto-xref not configurable
From: |
Juri Linkov |
Subject: |
bug#33870: 27.0.50; xref-goto-xref not configurable |
Date: |
Thu, 27 Dec 2018 23:21:39 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
> Does this work well for everybody?
>
> diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
> index c71802c918..85d4325d9e 100644
> --- a/lisp/progmodes/xref.el
> +++ b/lisp/progmodes/xref.el
> @@ -494,7 +494,8 @@ xref--show-pos-in-buf
> (or (and (window-live-p xref--original-window)
> xref--original-window)
> (selected-window))
> - (display-buffer buf action))
> + (pop-to-buffer buf action)
> + (selected-window))
> (xref--goto-char pos)
> (run-hooks 'xref-after-jump-hook)
> (let ((buf (current-buffer)))
Unfortunately, I see no difference. It still selects the original window
before calling pop-to-buffer, so the display action is relative
to the original window, not to the currently selected window
as it would be natural to expect.
- bug#33870: 27.0.50; xref-goto-xref not configurable, Juri Linkov, 2018/12/25
- bug#33870: 27.0.50; xref-goto-xref not configurable, Dmitry Gutov, 2018/12/25
- bug#33870: 27.0.50; xref-goto-xref not configurable, João Távora, 2018/12/26
- bug#33870: 27.0.50; xref-goto-xref not configurable, Juri Linkov, 2018/12/26
- bug#33870: 27.0.50; xref-goto-xref not configurable, João Távora, 2018/12/26
- bug#33870: 27.0.50; xref-goto-xref not configurable, Dmitry Gutov, 2018/12/27
- bug#33870: 27.0.50; xref-goto-xref not configurable, João Távora, 2018/12/27
- bug#33870: 27.0.50; xref-goto-xref not configurable,
Juri Linkov <=
- bug#33870: 27.0.50; xref-goto-xref not configurable, Dmitry Gutov, 2018/12/27
- bug#33870: 27.0.50; xref-goto-xref not configurable, Juri Linkov, 2018/12/27
- bug#33870: 27.0.50; xref-goto-xref not configurable, Dmitry Gutov, 2018/12/27
- bug#33870: 27.0.50; xref-goto-xref not configurable, João Távora, 2018/12/28
- bug#33870: 27.0.50; xref-goto-xref not configurable, Juri Linkov, 2018/12/27
- bug#33870: 27.0.50; xref-goto-xref not configurable, João Távora, 2018/12/27
bug#33870: 27.0.50; xref-goto-xref not configurable, Eli Zaretskii, 2018/12/26