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

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





             reply	other threads:[~2023-06-12 21:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-12 21:02 Mekeor Melire [this message]
2023-06-13 11:07 ` bug#64029: 30.0.50; info-lookup should respect display-buffer-alist Eli Zaretskii
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=87pm60cr6l.fsf@posteo.de \
    --to=mekeor@posteo.de \
    --cc=64029@debbugs.gnu.org \
    --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).