unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Mekeor Melire <mekeor@posteo.de>
Cc: 64029@debbugs.gnu.org, rs@ralph-schleicher.de
Subject: bug#64029: 30.0.50; info-lookup should respect display-buffer-alist
Date: Tue, 13 Jun 2023 14:07:33 +0300	[thread overview]
Message-ID: <83o7ljwrgq.fsf@gnu.org> (raw)
In-Reply-To: <87pm60cr6l.fsf@posteo.de> (message from Mekeor Melire on Mon, 12 Jun 2023 21:02:56 +0000)

> 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	other threads:[~2023-06-13 11:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2023-06-14  7:43   ` Mekeor Melire
2023-06-14 11:32     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83o7ljwrgq.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=64029@debbugs.gnu.org \
    --cc=mekeor@posteo.de \
    --cc=rs@ralph-schleicher.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).