From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aaron Jensen Newsgroups: gmane.emacs.bugs Subject: bug#45748: 28.0.50; fit-frame-to-buffer ignores leading spaces Date: Sat, 9 Jan 2021 09:57:04 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17025"; mail-complaints-to="usenet@ciao.gmane.io" To: 45748@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 09 16:58:15 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 1kyGd3-0004Ic-O4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Jan 2021 16:58:13 +0100 Original-Received: from localhost ([::1]:59446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyGd2-0006QG-Q1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Jan 2021 10:58:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyGcs-0006Pt-B8 for bug-gnu-emacs@gnu.org; Sat, 09 Jan 2021 10:58:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40931) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kyGcs-0002W5-3M for bug-gnu-emacs@gnu.org; Sat, 09 Jan 2021 10:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kyGcs-0000qR-1L for bug-gnu-emacs@gnu.org; Sat, 09 Jan 2021 10:58:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Aaron Jensen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Jan 2021 15:58: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.16102078423197 (code B ref 45748); Sat, 09 Jan 2021 15:58:01 +0000 Original-Received: (at 45748) by debbugs.gnu.org; 9 Jan 2021 15:57:22 +0000 Original-Received: from localhost ([127.0.0.1]:52477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyGcE-0000pV-06 for submit@debbugs.gnu.org; Sat, 09 Jan 2021 10:57:22 -0500 Original-Received: from mail-yb1-f181.google.com ([209.85.219.181]:46560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kyGcC-0000pI-M3 for 45748@debbugs.gnu.org; Sat, 09 Jan 2021 10:57:20 -0500 Original-Received: by mail-yb1-f181.google.com with SMTP id f6so12428757ybq.13 for <45748@debbugs.gnu.org>; Sat, 09 Jan 2021 07:57:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=6yfNpA+JfQF9akJ/o6VISJXjYCQ2qt/nZyY7EyVlaqQ=; b=ZJUrsYQwk+3y1vR0K5venr8Ex84BlYP7pO4kCgaQDODR0in2ZSUSFlKnxmjFKIjp2f quBmEuheZqfui0J3Igq8WaqJH4t4y4ZMarVdQWTDyfEEChjj85WASznnVREN+Wk45CnI 7lD2p/drG8VQTlj1P/+6iAhz13yc8OqCXOe0s50fl3UJgSiUvy6kdDfoH6SQwpEa5J0x AgbCdNQUhyEMEEOkJ4a3KrCt8yElbHPMya+HO/Uxp+WQImODUgVwy0LYUMI5LLjIfU2r sgWvAgYAwDOSeiRvztJ6hiFiQVoZC5oQhbUOsuwB/Byk59sIViU6Au+gKN84Osb3gvVZ PSRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=6yfNpA+JfQF9akJ/o6VISJXjYCQ2qt/nZyY7EyVlaqQ=; b=s70iorT0p4831uQE38ZgH7q4AXSrHKyhuzi8vYCOongzpcN2Ub8LbNOLmeap0SO46/ Fjd95ovZXvtrHA44hN8Q2qi7a2iXHqRHoRVIea+2TOxQa6LqZDoWw9+6dGhJ92K1zwUc MTdhB45lDg89ra7BPrgqSgCuEhLx+LHDp+x7H/+/dzSD7Q1sUjH5AIUWnNLTUtP8JL85 +9hitJBcE8WjTwIF8Y0kGMQdvERYZ0LC+iEMWdzOOrt+JrbaC5/YF7HGY3mFLVZR1Owe I3tqg+tL8/cIP9tlBBNqB6Yd7xaeLhI9dPWVGFtmkJ+YC9J9Vde+0a6KuTd60Yxm8WTJ s8DA== X-Gm-Message-State: AOAM532gcG5Nd44FU6FhZDPOHQainYuEibHMpvKDfhw7lBEBbdec/bJ4 eG/zb2gU/JQamwd47xe1rStmyhbYWus3H895uhgMUE70cS0= X-Google-Smtp-Source: ABdhPJyfbqHI6Ac0qc1F3UaMwUi67Z47lzwmhZkaiep/nZrmdcj+65f5WoMG/4E3B7BfUrROibHq/PapGWQ9wwdaNTw= X-Received: by 2002:a25:9c07:: with SMTP id c7mr13187446ybo.21.1610207834862; Sat, 09 Jan 2021 07:57:14 -0800 (PST) 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:197554 Archived-At: I believe the problem is with: (window-text-pixel-size nil t) The FROM of t causes window-text-pixel-size to ignore leading spaces. A TO of t, causes it to ignore trailing spaces. fit-frame-to-buffer passes both as t. This is hardcoded unless you use fit-frame-to-buffer-1 I can't say if window-text-pixel-size is behaving as expected or not. Aaron