From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#44080: 27.1; Display behavior of overlays `after-string` in resizable minibuffer frames Date: Wed, 21 Oct 2020 18:00:41 +0300 Message-ID: <83pn5bmxnq.fsf@gnu.org> References: <83v9f6ngr6.fsf@gnu.org> <9a624e83-8d12-7597-2421-8c8ac9415ef9@gmx.at> <62b3f36b-c352-6004-7a59-e95ffe1ce408@gmx.at> <10267321-400d-5d36-1558-070a24476a03@posteo.de> <82e8f1b4-c3cb-6aec-45d3-e413da4a1b58@gmx.at> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14618"; mail-complaints-to="usenet@ciao.gmane.io" Cc: clemens.radermacher@posteo.de, 44080@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 21 17:23:32 2020 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 1kVFxb-0003g4-Up for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Oct 2020 17:23:31 +0200 Original-Received: from localhost ([::1]:54400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVFxa-0001m5-Vb for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Oct 2020 11:23:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kVFbt-0007sR-4a for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2020 11:01:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38656) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kVFbq-0008UJ-4I for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2020 11:01:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kVFbp-00041c-Vt for bug-gnu-emacs@gnu.org; Wed, 21 Oct 2020 11:01:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Oct 2020 15:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44080 X-GNU-PR-Package: emacs Original-Received: via spool by 44080-submit@debbugs.gnu.org id=B44080.160329243915432 (code B ref 44080); Wed, 21 Oct 2020 15:01:01 +0000 Original-Received: (at 44080) by debbugs.gnu.org; 21 Oct 2020 15:00:39 +0000 Original-Received: from localhost ([127.0.0.1]:50202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVFbS-00040q-Sz for submit@debbugs.gnu.org; Wed, 21 Oct 2020 11:00:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kVFbR-00040e-U2 for 44080@debbugs.gnu.org; Wed, 21 Oct 2020 11:00:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50521) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kVFbL-0008NS-GB; Wed, 21 Oct 2020 11:00:31 -0400 Original-Received: from [176.228.60.248] (port=3995 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kVFbK-00089F-GC; Wed, 21 Oct 2020 11:00:31 -0400 In-Reply-To: <82e8f1b4-c3cb-6aec-45d3-e413da4a1b58@gmx.at> (message from martin rudalics on Wed, 21 Oct 2020 15:49:00 +0200) 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:191172 Archived-At: > Cc: 44080@debbugs.gnu.org > From: martin rudalics > Date: Wed, 21 Oct 2020 15:49:00 +0200 > > (1) Rename 'fit-frame-to-buffer' to say 'fit-frame-to-buffer-1' and give > that function two new arguments FROM and TO. In its > 'window-text-pixel-size' call, replace the "t t" with "from to". > > (2) Provide a new function 'fit-frame-to-buffer' with the same singature > as the old 'fit-frame-to-buffer' that calls `fit-frame-to-buffer-1' with > FROM and TO t. > > (3) Provide a new function 'fit-mini-frame-to-buffer' that calls > 'fit-frame-to-buffer-1' with FROM and TO nil. Offer that function as > first choice when customizing 'resize-mini-frames' and call it in > 'window--resize-mini-frame' when 'resize-mini-frames' is nil. > > If 'fit-frame-to-buffer' has additional defects when used for resizing > mini frames, we could try to fix them in 'fit-mini-frame-to-buffer' as > well. WDYT? SGTM, if this fixes the original problem (as I think it will). Thanks.