From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#56772: 29.0.50; regexp-builder window is very tall when temp-buffer-resize-mode is enabled Date: Mon, 05 Sep 2022 20:58:49 +0200 Message-ID: <87sfl51wd2.fsf@gnus.org> References: <86zggv9fes.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40268"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 56772@debbugs.gnu.org, Daniel =?UTF-8?Q?Mart=C3=ADn?= To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 05 21:00:16 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oVHKS-000AHe-ND for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Sep 2022 21:00:16 +0200 Original-Received: from localhost ([::1]:43454 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVHKR-0002Bc-La for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Sep 2022 15:00:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVHKF-0002Ag-BN for bug-gnu-emacs@gnu.org; Mon, 05 Sep 2022 15:00:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60167) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVHKF-0007mV-1G for bug-gnu-emacs@gnu.org; Mon, 05 Sep 2022 15:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oVHKE-0007Vo-SI for bug-gnu-emacs@gnu.org; Mon, 05 Sep 2022 15:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Sep 2022 19:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56772 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 56772-submit@debbugs.gnu.org id=B56772.166240434228738 (code B ref 56772); Mon, 05 Sep 2022 19:00:02 +0000 Original-Received: (at 56772) by debbugs.gnu.org; 5 Sep 2022 18:59:02 +0000 Original-Received: from localhost ([127.0.0.1]:48863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVHJF-0007TO-K6 for submit@debbugs.gnu.org; Mon, 05 Sep 2022 14:59:01 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:42926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVHJD-0007T5-8Y for 56772@debbugs.gnu.org; Mon, 05 Sep 2022 14:58:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=olbQejGQ4VO8Ch3L+/o+BXFDeq5Nd2Q+FMEdwThW5ys=; b=G52gMycgDuzd0hm+jRPK+qQ090 Oq6OqS4rseGmajIVYNHer+WZ/WvrdOUxpoT/01Fra3s6sd0KnfGudLgLo+wyqPLGxIAGYMXx4joDv 49m6B3gje8G/Z0HpfA0rA3Wz6v4O097zsOUe++YTWuFcf34iVB8tNdsrsapkTembpyB4=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oVHJ5-0004PW-A6; Mon, 05 Sep 2022 20:58:53 +0200 In-Reply-To: <86zggv9fes.fsf@mail.linkov.net> (Juri Linkov's message of "Wed, 27 Jul 2022 10:35:23 +0300") X-Now-Playing: The Rolling Stones's _Black and Blue_: "Hey, Negrita" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:241585 Archived-At: Juri Linkov writes: > But a better fix is this: > > diff --git a/lisp/emacs-lisp/re-builder.el b/lisp/emacs-lisp/re-builder.el > index 46b429ce6f..84018f06ac 100644 > --- a/lisp/emacs-lisp/re-builder.el > +++ b/lisp/emacs-lisp/re-builder.el > @@ -369,7 +369,8 @@ re-builder > (get-buffer-create reb-buffer) > `((display-buffer-in-direction) > (direction . ,dir) > - (dedicated . t)))))) > + (dedicated . t) > + (window-height . fit-window-to-buffer)))))) So I pushed this to Emacs 29 now.