GNU bug report logs - #34169
27.0.50; Display-buffer function to use whole frame

Previous Next

Package: emacs;

Reported by: Alex Branham <alex.branham <at> gmail.com>

Date: Tue, 22 Jan 2019 21:53:01 UTC

Severity: wishlist

Found in version 27.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

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 34169 in the body.
You can then email your comments to 34169 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 bug-gnu-emacs <at> gnu.org:
bug#34169; Package emacs. (Tue, 22 Jan 2019 21:53:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alex Branham <alex.branham <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 22 Jan 2019 21:53:02 GMT) Full text and rfc822 format available.

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

From: Alex Branham <alex.branham <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.0.50; Display-buffer function to use whole frame
Date: Tue, 22 Jan 2019 15:29:53 -0600
It would be nice if Emacs's display-buffer routine had some way to
display the buffer in the current frame and delete the other windows. I
found `magit--display-buffer-fullframe' which seems to do what I want.
Can something like this be added to window.el?

Thanks,
Alex

(defun magit--display-buffer-fullframe (buffer alist)
  (when-let ((window (or (display-buffer-reuse-window buffer alist)
                         (display-buffer-same-window buffer alist)
                         (display-buffer-pop-up-window buffer alist)
                         (display-buffer-use-some-window buffer alist))))
    (delete-other-windows window)
    window))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#34169; Package emacs. (Wed, 18 May 2022 13:34:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Alex Branham <alex.branham <at> gmail.com>
Cc: 34169 <at> debbugs.gnu.org
Subject: Re: bug#34169: 27.0.50; Display-buffer function to use whole frame
Date: Wed, 18 May 2022 15:33:29 +0200
Alex Branham <alex.branham <at> gmail.com> writes:

> It would be nice if Emacs's display-buffer routine had some way to
> display the buffer in the current frame and delete the other windows. I
> found `magit--display-buffer-fullframe' which seems to do what I want.
> Can something like this be added to window.el?
>
> Thanks,
> Alex
>
> (defun magit--display-buffer-fullframe (buffer alist)
>   (when-let ((window (or (display-buffer-reuse-window buffer alist)
>                          (display-buffer-same-window buffer alist)
>                          (display-buffer-pop-up-window buffer alist)
>                          (display-buffer-use-some-window buffer alist))))
>     (delete-other-windows window)
>     window))

Makes sense to me, so I've added this to Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 34169 <at> debbugs.gnu.org and Alex Branham <alex.branham <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 18 May 2022 13:34:02 GMT) Full text and rfc822 format available.

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

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

Previous Next


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