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#45748: 28.0.50; fit-frame-to-buffer ignores leading spaces Date: Fri, 15 Jan 2021 17:37:07 +0200 Message-ID: <83lfcu9pp8.fsf@gnu.org> References: <01d09a7b-09b0-9221-5bf3-8454f94704f7@gmx.at> <83k0smgeq8.fsf@gnu.org> <83v9by9z80.fsf@gnu.org> <83sg729w9t.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38155"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45748@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 15 16:39:55 2021 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 1l0RCc-0009ov-BN for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Jan 2021 16:39:54 +0100 Original-Received: from localhost ([::1]:50908 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l0RCb-00019Q-95 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Jan 2021 10:39:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0RAo-0006ZO-53 for bug-gnu-emacs@gnu.org; Fri, 15 Jan 2021 10:38:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58201) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l0RAn-00045E-QO for bug-gnu-emacs@gnu.org; Fri, 15 Jan 2021 10:38:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l0RAn-0004oH-Li for bug-gnu-emacs@gnu.org; Fri, 15 Jan 2021 10:38:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Jan 2021 15:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45748 X-GNU-PR-Package: emacs Original-Received: via spool by 45748-submit@debbugs.gnu.org id=B45748.161072504018441 (code B ref 45748); Fri, 15 Jan 2021 15:38:01 +0000 Original-Received: (at 45748) by debbugs.gnu.org; 15 Jan 2021 15:37:20 +0000 Original-Received: from localhost ([127.0.0.1]:41514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0RA7-0004nN-Ty for submit@debbugs.gnu.org; Fri, 15 Jan 2021 10:37:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0RA3-0004n8-Rs for 45748@debbugs.gnu.org; Fri, 15 Jan 2021 10:37:18 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59843) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l0R9y-0003hh-Bu; Fri, 15 Jan 2021 10:37:10 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1260 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l0R9x-0000ot-Rj; Fri, 15 Jan 2021 10:37:10 -0500 In-Reply-To: (message from Aaron Jensen on Fri, 15 Jan 2021 08:04:00 -0600) 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:197989 Archived-At: > From: Aaron Jensen > Date: Fri, 15 Jan 2021 08:04:00 -0600 > Cc: martin rudalics , 45748@debbugs.gnu.org > > On Fri, Jan 15, 2021 at 7:15 AM Eli Zaretskii wrote: > > Why does it require GUI? > > It may not, but I couldn't figure out how to control the window well > enough to predict its size, which is likely ignorance. > That's why I created a child frame so I knew that only what I wanted > was visible and I could predict its size. > I can try a few things later, though I'm open to any suggestions. We don't really need to resize a frame, we just need to call the function and check its result, right?