GNU bug report logs - #64029
30.0.50; info-lookup should respect display-buffer-alist

Previous Next

Package: emacs;

Reported by: Mekeor Melire <mekeor <at> posteo.de>

Date: Mon, 12 Jun 2023 21:23:02 UTC

Severity: normal

Found in version 30.0.50

Done: Mekeor Melire <mekeor <at> posteo.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mekeor Melire <mekeor <at> posteo.de>
To: 64029 <at> debbugs.gnu.org
Cc: rs <at> 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
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




This bug report was last modified 1 year and 344 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.