bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#16767: 24.3.50; `C-x 5 b' for special-display buffers


From: Stefan Monnier
Subject: bug#16767: 24.3.50; `C-x 5 b' for special-display buffers
Date: Mon, 06 Sep 2021 11:11:21 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

martin rudalics [2021-09-06 16:08:11] wrote:
>> ... it seems this variable was made obsolete in Emacs 24.3?

At the same time as `special-display-regexps`.

>> Martin, is this a bug, or is this something the user just has to use
>> `display-buffer-alist' instead to achieve?
>
> Crystal ball tells me that it's caused by this line in
> `display-buffer--special-action':
>
>            (list (list #'display-buffer-reuse-window
>
> Maybe Stefan can tell us more.

Hmmm `M-x trace-function RET display-buffer-reuse-window RET`
tells me that when we do (pop-to-buffer "*scratch*" t), that function
correctly receives `inhibit-same-window` and obeys it:

    1 -> (display-buffer-reuse-window #<buffer *scratch*> ((inhibit-same-window 
. t)))
    1 <- display-buffer-reuse-window: nil

Same for `C-x 5 b`:

    1 -> (display-buffer-reuse-window #<buffer *scratch*> ((reusable-frames . 
0) (inhibit-same-window . t)))
    1 <- display-buffer-reuse-window: nil

So it seems this is not the culprit.


        Stefan






reply via email to

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