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

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

bug#64029: 30.0.50; info-lookup should respect display-buffer-alist


From: Eli Zaretskii
Subject: bug#64029: 30.0.50; info-lookup should respect display-buffer-alist
Date: Tue, 13 Jun 2023 14:07:33 +0300

> Cc: rs@ralph-schleicher.de
> From: Mekeor Melire <mekeor@posteo.de>
> Date: Mon, 12 Jun 2023 21:02:56 +0000
> 
> Hello :)
> 
> `info-lookup' (from info-look.el) does not respect `display-buffer-alist'.
> 
> To reproduce an example, open some buffer in fundamental-mode, evaluate
> 
>     (setq
>       display-buffer-alist
>       '((t (display-buffer-reuse-window display-buffer-same-window))))
> 
> and type
> 
>     C-h S c-mode RET sin RET
> 
> We'd expect the *info* buffer to be shown in the current window. Instead, a 
> new window is created. This is because info-look.el does neither call 
> display-buffer, nor does it take display-buffer-alist into account by itself:

Thanks.

You should be able to get what you want by customizing the option
info-lookup-other-window-flag to the nil value.

I'm not sure it is reasonable to expect every command to use
display-buffer or its family for every window it displays.





reply via email to

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