[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch gud-gdb to respect other-frame-window?
From: |
Stefan Monnier |
Subject: |
Re: patch gud-gdb to respect other-frame-window? |
Date: |
Mon, 30 Jul 2018 16:28:27 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>> Just a wild guess: maybe the better solution would be for
>> other-frame-window to provide another command to force displaying the
>> buffer in the current window?
>
> As I said in my response to Martin, I think setting the default value of
> 'display-buffer-overriding-action' to 'display-buffer-same-window is the
> appropriate solution. That variable is intended to allow the user to
> override Emac's choices about buffer display, and other-frame-window's
> use of it is consistent with that intent.
No. That's what `display-buffer-alist` is for.
`display-buffer-overriding-action` is intended for use of Elisp packages
like other-frame-window (notice it's not a defcustom, for example).
Stefan
Re: patch gud-gdb to respect other-frame-window?, martin rudalics, 2018/07/30
Re: patch gud-gdb to respect other-frame-window?, Stefan Monnier, 2018/07/30