[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33870: 27.0.50; xref-goto-xref not configurable

From: Dmitry Gutov
Subject: bug#33870: 27.0.50; xref-goto-xref not configurable
Date: Wed, 26 Dec 2018 04:10:42 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:64.0) Gecko/20100101 Thunderbird/64.0

Hi Juri,

On 25.12.2018 22:42, Juri Linkov wrote:
X-Debbugs-CC: Dmitry Gutov <address@hidden>

There is no more need to replace switch-to-buffer with
pop-to-buffer-same-window in xref--pop-to-location
like was asked in https://debbugs.gnu.org/32790#206
because now a new option switch-to-buffer-obey-display-actions
can be customized to t.

Sorry I never responded, see the message in that other thread.

But still there is one xref command, namely `xref-goto-xref' bound to
RET in the *xref* buffer that always displays the buffer in the
predefined window, and there is no way to change this behavior.

Is it possible to change it to use either pop-to-buffer-same-window
or at least switch-to-buffer?

IIUC you want to change xref--show-pos-in-buf to use pop-to-buffer-same-window or switch-to-buffer instead of display-buffer.

Would you like to propose a patch that would still honor the 'action' argument (or the values of xref--original-window* directly)?

Also pinging João who wrote that code.

reply via email to

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