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

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

bug#68081: 30.0.50; derived-mode and display-buffer-alist


From: martin rudalics
Subject: bug#68081: 30.0.50; derived-mode and display-buffer-alist
Date: Sat, 6 Jan 2024 09:56:38 +0100
User-agent: Mozilla Thunderbird

> (setq display-buffer-alist
>      '(((derived-mode . compilation-mode)
>         (display-buffer-in-side-window)
>         (side . top))))
>
> Run 'vc-update' command which creates a compilation-mode buffer.

Thanks, but this doesn't create a compilation-mode buffer here.
'vc-log-internal-common' has these lines

    ;; Display after setting up major-mode, so display-buffer-alist can know
    ;; the major-mode.
    (pop-to-buffer buffer)

so vc.el seems to be aware of the problem.  Can you please spot the
'pop-to-buffer' call responsible for the misbehavior in your scenario?

Thanks, martin





reply via email to

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