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: Tue, 12 Jan 2021 22:34:42 -0600 Message-ID: References: <01d09a7b-09b0-9221-5bf3-8454f94704f7@gmx.at> <83k0smgeq8.fsf@gnu.org> 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="10176"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45748@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 13 05:36:37 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 1kzXtd-0002Y9-LP for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 13 Jan 2021 05:36:37 +0100 Original-Received: from localhost ([::1]:54930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzXtc-0006sN-JV for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Jan 2021 23:36:36 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzXt7-0006aE-Eg for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 23:36:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50609) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzXt4-0003qj-4s for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 23:36:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kzXt4-0006rH-0s for bug-gnu-emacs@gnu.org; Tue, 12 Jan 2021 23:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Aaron Jensen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Jan 2021 04:36: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.161051250226271 (code B ref 45748); Wed, 13 Jan 2021 04:36:01 +0000 Original-Received: (at 45748) by debbugs.gnu.org; 13 Jan 2021 04:35:02 +0000 Original-Received: from localhost ([127.0.0.1]:33921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzXs5-0006pV-T0 for submit@debbugs.gnu.org; Tue, 12 Jan 2021 23:35:02 -0500 Original-Received: from mail-yb1-f170.google.com ([209.85.219.170]:37965) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzXs4-0006p5-6w for 45748@debbugs.gnu.org; Tue, 12 Jan 2021 23:35:00 -0500 Original-Received: by mail-yb1-f170.google.com with SMTP id r63so968750ybf.5 for <45748@debbugs.gnu.org>; Tue, 12 Jan 2021 20:35:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5dQvkjGmvtNcSZTI6X1F+1RxztKHG2xAckPpeLLelCQ=; b=EuZsMrbFQIF4IZBPpgTUi62SBqGkD8VvyiTAfgmYQ2SfMoOBnPU/lEsLrdf+/v4Yqf Q7PG24FUt/sSsZpnT8SMZLIqAjikRdzlTy6ckiJNUVd+Ldl6E0aD8uoB7NGivMAbVhqk 5Zpd52LeNXDshgMmcx+8MSvgVqD2okCSX9OESpBaOYoBj3QZGyVhTETxMjPeCNCZNzb9 rsBS0chxJZKg/PROd/ZoZ6SIBzZg1RyrBRH80LaY/wul+0Dk+udmEZWpNQE0AJemNX+u Rh8/cN1A7jrcmkpYaIdQMpgGjQwUqiDkn5JWTq6qgW0BXf37/m9xhQ61+cwWka7AWZZW YhbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5dQvkjGmvtNcSZTI6X1F+1RxztKHG2xAckPpeLLelCQ=; b=WkQvUXYfx3E8gtmSK11SP89ODFS7wAztOB9l0stVz+kvy5vzcD1nG8CUe9N+skt937 +wXEI17i7dqAWLUe9jXROn6HsIMeewQXL39pAUaFAph95tEFoy4q2EVcA6R/e6ioP/7X 8fiQO0AQctW37ke2+J/2mivd711RFUNSYSWvOSX+fz6ajTe3vdSvJ5J8rehH5zSUUrGF Ds6oe3aE4xs3zhw6SbpeWq8AnQsjVc1JaKlzNJmmbLMbkgAE11u2l3QBfELlXY7Twdla L7DeCg13KoYPTj+Srf9JZ7a2hqMjf+1muYuebhethE4LI/p+bIbmN1DcgLxZis3kFHs+ 3isQ== X-Gm-Message-State: AOAM532j7beEswl0YLa8eB6AClsZA8O1v8BpRZS/Te7nW1EYbFKkburN 9WMzBudoJ+KiL66z94Qv8mXPMDQuF8vzGrylTaM= X-Google-Smtp-Source: ABdhPJy4jxbIsNwK9rpRHp97vegvH1tDEqOuuRgfNZvjEe0tZyerpyTG6/5C1E5xGkGqwwxTRZEeRWLg5Ic5pE2KGHA= X-Received: by 2002:a25:497:: with SMTP id 145mr652210ybe.275.1610512494585; Tue, 12 Jan 2021 20:34:54 -0800 (PST) In-Reply-To: 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:197873 Archived-At: Eli, On Sat, Jan 9, 2021 at 8:56 PM Aaron Jensen wrote: > > On Sat, Jan 9, 2021 at 12:14 PM Eli Zaretskii wrote: > > Yes, probably. > > > > But before we do any changes here, we need a test suite. Would you > > mind adding the necessary tests to test/src/xdisp-tests.el? > > Okay, I added a few basic tests for this case. I don't know if that's > the best way to test it, but it's what I could figure out. > ... Does this one look good to you? Aaron