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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Alex Branham <alex.branham@HIDDEN>; dated Tue, 22 Jan 2019 21:53:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 22 Jan 2019 21:52:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 22 16:52:27 2019
Received: from localhost ([127.0.0.1]:41650 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gm3y7-0002CM-Bo
	for submit <at> debbugs.gnu.org; Tue, 22 Jan 2019 16:52:27 -0500
Received: from eggs.gnu.org ([209.51.188.92]:51450)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alex.branham@HIDDEN>) id 1gm3y5-0002C8-8W
 for submit <at> debbugs.gnu.org; Tue, 22 Jan 2019 16:52:25 -0500
Received: from lists.gnu.org ([209.51.188.17]:54443)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <alex.branham@HIDDEN>)
 id 1gm3xz-0001eg-IL
 for submit <at> debbugs.gnu.org; Tue, 22 Jan 2019 16:52:19 -0500
Received: from eggs.gnu.org ([209.51.188.92]:55372)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <alex.branham@HIDDEN>) id 1gm3cK-0000LQ-LM
 for bug-gnu-emacs@HIDDEN; Tue, 22 Jan 2019 16:29:58 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <alex.branham@HIDDEN>) id 1gm3cJ-0004nj-P1
 for bug-gnu-emacs@HIDDEN; Tue, 22 Jan 2019 16:29:56 -0500
Received: from mail-ot1-x32e.google.com ([2607:f8b0:4864:20::32e]:35816)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <alex.branham@HIDDEN>)
 id 1gm3cJ-0004nO-Ha
 for bug-gnu-emacs@HIDDEN; Tue, 22 Jan 2019 16:29:55 -0500
Received: by mail-ot1-x32e.google.com with SMTP id 81so39648otj.2
 for <bug-gnu-emacs@HIDDEN>; Tue, 22 Jan 2019 13:29:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=user-agent:from:to:subject:date:message-id:mime-version;
 bh=WPfP5nfa5/Fv3FUB6AkrdhWPPCdde9peago3A33siGQ=;
 b=NgqArjpdDWyvj8aLoADvaJf6uvcgyFwGnWOyC5nhFmvy/ARNLJNHa5SKNNIB2tS570
 VsuZUayHUXbo44Lmiuhf5CeKoGBfy3Nkw8cLhITXLiTNu5G/YLMu/NFEitKDl14W1J8n
 OvfjJMOrsiHtLlkXIFWMr4GcDgkRnYIjFd49MxVDB1MGkysaFeYt3LsRnRgzqAy7hth0
 GYuH0r+dshbp7JAEXSiZJlnHhUnEJTCkpxotrOhUQxGnwpx0XG4sJKKNruO5idKRp/1n
 7hhD9LtfebcHRyHp6V+AmR8w3s5BtyqTqTY77LLts3KN4X+8ct5na575sDiTxq0MH3fs
 Oy9A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:user-agent:from:to:subject:date:message-id
 :mime-version;
 bh=WPfP5nfa5/Fv3FUB6AkrdhWPPCdde9peago3A33siGQ=;
 b=di9tDMHxtNYxrUKt7deKaCOawyQOj/sad8KNhkJ/6MeTaQeyvVfIonkI/e9a0ng+wl
 ukG43tHjFpI/25qj0N7mcfmNxnzEg0q5HG3rq0u7Rwhf5DXg1sbpRhMghkCjm27TebAc
 JS7+C1BXCMrQLFsCm6peRrLFhW0GnA9vvV0o+zo07QLFBFS8LYivRUWzu2pbVlzJhIQ4
 3XiXDDINBH90aqV5lur47DT7s+AGopxtEhPnJyJEamA+oc+4t6eR3ZI/5gZiYIHA6PCF
 nph+tVTJEftg+AQLYIN5DI993nuEY4hZgToDxFM7A/DDuQN594VSiywsBhHK8Ym8vsVq
 JuFw==
X-Gm-Message-State: AJcUukfF1ZJhd9ZXZTIbfOKAHNuTlHVbRLgVPx/GzWqotM+8XRiT6JCG
 6KNEu4qJPkqoeTjChnsBAZtmegtu
X-Google-Smtp-Source: ALg8bN6Z+SBFdm0+LkOzpCA+eeLb6/KtZkR5XkhGY3stZNRK4rvXHUG4MLcTBy1l7eBdvFjpRcGw9A==
X-Received: by 2002:a9d:7dd2:: with SMTP id k18mr22342309otn.232.1548192594477; 
 Tue, 22 Jan 2019 13:29:54 -0800 (PST)
Received: from mars (nat-128-62-58-163.public.utexas.edu. [128.62.58.163])
 by smtp.gmail.com with ESMTPSA id l9sm7144291otj.9.2019.01.22.13.29.53
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Tue, 22 Jan 2019 13:29:53 -0800 (PST)
User-agent: mu4e 1.1.0; emacs 27.0.50
From: Alex Branham <alex.branham@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 27.0.50; Display-buffer function to use whole frame
Date: Tue, 22 Jan 2019 15:29:53 -0600
Message-ID: <87imygl6su.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2607:f8b0:4864:20::32e
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

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))




Acknowledgement sent to Alex Branham <alex.branham@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#34169; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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