From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Clemens Newsgroups: gmane.emacs.bugs Subject: bug#44080: 27.1; Display behavior of overlays `after-string` in resizable minibuffer frames Date: Tue, 20 Oct 2020 11:27:17 +0200 Message-ID: References: <83v9f6ngr6.fsf@gnu.org> <9a624e83-8d12-7597-2421-8c8ac9415ef9@gmx.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31105"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: 44080@debbugs.gnu.org To: martin rudalics , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 20 11:28:20 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 1kUnwK-00080I-IP for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Oct 2020 11:28:20 +0200 Original-Received: from localhost ([::1]:54608 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUnwJ-0001m8-Ej for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Oct 2020 05:28:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUnw3-0001lt-1T for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2020 05:28:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60260) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kUnw2-0003Pj-MB for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2020 05:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kUnw2-0000y0-Jc for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2020 05:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Clemens Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Oct 2020 09:28:02 +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.16031860473634 (code B ref 44080); Tue, 20 Oct 2020 09:28:02 +0000 Original-Received: (at 44080) by debbugs.gnu.org; 20 Oct 2020 09:27:27 +0000 Original-Received: from localhost ([127.0.0.1]:43565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUnvS-0000wY-M4 for submit@debbugs.gnu.org; Tue, 20 Oct 2020 05:27:26 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:41969) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUnvR-0000wK-7L for 44080@debbugs.gnu.org; Tue, 20 Oct 2020 05:27:25 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 0AD80160061 for <44080@debbugs.gnu.org>; Tue, 20 Oct 2020 11:27:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1603186039; bh=HfH0BMJ6EnNQ1JuII5SEbC0DeH9hy86cOMDGhhZNZlI=; h=Subject:To:Cc:From:Date:From; b=odkMXeCGrHZiURjfsooR4lDyEUVP/eBN1uppU91HfagjRCrIXxUtXqYV8dtH2+cUm pUhPcC3Le9HEmXl+KMNXX6oM+x5E/Zkx/DlHO20TW2Tg+VQ4GwoOztb73rufmEow4L UDk9hACtU35rv3oSH35ZPQvB5O/tV+3e/55E7rp6yzf7tDpwZYXWDBi33AvaT2QMiO BA/SOVpFfOVRnQK8EnNWafea2f/urD3gXh6Peq+gzZziV/CCiMBpRJsfmKCTDUy7Gg Ad/b5Ex43Rd2XIAxNBfWE6wiy8xqwD3662zQAIJ7NuWD32P63VUpsxWPLBxEq7Gzeq DZO4rfb8DK1UQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CFpDk3RFmz9rxQ; Tue, 20 Oct 2020 11:27:18 +0200 (CEST) In-Reply-To: <9a624e83-8d12-7597-2421-8c8ac9415ef9@gmx.at> Content-Language: en-US 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:191070 Archived-At: > Indeed.  'fit-frame-to-buffer' strips empty spaces at the beginning and > end of the buffer - it's aim is to make the frame occupy as little of > screen space as possible.  If 'resize-mini-frames' should handle > peculiarities as such display strings, it's probably better to write a > tailored function that handles them by calling 'window-text-pixel-size' > with the appropriate arguments. > > But we can change the default behavior as well, or provide an appropriate > option. To give some context, the current behavior is a problem for completion frameworks which want to display a vertical list of candidates in the minibuffer. They need to use an overlay so the candidates aren't considered part of the minibuffer-contents which is expected to only contain the current user input.