From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Konrad Podczeck Newsgroups: gmane.emacs.bugs Subject: bug#55299: 29.0.50; Bug with the mode-line and pixel-scroll-precision-mode Date: Sun, 8 May 2022 12:01:33 +0200 Message-ID: References: <7E7762D2-E79D-4BD3-B45B-294F3052AF36@univie.ac.at> <87czgp7i4v.fsf@yahoo.com> <878rrd7e3q.fsf@yahoo.com> <871qx57a2k.fsf@yahoo.com> <0E529C44-AB66-47DE-8431-B27EB84A2549@univie.ac.at> <87sfpk6dn7.fsf@yahoo.com> <83tua0wpt7.fsf@gnu.org> <87k0aw601b.fsf@yahoo.com> <83pmkownzs.fsf@gnu.org> <87ee145wqe.fsf@yahoo.com> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30095"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55299@debbugs.gnu.org, Eli Zaretskii To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 08 12:05:55 2022 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 1nndnX-0007gi-5o for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 May 2022 12:05:55 +0200 Original-Received: from localhost ([::1]:53518 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nndnW-00034z-7O for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 May 2022 06:05:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nndjm-0008VD-56 for bug-gnu-emacs@gnu.org; Sun, 08 May 2022 06:02:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59523) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nndjl-0003uQ-Rl for bug-gnu-emacs@gnu.org; Sun, 08 May 2022 06:02:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nndjl-0008UM-Pu for bug-gnu-emacs@gnu.org; Sun, 08 May 2022 06:02:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Konrad Podczeck Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 May 2022 10:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55299 X-GNU-PR-Package: emacs Original-Received: via spool by 55299-submit@debbugs.gnu.org id=B55299.165200410232602 (code B ref 55299); Sun, 08 May 2022 10:02:01 +0000 Original-Received: (at 55299) by debbugs.gnu.org; 8 May 2022 10:01:42 +0000 Original-Received: from localhost ([127.0.0.1]:53418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nndjS-0008Tm-J2 for submit@debbugs.gnu.org; Sun, 08 May 2022 06:01:42 -0400 Original-Received: from grace.univie.ac.at ([131.130.3.115]:56690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nndjN-0008TV-HE for 55299@debbugs.gnu.org; Sun, 08 May 2022 06:01:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=univie.ac.at; s=rev2; h=To:References:Message-Id:Content-Transfer-Encoding: Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID; bh=bwvOCmp33FYk+QgurNG1vGJjcWnYK1NYoRc+cw1q/cc=; b=D6r/J46ldf1dZa1rZrA9Dzpu+B Ei83huOy4sYAy0RkID+fzBeMF8NopH0WKoIfyx8lXYdN7jMNrlvFMG3wLy2hQNhGYiEj+Ok98qlHL y96ZtR4brxJ/TP9rGOWFEkXUFpXbbuiUBd/BL5pfe999APYVIF7dhQi2ijs8dj7XzWDA=; Original-Received: from justin.univie.ac.at ([131.130.3.111] helo=justin.univie.ac.at) by grace.univie.ac.at with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.95) (envelope-from ) id 1nndjK-000a1e-Hv; Sun, 08 May 2022 12:01:34 +0200 Original-Received: from 217-149-174-43.nat.highway.telekom.at ([217.149.174.43] helo=smtpclient.apple) by justin.univie.ac.at with esmtpsa (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) (envelope-from ) id 1nndjK-00G3zN-8j; Sun, 08 May 2022 12:01:34 +0200 In-Reply-To: <87ee145wqe.fsf@yahoo.com> X-Mailer: Apple Mail (2.3696.80.82.1.1) X-Univie-Virus-Scan: scanned by ClamAV on justin.univie.ac.at 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:231632 Archived-At: Both patches (applied separatedly) do the job!=20 Thanks for looking into this, Konrad > Am 08.05.2022 um 09:06 schrieb Po Lu : >=20 > Eli Zaretskii writes: >=20 >> If the problem is that non-selected windows don't get redisplayed, >> then yes, wset_redisplay should do. And if it doesn't, we need to >> understand why. >=20 > It seems to work for me. >=20 > Konrad, please try this instead: >=20 > diff --git a/src/window.c b/src/window.c > index 15d6cf94b0..38ee5f4ba7 100644 > --- a/src/window.c > +++ b/src/window.c > @@ -7980,6 +7980,8 @@ DEFUN ("set-window-vscroll", = Fset_window_vscroll, Sset_window_vscroll, >=20 > /* Prevent redisplay shortcuts. */ > XBUFFER (w->contents)->prevent_redisplay_optimizations_p =3D = true; > + > + wset_redisplay (w); > } > } >=20