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#8355: 24.0.50; Boxes in mode-line and scrolling Date: Fri, 11 Dec 2020 13:59:37 +0200 Message-ID: <834kks3652.fsf@gnu.org> References: <87k4fkr896.fsf@gmail.com> <871rg0ibj2.fsf@gnus.org> <87v9dcqojh.fsf@inria.fr> <83sg8g5fer.fsf@gnu.org> <878sa8b1bz.fsf@gnus.org> <83o8j45erv.fsf@gnu.org> <838sa754yt.fsf@gnu.org> <87h7ouykuf.fsf@gnus.org> <835z5a6gyf.fsf@gnu.org> <87czziyjsc.fsf@gnus.org> <87y2i6yadn.fsf@inria.fr> <83wnxq49n5.fsf@gnu.org> <875z58sptj.fsf@inria.fr> <835z583f1x.fsf@gnu.org> <874kkssob0.fsf@inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22073"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 8355@debbugs.gnu.org To: Antoine Levitt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 11 13:01:16 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 1knh6l-0005Z2-GY for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Dec 2020 13:01:11 +0100 Original-Received: from localhost ([::1]:38100 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knh6k-0005Xc-I9 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Dec 2020 07:01:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38480) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knh6c-0005X6-7m for bug-gnu-emacs@gnu.org; Fri, 11 Dec 2020 07:01:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56960) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1knh6c-0000G2-0P for bug-gnu-emacs@gnu.org; Fri, 11 Dec 2020 07:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1knh6b-0004Gw-TU for bug-gnu-emacs@gnu.org; Fri, 11 Dec 2020 07:01: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, 11 Dec 2020 12:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8355 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 8355-submit@debbugs.gnu.org id=B8355.160768800616288 (code B ref 8355); Fri, 11 Dec 2020 12:01:01 +0000 Original-Received: (at 8355) by debbugs.gnu.org; 11 Dec 2020 12:00:06 +0000 Original-Received: from localhost ([127.0.0.1]:40273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knh5i-0004Ec-29 for submit@debbugs.gnu.org; Fri, 11 Dec 2020 07:00:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knh5d-0004DY-T5 for 8355@debbugs.gnu.org; Fri, 11 Dec 2020 07:00:04 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39849) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knh5Y-0008BE-Hu; Fri, 11 Dec 2020 06:59:56 -0500 Original-Received: from [176.228.60.248] (port=3071 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1knh5X-0007yB-BQ; Fri, 11 Dec 2020 06:59:56 -0500 In-Reply-To: <874kkssob0.fsf@inria.fr> (message from Antoine Levitt on Fri, 11 Dec 2020 10:08:03 +0100) 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:195744 Archived-At: > From: Antoine Levitt > Cc: larsi@gnus.org, 8355@debbugs.gnu.org > Date: Fri, 11 Dec 2020 10:08:03 +0100 > > > A reproduction recipe for where you see this happening more that will > > be appreciated. > > OK, I'll try it out more Thanks in advance. > > I also don't understand how you arrived at the 10% figure. Can you > > elaborate? > > I assumed small, random variations in height of amplitude δh around a > reference height h0, and n δh >> h0. Then the place where you fall > before rounding is randomly distributed. You'll get movement only if > you've rounded up or down by about the half-separation, which should > happen a fraction 1/pixel height of the time. I have lines about 20px > tall, so that's 5%; I multiply by two to account for the possibility of > having rounded both up and down. If anything this should be an > overestimate; but again my assumptions are probably unrealistic (eg for > instance in my tex files the δh is always positive, which might explain > why I always see movement in the same direction). You assume random distribution of taller or smaller lines through the document, but that is not necessarily true. There could be large groups of smaller or taller lines, which will skew the percentage. Anyway, an example where this happens will be useful to at least understand what's going on, and perhaps provide a better solution.