* bug#64029: 30.0.50; info-lookup should respect display-buffer-alist
@ 2023-06-12 21:02 Mekeor Melire
2023-06-13 11:07 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Mekeor Melire @ 2023-06-12 21:02 UTC (permalink / raw)
To: 64029; +Cc: rs
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:
https://git.sv.gnu.org/cgit/emacs.git/tree/lisp/info-look.el?h=605414d018da47f99dec5019142f584b6eb174c8#n395
Kindly
Mekeor
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#64029: 30.0.50; info-lookup should respect display-buffer-alist
2023-06-12 21:02 bug#64029: 30.0.50; info-lookup should respect display-buffer-alist Mekeor Melire
@ 2023-06-13 11:07 ` Eli Zaretskii
2023-06-14 7:43 ` Mekeor Melire
0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2023-06-13 11:07 UTC (permalink / raw)
To: Mekeor Melire; +Cc: 64029, rs
> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#64029: 30.0.50; info-lookup should respect display-buffer-alist
2023-06-13 11:07 ` Eli Zaretskii
@ 2023-06-14 7:43 ` Mekeor Melire
2023-06-14 11:32 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Mekeor Melire @ 2023-06-14 7:43 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 64029-done, rs
2023-06-13 14:07 eliz@gnu.org:
> 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.
Thanks, Eli. In that case I'll just close this issue. Especially
since I'm satisfied with info-lookup-other-window-flag. Sorry for
the noise. :)
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#64029: 30.0.50; info-lookup should respect display-buffer-alist
2023-06-14 7:43 ` Mekeor Melire
@ 2023-06-14 11:32 ` Eli Zaretskii
0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2023-06-14 11:32 UTC (permalink / raw)
To: Mekeor Melire; +Cc: 64029, rs
> From: Mekeor Melire <mekeor@posteo.de>
> Cc: 64029-done@debbugs.gnu.org, rs@ralph-schleicher.de
> Date: Wed, 14 Jun 2023 07:43:30 +0000
>
> 2023-06-13 14:07 eliz@gnu.org:
>
> > 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.
>
> Thanks, Eli. In that case I'll just close this issue. Especially
> since I'm satisfied with info-lookup-other-window-flag. Sorry for
> the noise. :)
It wasn't noise, and you have nothing to be sorry about.
Thank you for your interest in Emacs.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-06-14 11:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-12 21:02 bug#64029: 30.0.50; info-lookup should respect display-buffer-alist Mekeor Melire
2023-06-13 11:07 ` Eli Zaretskii
2023-06-14 7:43 ` Mekeor Melire
2023-06-14 11:32 ` Eli Zaretskii
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).