From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#36859: Customizable fit-window-to-buffer Date: Tue, 30 Jul 2019 23:23:03 +0300 Organization: LINKOV.NET Message-ID: <87sgqnp9z8.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="102924"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) To: 36859@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 30 22:40:21 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hsYux-000Qb9-UN for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jul 2019 22:40:20 +0200 Original-Received: from localhost ([::1]:36328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsYuw-00069w-Fm for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jul 2019 16:40:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47077) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsYum-00069b-5N for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 16:40:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsYul-0002y2-6U for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 16:40:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42450) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hsYuh-0002xB-C9 for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 16:40:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hsYuh-0002g8-6C for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 16:40:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Jul 2019 20:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36859 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.156451915710167 (code B ref -1); Tue, 30 Jul 2019 20:40:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Jul 2019 20:39:17 +0000 Original-Received: from localhost ([127.0.0.1]:51266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsYtx-0002ds-Ds for submit@debbugs.gnu.org; Tue, 30 Jul 2019 16:39:17 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:57053) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsYtt-0002db-0O for submit@debbugs.gnu.org; Tue, 30 Jul 2019 16:39:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46491) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsYts-0005yG-3I for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 16:39:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsYtr-0001x5-2L for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 16:39:12 -0400 Original-Received: from blue.oak.relay.mailchannels.net ([23.83.215.20]:59326) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hsYto-0001sx-UI for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 16:39:09 -0400 Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 278B3501A57 for ; Tue, 30 Jul 2019 20:39:07 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a24.g.dreamhost.com (100-96-15-31.trex.outbound.svc.cluster.local [100.96.15.31]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id B5F485020C9 for ; Tue, 30 Jul 2019 20:38:23 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a24.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.5); Tue, 30 Jul 2019 20:39:07 +0000 Original-Received: from pdx1-sub0-mail-a24.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a24.g.dreamhost.com (Postfix) with ESMTP id D80C283EDE for ; Tue, 30 Jul 2019 13:37:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=linkov.net; bh=0cvgyfOkcsc+gDCvzt1 Yc07ArlQ=; b=mFvLG3fSqR6rB7JD3xV4cKCPgJU/ayyTsw12pbPQmToKxUlFFjN dB1kFFZnfsmGd2QyJEVo43WJVaRS4j02EGc/FV729dEced34PcyZ7c1jf+SEk/p1 m9Eun/AhvRoaTJI5q+OZyNXja8tSWGpdo76VnS+to75wJPxiDTt5AAmg= Original-Received: from mail.jurta.org (m91-129-103-76.cust.tele2.ee [91.129.103.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a24.g.dreamhost.com (Postfix) with ESMTPSA id AFA6383ECF for ; Tue, 30 Jul 2019 13:37:55 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a24 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrleefgddugeekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffuohffkfgfgggtgfesthekredttderjeenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdefrdejieenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdefrdejiedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:164134 Archived-At: It's a nice feature when fit-window-to-buffer resizes temporary windows that go away after exiting the minibuffer. OTOH, resizing permanent windows does more harm, because these windows can be reused later for other buffers, but their size remains too narrow. I'm not asking to change the default behavior, but it should be customiza= ble. Current examples of such behavior include: - =E2=80=98C-h f=E2=80=99 (describe-function) diminishes the bottom verti= cally-split Help window; - =E2=80=98C-x v l=E2=80=99 (vc-print-log) diminishes the log window if i= t contains a few entries; - =E2=80=98C-x v =3D=E2=80=99 (vc-diff) diminishes the height of the diff= window; ...