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#55299: 29.0.50; Bug with the mode-line and pixel-scroll-precision-mode Date: Sun, 08 May 2022 08:34:12 +0300 Message-ID: <83tua0wpt7.fsf@gnu.org> 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> 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="11126"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55299@debbugs.gnu.org, konrad.podczeck@univie.ac.at To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 08 07:35:14 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 1nnZZZ-0002kE-5u for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 May 2022 07:35:13 +0200 Original-Received: from localhost ([::1]:40524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnZZY-0005of-0w for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 May 2022 01:35:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnZZO-0005oT-Lc for bug-gnu-emacs@gnu.org; Sun, 08 May 2022 01:35:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59382) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nnZZO-0000lU-9h for bug-gnu-emacs@gnu.org; Sun, 08 May 2022 01:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nnZZO-0001m5-7T for bug-gnu-emacs@gnu.org; Sun, 08 May 2022 01:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 May 2022 05:35:02 +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.16519880696777 (code B ref 55299); Sun, 08 May 2022 05:35:02 +0000 Original-Received: (at 55299) by debbugs.gnu.org; 8 May 2022 05:34:29 +0000 Original-Received: from localhost ([127.0.0.1]:53279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnZYr-0001lE-6J for submit@debbugs.gnu.org; Sun, 08 May 2022 01:34:29 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnZYp-0001l2-96 for 55299@debbugs.gnu.org; Sun, 08 May 2022 01:34:27 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50160) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnZYi-0000iC-6f; Sun, 08 May 2022 01:34:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=t1QxOyb9U8AtVz0aBqB5jJYIl9mBvNxbFGDK9kwS0ig=; b=k0wbT2qJ3pdATQBiQOH+ kG1R5AQogrCWkTJPmmMtIku4kZjOmvNbYzusWwItU/WZHEuRXB7+l1/qmuO0aVmC6guYZQRgCXnxV Jf7AHg3v5lO4n+Q73/RosOhmieVkKoSQtIQQPxawXr3k6XtIiBQdSFdFNGM/lOFhhEQlDiynqpuQI RF9mPFJbqMoMEu/tKF2w7xhOZbng5enOq00I17itykb7h6xezX45rMKq1QF12dCw8s8QB2n0g6ZbF Fj4FIEpUgV6Yrl5QpMCPWLQVUnGwQ7T0MMOnXpXR9zwmkwt+v+EMYFekDGhPj8w0vC6FnYx+Ia9ft uVvTIzr81d1/pg==; Original-Received: from [87.69.77.57] (port=4091 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnZYh-00081V-MV; Sun, 08 May 2022 01:34:20 -0400 In-Reply-To: <87sfpk6dn7.fsf@yahoo.com> (bug-gnu-emacs@gnu.org) 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:231624 Archived-At: > Cc: 55299@debbugs.gnu.org > Date: Sun, 08 May 2022 09:01:32 +0800 > From: Po Lu via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Konrad Podczeck writes: > > > With this patch, I don’t get any error message, but If a frame has > > only one window, I cannot scroll (using the mouse wheel) downwards > > anymore, and after doing C-x 2, the same is true if I scroll in the > > active pane, while when I scroll in the inactive pane, I always get > > scrolling upwards, regardless of which direction I rotate the wheel. > > Does this fix your problem? > > diff --git a/src/window.c b/src/window.c > index 15d6cf94b0..1e719c2598 100644 > --- a/src/window.c > +++ b/src/window.c > @@ -7980,6 +7980,8 @@ DEFUN ("set-window-vscroll", Fset_window_vscroll, Sset_window_vscroll, > > /* Prevent redisplay shortcuts. */ > XBUFFER (w->contents)->prevent_redisplay_optimizations_p = true; > + > + windows_or_buffers_changed = 1013; I'm not surer we want this. It will slow down redisplay, so we need a good understanding why this is required. And the problem happens only on macOS, isn't that so?