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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 64029 in the body.
You can then email your comments to 64029 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to rs <at> ralph-schleicher.de, bug-gnu-emacs <at> gnu.org:
bug#64029; Package emacs. (Mon, 12 Jun 2023 21:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mekeor Melire <mekeor <at> posteo.de>:
New bug report received and forwarded. Copy sent to rs <at> ralph-schleicher.de, bug-gnu-emacs <at> gnu.org. (Mon, 12 Jun 2023 21:23:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mekeor Melire <mekeor <at> posteo.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#64029; Package emacs. (Tue, 13 Jun 2023 11:08:01 GMT) Full text and rfc822 format available.

Message #8 received at 64029 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Mekeor Melire <mekeor <at> posteo.de>
Cc: 64029 <at> debbugs.gnu.org, rs <at> ralph-schleicher.de
Subject: Re: bug#64029: 30.0.50;
 info-lookup should respect display-buffer-alist
Date: Tue, 13 Jun 2023 14:07:33 +0300
> Cc: rs <at> ralph-schleicher.de
> From: Mekeor Melire <mekeor <at> 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 sent to Mekeor Melire <mekeor <at> posteo.de>:
You have taken responsibility. (Wed, 14 Jun 2023 07:49:02 GMT) Full text and rfc822 format available.

Notification sent to Mekeor Melire <mekeor <at> posteo.de>:
bug acknowledged by developer. (Wed, 14 Jun 2023 07:49:02 GMT) Full text and rfc822 format available.

Message #13 received at 64029-done <at> debbugs.gnu.org (full text, mbox):

From: Mekeor Melire <mekeor <at> posteo.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 64029-done <at> debbugs.gnu.org, rs <at> ralph-schleicher.de
Subject: Re: bug#64029: 30.0.50; info-lookup should respect
 display-buffer-alist
Date: Wed, 14 Jun 2023 07:43:30 +0000
2023-06-13 14:07 eliz <at> 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. :)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#64029; Package emacs. (Wed, 14 Jun 2023 11:33:01 GMT) Full text and rfc822 format available.

Message #16 received at 64029 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Mekeor Melire <mekeor <at> posteo.de>
Cc: 64029 <at> debbugs.gnu.org, rs <at> ralph-schleicher.de
Subject: Re: bug#64029: 30.0.50; info-lookup should respect
 display-buffer-alist
Date: Wed, 14 Jun 2023 14:32:35 +0300
> From: Mekeor Melire <mekeor <at> posteo.de>
> Cc: 64029-done <at> debbugs.gnu.org, rs <at> ralph-schleicher.de
> Date: Wed, 14 Jun 2023 07:43:30 +0000
> 
> 2023-06-13 14:07 eliz <at> 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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 13 Jul 2023 11:24:08 GMT) Full text and rfc822 format available.

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.