GNU bug report logs - #66769
30.0.50; pixel-scroll-precision-mode and scroll-margin regression

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Aaron Jensen <aaronjensen@HIDDEN>; merged with #68196; dated Fri, 27 Oct 2023 05:02:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Forcibly Merged 66769 68196. Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 66769 <at> debbugs.gnu.org:


Received: (at 66769) by debbugs.gnu.org; 2 Nov 2023 06:28:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 02 02:28:56 2023
Received: from localhost ([127.0.0.1]:53747 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qyRCJ-00046p-QC
	for submit <at> debbugs.gnu.org; Thu, 02 Nov 2023 02:28:56 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44048)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qyRCI-00046d-2k
 for 66769 <at> debbugs.gnu.org; Thu, 02 Nov 2023 02:28:54 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qyRBd-0000BE-UJ; Thu, 02 Nov 2023 02:28:13 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=TTS0nahcZoNcxxSaLv5Y/v08/GtkORKsWp+LXITCIag=; b=ja4dVyb67RS5
 MVurACz1JOUyc9qGXb9Q+Hf5WZTyUsLevvHmEjgi6lYNnciJGrz7Fn26nI0RYPXAuj00Uw1FuTBjB
 baJ/vBvnNMZUzt82m2csiFJ3WHNK5sweqAi5QU14WhALPkpQYw7ahDD1H4HQsD5MQpFrqOBFTOcS9
 YfuK8srS1vn7Z7/Q2aWNWvaiuuSTNXe98EW4F17B+Cutdn9Xl1Ko1/hIgKLTLwOARnlWlrRDoZXU5
 94qRdlclan9Am/O8C5v8M2bnzlDK86zqdh9qrnG1sj+ivl+e15OkLFTieivlY3KxU+hwEx9WjPS72
 rW7Cu/DSy0Z/gPdpHqQIMA==;
Date: Thu, 02 Nov 2023 08:28:05 +0200
Message-Id: <83fs1o8ya2.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Aaron Jensen <aaronjensen@HIDDEN>
In-Reply-To: <CAHyO48xkxt3bHE2Sofn3XqABqHyzp=fn0UN53UytEuXwPCCECg@HIDDEN>
 (message from Aaron Jensen on Wed, 1 Nov 2023 22:49:40 -0700)
Subject: Re: bug#66769: 30.0.50;
 pixel-scroll-precision-mode and scroll-margin regression
References: <m2bkck8xso.fsf@HIDDEN> <877cn7xzg0.fsf@HIDDEN>
 <CAHyO48xkxt3bHE2Sofn3XqABqHyzp=fn0UN53UytEuXwPCCECg@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66769
Cc: luangruo@HIDDEN, 66769 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Cc: 66769 <at> debbugs.gnu.org
> From: Aaron Jensen <aaronjensen@HIDDEN>
> Date: Wed, 1 Nov 2023 22:49:40 -0700
> 
> Is there a fast way to compute the position that is scroll-margin lines away from the window start

Try something like

  (save-excursion
  (goto-char (window-start))
  (vertical-motion scroll-margin)
  (point))

Caveat: I have no idea if this is "fast enough" for the purposes of
pixel-scroll-precision-mode.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66769; Package emacs. Full text available.

Message received at 66769 <at> debbugs.gnu.org:


Received: (at 66769) by debbugs.gnu.org; 2 Nov 2023 06:17:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 02 02:17:51 2023
Received: from localhost ([127.0.0.1]:53727 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qyR1b-0003no-6N
	for submit <at> debbugs.gnu.org; Thu, 02 Nov 2023 02:17:51 -0400
Received: from sonic301-30.consmr.mail.ne1.yahoo.com ([66.163.184.199]:46400)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1qyR1Y-0003nW-9Y
 for 66769 <at> debbugs.gnu.org; Thu, 02 Nov 2023 02:17:50 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1698905826; bh=x5PRkxvjlg9Aqp0m0UCPUEDvoJjjVxrb3SxhNluP0kQ=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=kZiQatey0PLZtUChHsoaUiBtD2GBAxaOy9n/k06Uq28fdVvHLgQIBoiOlPoEU+4xqqm2o6tLZIC2ujCjg8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: from sonic.gate.mail.ne1.yahoo.com by
 sonic301.consmr.mail.ne1.yahoo.com with HTTP; Thu, 2 Nov 2023 06:17:06 +0000
Received: by hermes--production-sg3-8696d769c6-z26jv (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 5ba4ec4d7d568842ba60b94828143f8d; 
 Thu, 02 Nov 2023 06:17:03 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Aaron Jensen <aaronjensen@HIDDEN>
Subject: Re: bug#66769: 30.0.50; pixel-scroll-precision-mode and
 scroll-margin regression
In-Reply-To: <CAHyO48xkxt3bHE2Sofn3XqABqHyzp=fn0UN53UytEuXwPCCECg@HIDDEN>
 (Aaron Jensen's message of "Wed, 1 Nov 2023 22:49:40 -0700")
References: <m2bkck8xso.fsf@HIDDEN> <877cn7xzg0.fsf@HIDDEN>
 <CAHyO48xkxt3bHE2Sofn3XqABqHyzp=fn0UN53UytEuXwPCCECg@HIDDEN>
Date: Thu, 02 Nov 2023 14:16:58 +0800
Message-ID: <8734xowug5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.21890
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 1187
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 66769
Cc: 66769 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.5 (-)

Aaron Jensen <aaronjensen@HIDDEN> writes:

> It looks like the current code uses posn-at-point already, yes? What
> is it that would make it too slow to use it again for the point?

posn-at-point is presently not used by p-s-p-m.

> I'm trying to understand the code and making some headway, but it's
> still not totally clear what's happening and why. It does seem that if
> you force a redisplay after the set-window-vscroll, the window-start
> will move in the case that it butts up against the scroll margin.

Yes, because redisplay is the process responsible for enforcing the
scroll margin in the process of maintaining point within the window.

> Is there a fast way to compute the position that is scroll-margin
> lines away from the window start and then compare the point to that?
> Or is the bigger problem when scrolling up?

The problem is two-fold: a position must be calculated that is
scroll-margin rows from the window start or end, but that position must
be replaced by the position of the row farthest from the window boundary
opposite the direction being scrolled in if there are fewer than
scroll-margin rows displayed in the window _after_ the scroll completes.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66769; Package emacs. Full text available.

Message received at 66769 <at> debbugs.gnu.org:


Received: (at 66769) by debbugs.gnu.org; 2 Nov 2023 05:50:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 02 01:50:26 2023
Received: from localhost ([127.0.0.1]:53659 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qyQb3-000346-SA
	for submit <at> debbugs.gnu.org; Thu, 02 Nov 2023 01:50:26 -0400
Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]:46480)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <aaronjensen@HIDDEN>) id 1qyQb1-00033m-0F
 for 66769 <at> debbugs.gnu.org; Thu, 02 Nov 2023 01:50:23 -0400
Received: by mail-lf1-x12c.google.com with SMTP id
 2adb3069b0e04-507e85ebf50so595617e87.1
 for <66769 <at> debbugs.gnu.org>; Wed, 01 Nov 2023 22:49:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1698904182; x=1699508982; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:in-reply-to:from:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=xbHYqLFV42H/EiC0znYpVaBG75LMwLFvI57pQhVucr0=;
 b=gxODx2ROwGMUYL792D+3smvBnn9/MckwHhnjH8sZaoxw5iQkorCxkbZg6eNwOhDWXr
 HySpPzgz1DlDyURkBQCJjGydPJCxO43jgi5+twhC1TrErm/QNIEBPi7UVXgse2SvJmek
 xlOinMEStNThGGv91dC08ibHf/UmVuPjn9vBcJ4HeDeqJLjvJbRF3k4lWrsdk9MZ/ABT
 G7hdcHwVxxcKqiHiHQVSVBCHOUqZFXdEcKFhunZuSTqIzcy5k2UoHNYAKDRYhw+c172F
 zx7i9mSt5PzcPlGkK9Cj6y6JQl7I6I7vKp+EqMvMig/RepTdBF+0MC5GCr6KIoTK0jhC
 iV2Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1698904182; x=1699508982;
 h=cc:to:subject:message-id:date:in-reply-to:from:references
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=xbHYqLFV42H/EiC0znYpVaBG75LMwLFvI57pQhVucr0=;
 b=uxt3p4zlnLNnRsCAZDV9h1L5SGD9JQFEyd7Tv61Bw8IsXX8XzN52I1tD4gT4k/uLAd
 eFevL3rgPzHSozqRz3o2QgWFZmhWuD1PvdMTvsrLwoCadoRpyXWdv8diSQixAa95Kn5P
 KGRe+jvhimfEEvYlgRA012yOZb2OGT6NF0GXKUGLVBCcKybAC85pnBiqphs7FNhe5gjv
 jc19yZSSXEpTywvBCZquOq+QOeJHM/ZrNW2HaPw5e+uDw75892d9j/QaNaS3Ai0+SSao
 yqio0zrVrrvFbeZtxUvbKK8tjYrsxw/5YoTlALjyZ1nJR6fFf75p36SQwM9eTjLOCl35
 2XxA==
X-Gm-Message-State: AOJu0Yw7nWVjvAfAsSNDzT++zpps7PKR9O15XZdDv5bC1TAJwRsPDfJC
 S2zJH2UgocfP0ec63AOKbPCTPIS6/IkMaEF2oxY=
X-Google-Smtp-Source: AGHT+IHFqfDgIIPSWKEaSc3cuUtxR19lUfKB6QXiRCE6Sm3SgJH2YiXBs2vXNmPLPbkk02IkCEZpXHJfUgeCrjQdgbY=
X-Received: by 2002:a05:6512:2306:b0:509:115c:51de with SMTP id
 o6-20020a056512230600b00509115c51demr12122731lfu.25.1698904181417; Wed, 01
 Nov 2023 22:49:41 -0700 (PDT)
Received: from 649336022844 named unknown by gmailapi.google.com with
 HTTPREST; Wed, 1 Nov 2023 22:49:40 -0700
Mime-Version: 1.0
References: <m2bkck8xso.fsf@HIDDEN> <877cn7xzg0.fsf@HIDDEN>
From: Aaron Jensen <aaronjensen@HIDDEN>
In-Reply-To: <877cn7xzg0.fsf@HIDDEN>
X-Superhuman-ID: logro782.77ed2b4e-fb58-41ce-9e70-b8893290d679
X-Superhuman-Draft-ID: draft0099d055574b7adb
X-Mailer: Superhuman Desktop (2023-11-01T19:13:16Z)
Date: Wed, 1 Nov 2023 22:49:40 -0700
Message-ID: <CAHyO48xkxt3bHE2Sofn3XqABqHyzp=fn0UN53UytEuXwPCCECg@HIDDEN>
Subject: Re: bug#66769: 30.0.50;
 pixel-scroll-precision-mode and scroll-margin regression
To: Po Lu <luangruo@HIDDEN>
Content-Type: multipart/alternative; boundary="0000000000003dacfa060924f4a2"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66769
Cc: 66769 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--0000000000003dacfa060924f4a2
Content-Type: text/plain; charset="UTF-8"

On Fri, Oct 27, 2023 at 10:17 PM, Po Lu <luangruo@HIDDEN> wrote:

> Aaron Jensen <aaronjensen@HIDDEN> writes:
>
> Commit 1da4fca0647ebf1d5d6f12817301a17661560810 caused a regression of
> bug#52231
>
> The repro is the same:
>
> (progn (setq scroll-margin 4)
> (pixel-scroll-precision-mode))
>
> And scroll down a buffer with mouse wheel.
>
> The buffer does not scroll properly, it jumps back unless you scroll fast
> enough.
>
> Hmm, I'm not certain what the solution to this should be.
>
> For images to scroll properly, the "target point" must be derived from
> whether the point is visible after scrolling, instead of outside a set
> number of rows from the window start or end. Yet the latter information is
> mandatory if the scroll margin is to be taken into account, and no function
> supplies both besides posn-at-point, which is much too slow.
>
> The immediate remedy is to restore the old code when scroll-margin is in
> effect and document the consequent incapacity to scroll over large images
> as an unfortunate corollary. Is that acceptable by you?
>

It looks like the current code uses posn-at-point already, yes? What is it
that would make it too slow to use it again for the point? I'm trying to
understand the code and making some headway, but it's still not totally
clear what's happening and why. It does seem that if you force a redisplay
after the set-window-vscroll, the window-start will move in the case that
it butts up against the scroll margin.

Is there a fast way to compute the position that is scroll-margin lines
away from the window start and then compare the point to that? Or is the
bigger problem when scrolling up?

Aaron

--0000000000003dacfa060924f4a2
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div><div><div class=3D""><div class=3D""><div cla=
ss=3D""><div class=3D""><span style=3D"color:rgba(0,0,0,0.6)">On Fri, Oct 2=
7, 2023 at 10:17 PM, Po Lu </span><span dir=3D"ltr" class=3D"">&lt;<a href=
=3D"mailto:luangruo@HIDDEN" target=3D"_blank" class=3D"">luangruo@yahoo.=
com</a>&gt;</span><span style=3D"color:rgba(0,0,0,0.6)"> wrote:</span><br><=
/div></div></div><div class=3D"sh-quoted-content"><div class=3D""><div clas=
s=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .=
8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"gmail_extra"=
><div class=3D"gmail_quote"><p class=3D"">Aaron Jensen &lt;<a target=3D"_bl=
ank" rel=3D"noopener noreferrer" href=3D"mailto:aaronjensen@HIDDEN" clas=
s=3D"">aaronjensen@<wbr>gmail.<wbr>com</a>&gt; writes:
<br></p><blockquote class=3D""><p class=3D"">
Commit 1da4fca0647ebf1d5d6f12817301a17661560810 caused a regression of
bug#52231
<br></p><p class=3D"">
The repro is the same:
<br></p><p class=3D"">
(progn (setq scroll-margin 4)
<br>
(pixel-scroll-precision-mode))
</p><p class=3D"">
And scroll down a buffer with mouse wheel.
<br></p><p class=3D"">
The buffer does not scroll properly, it jumps back unless you scroll
fast enough.
<br></p></blockquote><p class=3D"">
Hmm, I&#39;m not certain what the solution to this should be.
<br></p><p class=3D"">
For images to scroll properly, the &quot;target point&quot; must be derived=
 from
whether the point is visible after scrolling, instead of outside a set
number of rows from the window start or end.  Yet the latter information
is mandatory if the scroll margin is to be taken into account, and no
function supplies both besides posn-at-point, which is much too slow.
<br></p><p class=3D"">
The immediate remedy is to restore the old code when scroll-margin is in
effect and document the consequent incapacity to scroll over large
images as an unfortunate corollary.  Is that acceptable by you?<br></p></di=
v></div></blockquote></div></div></div></div><div><div><br></div><div>It lo=
oks like the current code uses posn-at-point already, yes? What is it that =
would make it too=C2=A0slow to use it again for the point? I&#39;m trying t=
o understand the code and making some headway, but it&#39;s still not total=
ly clear what&#39;s happening and why. It does seem that if you force a red=
isplay after the=C2=A0set-window-vscroll, the window-start will move in the=
 case that it butts up against=C2=A0the scroll margin.=C2=A0<br></div><div>=
<br></div><div>Is there a fast way to compute the=C2=A0position that is scr=
oll-margin lines away from the window start and then compare the point to t=
hat? Or is the bigger problem when scrolling up?<br></div><div><br></div><d=
iv>Aaron</div><div><br></div></div><div><br></div></div><div></div></div></=
body></html>

--0000000000003dacfa060924f4a2--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66769; Package emacs. Full text available.

Message received at 66769 <at> debbugs.gnu.org:


Received: (at 66769) by debbugs.gnu.org; 28 Oct 2023 12:55:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 28 08:55:49 2023
Received: from localhost ([127.0.0.1]:37918 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qwiqy-0007nL-88
	for submit <at> debbugs.gnu.org; Sat, 28 Oct 2023 08:55:49 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:50804)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qwiqk-0007mp-6O
 for 66769 <at> debbugs.gnu.org; Sat, 28 Oct 2023 08:55:46 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qwiq8-00045g-LO; Sat, 28 Oct 2023 08:54:56 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=oIm/hgzPrSg0MTg6l9/LfhgUM/eG8KIAufowq5UjRkk=; b=YrzKb1xdqxXL
 XzTo6P6R5NvMUtwSs3bq1zfw7ngUlvXa838NhBtfrGsWxKsGh1ux32fV+NHUxsqpfyoaNBAVXzm9F
 PaFRdtp2jt4yZz6oyhvZlDlnPHN2R7Mn/OEkVZR+o/JYBGuiKeewsegsNQp72HLQ+k/ALi25MWjXX
 +rak3L7stK+13cfw/bbjVQ3wES7OG2mWb3Uyksl0dCOfh2vMdb3ST+NqvGVpjUc1hj/+Q9JXUmqD5
 Ob1m6hwkD+9xA5GJ6wHV8ABrK1e7cqnOanF2al0pmLzQ2VLQVERnA6yOv4V93H+o7jAm7tT6l1ZAE
 kl9fyabc1AWTohmkMmhz5Q==;
Date: Sat, 28 Oct 2023 15:54:49 +0300
Message-Id: <83fs1udi06.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Aaron Jensen <aaronjensen@HIDDEN>
In-Reply-To: <CAHyO48xfzuwTZEsHOezwZXzFqoz16WNoXTMhJr6td+QKk6xRvg@HIDDEN>
 (message from Aaron Jensen on Sat, 28 Oct 2023 05:33:06 -0700)
Subject: Re: bug#66769: 30.0.50;
 pixel-scroll-precision-mode and scroll-margin regression
References: <m2bkck8xso.fsf@HIDDEN> <877cn7xzg0.fsf@HIDDEN>
 <83wmv7ckmw.fsf@HIDDEN> <87ttqbw66m.fsf@HIDDEN> <83sf5vcfqk.fsf@HIDDEN>
 <87pm0zw3g6.fsf@HIDDEN> <83r0lfcf4o.fsf@HIDDEN>
 <CAHyO48xfzuwTZEsHOezwZXzFqoz16WNoXTMhJr6td+QKk6xRvg@HIDDEN>
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66769
Cc: luangruo@HIDDEN, 66769 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Aaron Jensen <aaronjensen@HIDDEN>
> Date: Sat, 28 Oct 2023 05:33:06 -0700
> Cc: Po Lu <luangruo@HIDDEN>, 66769 <at> debbugs.gnu.org
> 
> I gather that it is redisplay that attempts to reconcile scroll-margin, is that correct?

Yes, of course.  Moreover, the scrolling itself is done by the display
engine, and it keeps point out of the scroll-margin as part of that.

> If so, is there a way
> to flip scroll-margin on its head such that it is only intentional point movement operations that cause
> scroll-margin to trigger scrolling? i.e., when doing pixel scrolling, you either temporarily disable the
> scroll margin (which has the negative impact of once a user does move the point, it will cause a
> jump),

Maybe someone will come up with some clever trick, but if so, it will
be very fragile.

You seem to think that redisplay knows what moved point, or more
generally why there should be some change to be done on display, like
whether it was the fact that point moved or something else.  But
that's not what happens.  What actually happens is that redisplay is
called whenever Emacs is idle, and it (redisplay) then needs to decide
whether something should be done to redraw some part of the Emacs
display, and if so, which parts and how to do that.  The reason _why_
the display needs to be updated is mostly not known to the display
engine, at least not in terms of user commands, which is the level
which you seem to have in mind.

Moreover, even if by some trick we succeed to "persuade" redisplay to
refrain from some action, the very next redisplay cycle will almost
certainly "forget" that reason and do what we don't want anyway.  For
example, if redisplay finds that point is inside the scroll margin, it
will scroll the window or move point so as to have point out of
scroll-margin.  So any such temporary measure, even if it succeeds,
will be almost immediately undone.

> or, after a pixel scroll is done, you move the point to be outside of the bounds of the scroll
> margin, rather than allowing the redisplay to change the scroll position. Perhaps that is what you are
> describing and is what would require posn-at-point.

AFAIU, this is what Po Lu was thinking about, and this is what he
said would be too slow.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66769; Package emacs. Full text available.

Message received at 66769 <at> debbugs.gnu.org:


Received: (at 66769) by debbugs.gnu.org; 28 Oct 2023 12:33:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 28 08:33:47 2023
Received: from localhost ([127.0.0.1]:37902 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qwiVf-00079P-0C
	for submit <at> debbugs.gnu.org; Sat, 28 Oct 2023 08:33:47 -0400
Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]:46203)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <aaronjensen@HIDDEN>) id 1qwiVc-000797-TY
 for 66769 <at> debbugs.gnu.org; Sat, 28 Oct 2023 08:33:45 -0400
Received: by mail-ed1-x52d.google.com with SMTP id
 4fb4d7f45d1cf-53e855d7dacso4694928a12.0
 for <66769 <at> debbugs.gnu.org>; Sat, 28 Oct 2023 05:33:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1698496387; x=1699101187; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:references:in-reply-to
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=Nu4JhpBoHW0aRv5RVzazdHpds2Cc8sKuMrCkvYDimOM=;
 b=bbGjO78SMyMKPRDJBwCJGZ09yMHu612q1ia8vhOFchS0cewM6tC4avTeWua6SczZJj
 iNJEsAVDjkJv9SuymC/kaCPlOgFf2gajttKYaIXg5pO0oZy7+wPFXaVsSY0gMdEYfQ2T
 mWhqbusEIJNiZXDcNUXZIn8PpfWyTAY0ZuPuGn1SnqGLNIi00J1r1fBuoS62qQXfV60w
 jVyw9NM0dsztd4ANpF+iL9vgvlyviJZaN9//l5IKRvSxo+xIVqdI2r/n4b4j85MfcvlR
 ARzIt736AT3X+5N+gvOXoDDFZDxhi4+92vg74pxbUAxkWMIsF4c85HlMjwXAPPSCElqM
 uzYQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1698496387; x=1699101187;
 h=cc:to:subject:message-id:date:from:references:in-reply-to
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=Nu4JhpBoHW0aRv5RVzazdHpds2Cc8sKuMrCkvYDimOM=;
 b=tSHWurDw/Mf9e8u0+MObE5pF6XwIcsCXGQor6O2+rkt9igIkR0N8MrnohZWdfGmgNc
 qV5eVdX+jOL80jwch8naLhdIMw8pnSkPa4YcraDwdyCcT61JLXGLnTFFGBVIXjh9D9Ro
 HOFHZLspkHFSNm3kJQhDwyMwyWtZRPD4kq+EH3PY0tDoSRro4Snfgi4u6Sy2AUkwT/A2
 OiO0gpEem2J8cT5cKilRn7Tvp7JJWW4umKRsnfj5E/vNyhCjQB1OBGtfq8ooscEf09/K
 nQNuYwhX1sEbm+znnR6GHV6W59bOFF4TT351a+KIK2wPpn943+IKYqtDzfgDOmzCyFPy
 4hEw==
X-Gm-Message-State: AOJu0YzONrtZhl+neIj3kHxv4SshT9PjK0CXf1K0hzEYBDMx/PPvqAe9
 051WcaKBUypGfEC2y9nt8fnZ8R7wZY1xrvVzkefDu4L0
X-Google-Smtp-Source: AGHT+IEWRcqcragkk1QA0PgmCdPRiry0vrHgvcpYhnEijfAYhxjY43U3WZldAp11Dq/+3WQ75TI1A3HSAesVjPfbjfY=
X-Received: by 2002:aa7:d941:0:b0:531:a63:cf25 with SMTP id
 l1-20020aa7d941000000b005310a63cf25mr4258441eds.33.1698496386797; Sat, 28 Oct
 2023 05:33:06 -0700 (PDT)
Received: from 649336022844 named unknown by gmailapi.google.com with
 HTTPREST; Sat, 28 Oct 2023 05:33:06 -0700
Mime-Version: 1.0
X-Superhuman-ID: loa0vqur.50c7f9e5-1868-49ed-a623-b075ff722351
X-Superhuman-Draft-ID: draft00e16b6e311422f6
In-Reply-To: <83r0lfcf4o.fsf@HIDDEN>
References: <m2bkck8xso.fsf@HIDDEN> <877cn7xzg0.fsf@HIDDEN>
 <83wmv7ckmw.fsf@HIDDEN> <87ttqbw66m.fsf@HIDDEN> <83sf5vcfqk.fsf@HIDDEN>
 <87pm0zw3g6.fsf@HIDDEN> <83r0lfcf4o.fsf@HIDDEN>
X-Mailer: Superhuman Desktop (2023-10-27T20:19:29Z)
From: Aaron Jensen <aaronjensen@HIDDEN>
Date: Sat, 28 Oct 2023 05:33:06 -0700
Message-ID: <CAHyO48xfzuwTZEsHOezwZXzFqoz16WNoXTMhJr6td+QKk6xRvg@HIDDEN>
Subject: Re: bug#66769: 30.0.50;
 pixel-scroll-precision-mode and scroll-margin regression
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000c994d30608c601d7"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66769
Cc: Po Lu <luangruo@HIDDEN>, 66769 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--000000000000c994d30608c601d7
Content-Type: text/plain; charset="UTF-8"

Depending on what "slow down to a crawl" means exactly in practice, I think
the reason is that it would cripple a feature. I don't know how many people
use scroll-margin, but I've used it for years. I suppose I just would have
to choose between precision scrolling and scroll margin, but I would have
to choose between them to support something that doesn't matter to me:
scrolling with images.

It also introduces additional complexity and variation in the scrolling
code, which in general, means higher overall maintenance costs (not that
it's my role to police this in Emacs).

I gather that it is redisplay that attempts to reconcile scroll-margin, is
that correct? If so, is there a way to flip scroll-margin on its head such
that it is only intentional point movement operations that cause
scroll-margin to trigger scrolling? i.e., when doing pixel scrolling, you
either temporarily disable the scroll margin (which has the negative impact
of once a user does move the point, it will cause a jump), or, after a
pixel scroll is done, you move the point to be outside of the bounds of the
scroll margin, rather than allowing the redisplay to change the scroll
position. Perhaps that is what you are describing and is what would require
posn-at-point.


Aaron


On Sat, Oct 28, 2023 at 4:42 AM, Eli Zaretskii <eliz@HIDDEN> wrote:

> From: Po Lu <luangruo@HIDDEN>
> Cc: aaronjensen@HIDDEN, 66769 <at> debbugs.gnu.org
> Date: Sat, 28 Oct 2023 16:34:17 +0800
>
> Eli Zaretskii <eliz@HIDDEN> writes:
>
> And what are the problems in computing this target point in the particular
> case described here?
>
> It should be outside the scroll margin, so additional layout computations
> must be performed after scrolling, compounding those performed beforehand
> to establish the new window start.
>
> Even if it's done "only in this case"? It should slow down only this case,
> no?
>
> And what exactly is the crucial difference between "this case" and the
> other cases, where scrolling works correctly?
>
> The distinction is that scroll-margin is set.
>
> That's what I thought, and which is why I asked whether calling the slow
> posn-at-point only when scroll-margin is non-zero wouldn't be the proper
> solution, as it should only slow down scrolling for those users who set
> scroll-margin. Or what am I missing?
>

--000000000000c994d30608c601d7
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div><div><div><div class=3D"">Depending on what &=
quot;slow down to a crawl&quot; means exactly in practice, I think the reas=
on is that it would cripple a feature. I don&#39;t know how many people use=
 scroll-margin, but I&#39;ve used it for years. I suppose I just would have=
 to choose between precision scrolling and scroll margin, but I would have =
to choose between them to support something that doesn&#39;t matter to me: =
scrolling with images.=C2=A0<br></div><div class=3D""><br></div><div class=
=3D"">It also introduces additional complexity and variation in the scrolli=
ng code, which in general, means higher overall maintenance costs (not that=
 it&#39;s my role to police this in Emacs).=C2=A0<br></div><div class=3D"">=
<br></div><div class=3D"">I gather that it is redisplay that attempts to re=
concile scroll-margin, is that correct? If so, is there a way to flip scrol=
l-margin on its head such that it is only intentional point movement operat=
ions that cause scroll-margin to trigger scrolling? i.e., when doing pixel =
scrolling, you either temporarily disable the scroll margin (which has the =
negative impact of once a user does move the point, it will cause a jump), =
or, after a pixel scroll is done, you move the point to be outside of the b=
ounds of the scroll margin, rather than allowing the redisplay to change th=
e scroll position. Perhaps that is what you are describing and is what woul=
d require=C2=A0<span style=3D"text-decoration-color:initial;text-decoration=
-style:initial;font-weight:400" class=3D"">posn-at-point.</span><br></div><=
/div><div></div><br><div class=3D"gmail_signature"><div><br>Aaron</div><br>=
</div></div><br><div><div class=3D"gmail_quote">On Sat, Oct 28, 2023 at 4:4=
2 AM, Eli Zaretskii <span dir=3D"ltr">&lt;<a href=3D"mailto:eliz@HIDDEN" t=
arget=3D"_blank">eliz@HIDDEN</a>&gt;</span> wrote:<br><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex"><div class=3D"gmail_extra"><div class=3D"gmail_quote sh-color-bl=
ack sh-color"><blockquote class=3D"sh-color-black sh-color"><p class=3D"sh-=
color-black sh-color">
From: Po Lu &lt;<a target=3D"_blank" rel=3D"noopener noreferrer" href=3D"ma=
ilto:luangruo@HIDDEN" class=3D"sh-color-blue sh-color">luangruo@<wbr>yah=
oo.<wbr>com</a>&gt;
<br>
Cc: <a target=3D"_blank" rel=3D"noopener noreferrer" href=3D"mailto:aaronje=
nsen@HIDDEN" class=3D"sh-color-blue sh-color">aaronjensen@<wbr>gmail.<wb=
r>com</a>,  <a target=3D"_blank" rel=3D"noopener noreferrer" href=3D"mailto=
:66769 <at> debbugs.gnu.org" class=3D"sh-color-blue sh-color">66769@<wbr>debbugs=
.<wbr>gnu.<wbr>org</a>
<br>
Date: <span class=3D"sh-date">Sat</span>, <span class=3D"sh-date">28 Oct 20=
23</span> 16:34:17 +0800
</p><p class=3D"sh-color-black sh-color">
Eli Zaretskii &lt;<a target=3D"_blank" rel=3D"noopener noreferrer" href=3D"=
mailto:eliz@HIDDEN" class=3D"sh-color-blue sh-color">eliz@<wbr>gnu.<wbr>or=
g</a>&gt; writes:
</p><blockquote class=3D"sh-color-black sh-color"><p class=3D"sh-color-blac=
k sh-color">
And what are the problems in computing this target point in the
particular case described here?
</p></blockquote><p class=3D"sh-color-black sh-color">
It should be outside the scroll margin, so additional layout
computations must be performed after scrolling, compounding those
performed beforehand to establish the new window start.
</p><blockquote class=3D"sh-color-black sh-color"><p class=3D"sh-color-blac=
k sh-color">
Even if it&#39;s done &quot;only in this case&quot;?  It should slow down o=
nly this
case, no?
</p><p class=3D"sh-color-black sh-color">
And what exactly is the crucial difference between &quot;this case&quot; an=
d the
other cases, where scrolling works correctly?
</p></blockquote><p class=3D"sh-color-black sh-color">
The distinction is that scroll-margin is set.
</p></blockquote><p class=3D"sh-color-black sh-color">
That&#39;s what I thought, and which is why I asked whether calling the
slow posn-at-point only when scroll-margin is non-zero wouldn&#39;t be the
proper solution, as it should only slow down scrolling for those users
who set scroll-margin.  Or what am I missing?</p></div></div></blockquote><=
/div></div><br></div></body></html>

--000000000000c994d30608c601d7--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66769; Package emacs. Full text available.

Message received at 66769 <at> debbugs.gnu.org:


Received: (at 66769) by debbugs.gnu.org; 28 Oct 2023 08:42:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 28 04:42:44 2023
Received: from localhost ([127.0.0.1]:37731 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qweu4-0000zj-5z
	for submit <at> debbugs.gnu.org; Sat, 28 Oct 2023 04:42:44 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:37080)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qweu0-0000zU-6B
 for 66769 <at> debbugs.gnu.org; Sat, 28 Oct 2023 04:42:42 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qwetO-0001p8-DL; Sat, 28 Oct 2023 04:42:02 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=dyGerb1NP/v/a2uQ4brh7PnnR8JL0TLZ+Qv7nTv69P8=; b=nNNZuSowi0kZ
 xtZWRlJOcO1MymSESh0NO0mHD2ufTct7yTWfx/ELFsML5kgW1u6DoFZcEkltbAdG49YJy91Xiuao6
 i/wwxQwhE13d2GPTx96jThhILtNrobVGuKsCXhqjkIkH6wYsXeM7MtaOwfQA6JgcJVVJ2xGKR7CRn
 oUPeEsanpQ9oA9twuSTD0qVuMf8mva1ZkvWLBgExwkA7WZqQxp4exOGBW6sj8OIycRpZw/oRfV/Vk
 JzmDaqgPgLgb1pMW7PuHtwnfwl/X/e0EO+MdPWKABz/VwSrcQERtZaF5rxDLx/xWnCS5Dq4bepjeQ
 RzzUrs8utL8rZNdOsEN4Cw==;
Date: Sat, 28 Oct 2023 11:42:15 +0300
Message-Id: <83r0lfcf4o.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
In-Reply-To: <87pm0zw3g6.fsf@HIDDEN> (message from Po Lu on Sat, 28 Oct
 2023 16:34:17 +0800)
Subject: Re: bug#66769: 30.0.50; pixel-scroll-precision-mode and
 scroll-margin regression
References: <m2bkck8xso.fsf@HIDDEN> <877cn7xzg0.fsf@HIDDEN>
 <83wmv7ckmw.fsf@HIDDEN> <87ttqbw66m.fsf@HIDDEN>
 <83sf5vcfqk.fsf@HIDDEN> <87pm0zw3g6.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66769
Cc: 66769 <at> debbugs.gnu.org, aaronjensen@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Po Lu <luangruo@HIDDEN>
> Cc: aaronjensen@HIDDEN,  66769 <at> debbugs.gnu.org
> Date: Sat, 28 Oct 2023 16:34:17 +0800
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > And what are the problems in computing this target point in the
> > particular case described here?
> 
> It should be outside the scroll margin, so additional layout
> computations must be performed after scrolling, compounding those
> performed beforehand to establish the new window start.
> 
> > Even if it's done "only in this case"?  It should slow down only this
> > case, no?
> >
> > And what exactly is the crucial difference between "this case" and the
> > other cases, where scrolling works correctly?
> 
> The distinction is that scroll-margin is set.

That's what I thought, and which is why I asked whether calling the
slow posn-at-point only when scroll-margin is non-zero wouldn't be the
proper solution, as it should only slow down scrolling for those users
who set scroll-margin.  Or what am I missing?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66769; Package emacs. Full text available.

Message received at 66769 <at> debbugs.gnu.org:


Received: (at 66769) by debbugs.gnu.org; 28 Oct 2023 08:35:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 28 04:35:09 2023
Received: from localhost ([127.0.0.1]:37724 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qwemj-0000nq-99
	for submit <at> debbugs.gnu.org; Sat, 28 Oct 2023 04:35:09 -0400
Received: from sonic316-22.consmr.mail.ne1.yahoo.com ([66.163.187.148]:42421)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1qwemf-0000nG-Lf
 for 66769 <at> debbugs.gnu.org; Sat, 28 Oct 2023 04:35:07 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1698482068; bh=HW/g/T223p1WacyhTGv9lpUh4iL6m4x9HyGALoXA/vA=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=eNS/IaQa6lJy/feChttE8UuouB87+aBIg2wFuz0f2XHT/ypbe3dAtVMu/iNX9NPneCofWRTHE1BshmWfnPW2QbLoTr6gyN5nBg1atmF+P1zlx9h2TUj1EYWJ4eOG7TYs/4NaJxgkOb7FxQZXL5RWWC0xjsNUv0GW7Hb/SrlWZvK+SvM2oTs52Ub+Hdu8A9XrYvezirvDbXqk9464RdBCX45oBxZtI/Fu2ph6Kpf1mnjxJ4UjldYP2F/TFa2IBVX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VzX
 DI6tRw5NFEjiFtcqiYGhsckJPRHHb8UNAnzAazjlKHl9bmSZq3iFDm2aJ2rFtMZRs19gHC_ZQDmO
 UmbvMifQv33CrkXuF_nxlTK1Bh4qsuC.hd24dr4NAMbNtPv2daTrnPXfAtiJTXNLk18qblAWT976
 8aelfEGTqBk2O5taard56GQe4g2lxmgvBB3.UYbUiPXQMGhr8ZzoAWlXtEivI0z77httpSZ2aEi7
 3UwyGSgeBhTffG9NbxWME1SCmrY.UblN_VP_DLyX57QwPsNm5XG8oVEsOB38i1AOvLbXmn5x1XLL
 jPSlnui25kuFqljtMpg8x6pL6102L2tDDTTZ45BrhwqCm4pDGBkvBFyo2C3Gt0aAs3vfVGntU8iO
 3KH7i_ulPqt7mBCqDbBd3JRevwEa8dwb1kdj78Rl3W0GlufHdvNba9MNIvXsuXKnP2T_ys.VJVQk
 q5lICg1XKCd6NVsjG31jL_lt4lCU7CXeHcDNg9TcEL.Ujw3JfJb8FbZU0_ml6Mv0mndxbDZCIONX
 aJLjc6Sts15sbJwH5ifunyKY4e7RGgDlVoVXsjqQCqdZ.c_KwDkqCkeCCJchiSu1yUqPsLKkLJyx
 DEspbn6gPAJyzCebZ5sFZXZNDvLPl3LvBcowq06ipk65ioMnmQRL4ESDxRgd.OUlLI5OGM2mggp3
 kn9wqPJOr5nGJQj7SsCNaUacEbh3V008TNpqai2CU7LwqZL90GhwFRjXWYjpJr1vdJAA_WVvTXzX
 gESou5GBXIrnm9PDpe23rim1mmndn8gTCLIWwiqZ23LXFx0Cgn05V23XRPAmrRmcJibA-
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: 6c906485-dbf1-448b-91ec-06dc41fcfa96
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic316.consmr.mail.ne1.yahoo.com with HTTP; Sat, 28 Oct 2023 08:34:28 +0000
Received: by hermes--production-sg3-8696d769c6-tw8ps (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID f9e0048e621c5cf519174dd4a94a075e; 
 Sat, 28 Oct 2023 08:34:25 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#66769: 30.0.50; pixel-scroll-precision-mode and
 scroll-margin regression
In-Reply-To: <83sf5vcfqk.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 28 Oct
 2023 11:29:07 +0300")
References: <m2bkck8xso.fsf@HIDDEN> <877cn7xzg0.fsf@HIDDEN>
 <83wmv7ckmw.fsf@HIDDEN> <87ttqbw66m.fsf@HIDDEN>
 <83sf5vcfqk.fsf@HIDDEN>
Date: Sat, 28 Oct 2023 16:34:17 +0800
Message-ID: <87pm0zw3g6.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.21890
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 577
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 66769
Cc: 66769 <at> debbugs.gnu.org, aaronjensen@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.5 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> And what are the problems in computing this target point in the
> particular case described here?

It should be outside the scroll margin, so additional layout
computations must be performed after scrolling, compounding those
performed beforehand to establish the new window start.

> Even if it's done "only in this case"?  It should slow down only this
> case, no?
>
> And what exactly is the crucial difference between "this case" and the
> other cases, where scrolling works correctly?

The distinction is that scroll-margin is set.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66769; Package emacs. Full text available.

Message received at 66769 <at> debbugs.gnu.org:


Received: (at 66769) by debbugs.gnu.org; 28 Oct 2023 08:29:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 28 04:29:34 2023
Received: from localhost ([127.0.0.1]:37717 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qwehK-0000dN-Fk
	for submit <at> debbugs.gnu.org; Sat, 28 Oct 2023 04:29:34 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:60154)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qwehH-0000d7-W2
 for 66769 <at> debbugs.gnu.org; Sat, 28 Oct 2023 04:29:32 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qwegg-000848-Go; Sat, 28 Oct 2023 04:28:54 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=h8MIAadVOiG0DP2NCOY+vpzE7tVFQMQOf6TrG5bfUPY=; b=HHqsHJdHZMK1
 /l/j9ebV3u2KCNENu3C4GD17A+7Sjl5kuEUFDcXRlzs65iv62fyOLi6SS+RrGgNmgLpYvn1D3Mb75
 dzOJXnnqws0cgpHUn4y6ddkTC+uLQIvk3elIo05bL8l/ylvDaK2a78ACacEb/pJ2WCqhIYWiQS4fL
 G/lVUWJGxiCGfaDQwbh3lth3zZRb8wzEov0dtrjHbDV/6ItRB0Bb5XpvLQdqDqT8G+fTOFtEzVsj9
 Agpr9YMU3F+MG1r0dtKm73ulcb8Zu+98NFTEgd6D7DlldYwdS23POKV//ZX04wQcWSeeCtapD6AGr
 R8TjF6LRxAha3DBH/coxGg==;
Date: Sat, 28 Oct 2023 11:29:07 +0300
Message-Id: <83sf5vcfqk.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
In-Reply-To: <87ttqbw66m.fsf@HIDDEN> (message from Po Lu on Sat, 28 Oct
 2023 15:35:13 +0800)
Subject: Re: bug#66769: 30.0.50; pixel-scroll-precision-mode and
 scroll-margin regression
References: <m2bkck8xso.fsf@HIDDEN> <877cn7xzg0.fsf@HIDDEN>
 <83wmv7ckmw.fsf@HIDDEN> <87ttqbw66m.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66769
Cc: 66769 <at> debbugs.gnu.org, aaronjensen@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Po Lu <luangruo@HIDDEN>
> Cc: aaronjensen@HIDDEN,  66769 <at> debbugs.gnu.org
> Date: Sat, 28 Oct 2023 15:35:13 +0800
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > What is the "target point" in the above text? target for what?
> 
> The position where point will be moved after the window start and
> vscroll are adjusted, which is such that redisplay will not recenter or
> otherwise undermine the scrolling operation.

And what are the problems in computing this target point in the
particular case described here?

> > Why not use the too-slow posn-at-point, but only in this case?
> 
> Because with that, precision scrolling slows down to a crawl.

Even if it's done "only in this case"?  It should slow down only this
case, no?

And what exactly is the crucial difference between "this case" and the
other cases, where scrolling works correctly?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66769; Package emacs. Full text available.

Message received at 66769 <at> debbugs.gnu.org:


Received: (at 66769) by debbugs.gnu.org; 28 Oct 2023 07:36:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 28 03:36:02 2023
Received: from localhost ([127.0.0.1]:37680 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qwdrV-0007U2-Ou
	for submit <at> debbugs.gnu.org; Sat, 28 Oct 2023 03:36:02 -0400
Received: from sonic304-20.consmr.mail.ne1.yahoo.com ([66.163.191.146]:36860)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1qwdrU-0007Tj-4w
 for 66769 <at> debbugs.gnu.org; Sat, 28 Oct 2023 03:36:00 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1698478522; bh=AWFe9arTDO1DgY5rJTPVHYJC05bD48OcdRcLnkulK6A=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=Jg0mkfsq6BNMhOfgCzzpA0Jvfp5qd+S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luangruo@HIDDEN>
X-Sonic-ID: 28b999d2-fd02-44c5-b700-16831d911649
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic304.consmr.mail.ne1.yahoo.com with HTTP; Sat, 28 Oct 2023 07:35:22 +0000
Received: by hermes--production-sg3-8696d769c6-z26jv (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 84434ce851364c371772c05c62c96d21; 
 Sat, 28 Oct 2023 07:35:20 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#66769: 30.0.50; pixel-scroll-precision-mode and
 scroll-margin regression
In-Reply-To: <83wmv7ckmw.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 28 Oct
 2023 09:43:19 +0300")
References: <m2bkck8xso.fsf@HIDDEN> <877cn7xzg0.fsf@HIDDEN>
 <83wmv7ckmw.fsf@HIDDEN>
Date: Sat, 28 Oct 2023 15:35:13 +0800
Message-ID: <87ttqbw66m.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.21890
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 416
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 66769
Cc: 66769 <at> debbugs.gnu.org, aaronjensen@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.5 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> What is the "target point" in the above text? target for what?

The position where point will be moved after the window start and
vscroll are adjusted, which is such that redisplay will not recenter or
otherwise undermine the scrolling operation.

> Why not use the too-slow posn-at-point, but only in this case?

Because with that, precision scrolling slows down to a crawl.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66769; Package emacs. Full text available.

Message received at 66769 <at> debbugs.gnu.org:


Received: (at 66769) by debbugs.gnu.org; 28 Oct 2023 06:43:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 28 02:43:46 2023
Received: from localhost ([127.0.0.1]:37655 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qwd2w-0005lt-6k
	for submit <at> debbugs.gnu.org; Sat, 28 Oct 2023 02:43:46 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:52434)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1qwd2t-0005le-HE
 for 66769 <at> debbugs.gnu.org; Sat, 28 Oct 2023 02:43:44 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1qwd2I-0005m5-9h; Sat, 28 Oct 2023 02:43:06 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=jQX+pN8LoFB7e3PrYqUAMm7qQVKu1HoY2vqsMcjaPNQ=; b=qVOjGqXzkobf
 jRVB3MT22tdr7kpYYrirqNI5NuMFtrKUT5/rdzGqakuRYADdaXWZjpRiZNO7EhASM+F+f3PigMAqu
 tSBefLtb1CJyD0RwdlGBOXeYUmY3oanJNz6PjDIMknt/2gwMUy6MzFOd0ti6yJC9aU8i2uHaYSlvr
 pkTHGUsxpZHSPfEyEDge95OMbkpbQtcLL1b+c+UWo/q3l1kdApit3YdbqTm2OKYCbGyOCAAPzamyt
 2wcwo6Di9YgxTXF+2E1ERa5FHwY8wfJ4u4aHQDnHnNZFkDKFaJPU374Bijq0Wj6LOtnLYQNiISuEM
 vFy/tDjxDM5528xL9My+VQ==;
Date: Sat, 28 Oct 2023 09:43:19 +0300
Message-Id: <83wmv7ckmw.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Po Lu <luangruo@HIDDEN>
In-Reply-To: <877cn7xzg0.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN)
Subject: Re: bug#66769: 30.0.50;
 pixel-scroll-precision-mode and scroll-margin regression
References: <m2bkck8xso.fsf@HIDDEN> <877cn7xzg0.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66769
Cc: 66769 <at> debbugs.gnu.org, aaronjensen@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Cc: 66769 <at> debbugs.gnu.org
> Date: Sat, 28 Oct 2023 10:17:51 +0800
> From:  Po Lu via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> 
> Aaron Jensen <aaronjensen@HIDDEN> writes:
> 
> > Commit 1da4fca0647ebf1d5d6f12817301a17661560810 caused a regression of
> > bug#52231
> >
> > The repro is the same:
> >
> > (progn (setq scroll-margin 4)
> >        (pixel-scroll-precision-mode))
> >
> > And scroll down a buffer with mouse wheel.
> >
> > The buffer does not scroll properly, it jumps back unless you scroll
> > fast enough.
> 
> Hmm, I'm not certain what the solution to this should be.
> 
> For images to scroll properly, the "target point" must be derived from
> whether the point is visible after scrolling, instead of outside a set
> number of rows from the window start or end.  Yet the latter information
> is mandatory if the scroll margin is to be taken into account, and no
> function supplies both besides posn-at-point, which is much too slow.

What is the "target point" in the above text? target for what?

> The immediate remedy is to restore the old code when scroll-margin is in
> effect and document the consequent incapacity to scroll over large
> images as an unfortunate corollary.  Is that acceptable by you?

Why not use the too-slow posn-at-point, but only in this case?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66769; Package emacs. Full text available.

Message received at 66769 <at> debbugs.gnu.org:


Received: (at 66769) by debbugs.gnu.org; 28 Oct 2023 02:18:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 27 22:18:45 2023
Received: from localhost ([127.0.0.1]:37544 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qwYuT-0006kR-45
	for submit <at> debbugs.gnu.org; Fri, 27 Oct 2023 22:18:45 -0400
Received: from sonic304-22.consmr.mail.ne1.yahoo.com ([66.163.191.148]:43097)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1qwYuO-0006k9-7L
 for 66769 <at> debbugs.gnu.org; Fri, 27 Oct 2023 22:18:42 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1698459481; bh=HeGAEIN4Fd77Be+Zq5Ubtzha37lMMJy7Xse4l6XYlmw=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=k3uDfx4+1BcxRyX21OPWdD3+oK3RJmrxMfeY3CYDh0TL0pI49H8kHcgbnufX7nZmc93dPj4ADWd+y5ODawsbnV24qlJFmHGpqSHhwUMoI31FLyObheLtWPDZpI8WxNCOW240KLAnP+L2q6umOHduUXCzfz4YkAcGAIQKw1er6lGdl1tVO57hpSbxPDAfhgWg4q4FYOFrDXQfvUQEVNv2VQPqpHkL7Q84ljzWl2QeqhqtISmTGQW4E43Cqh3tQENtMM/xZNFZSxGTHAM06bgaYGgjGOmLp/MX/FNLyHEOWCX+NGjSi+OPrKFG5292nJEksXrzna70yQNGP2WjLok51Q==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1698459481; bh=b4Hd9XCURj5hfvYoBykH0GcCGkpdPubY15NFvU9kZRf=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=NiU2sQm0op2wcPWlzP7f3HZ83zwpxqFZcAT8srtbIca3YMWOoCwqt4CiAgyvAzh4P/e9uemrD4pTqb/scfGb3Vhqhzi8zScKgJM34css68lcXyiGA2ZiWtBBjpjD+wIz3gpMjgzaqUuWT71ueIHG7ohwyPN2q6XWWyjmmGIhfOAh+UOh/NrI/skYzLP38i9wOwruwBDntVjbpISZACM8AI6Tv7wfIsDDnI8ljlXNCN01B1IJtvJ6LWL/fCdvFWWsZBQomvgeiESWnBUs9z0vjvai4TzkEXl/eU5PfGkAkZgKV0CAuwO/qWC0EqP2ny12acZRo23SbUUo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Iq1SlHmFTGVGQGVcfMXSOMepyIfvUZfvTY1US1U_
 HdzXFkrzt4GH_j3FVt6kcsM1IHqVDumRFyra9A_8Ryp6zzN7FXtZvKTdMB35E49GMI6.4YHsY63_
 hAYIB9_ukTGFYEU8b4mhu.7A3xYENLqsLTbfPpWLY3ySwR_pwld_9_SJUpihmjBMuPYKp1o6ByIN
 fFkxAwmezfiN1KRdYIixizuteAIcJSuWmZuq.2u1IdV5v.VKt4Rsk4PxeZ6TpJ2U.JPtY
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: 37cb9403-9cf3-4f1c-bdad-885b00fd86db
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic304.consmr.mail.ne1.yahoo.com with HTTP; Sat, 28 Oct 2023 02:18:01 +0000
Received: by hermes--production-sg3-8696d769c6-b69bx (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 2a6d88895f4935650a0eabee64a4b21b; 
 Sat, 28 Oct 2023 02:17:56 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: Aaron Jensen <aaronjensen@HIDDEN>
Subject: Re: bug#66769: 30.0.50; pixel-scroll-precision-mode and
 scroll-margin regression
In-Reply-To: <m2bkck8xso.fsf@HIDDEN> (Aaron Jensen's message of "Fri, 27
 Oct 2023 01:00:23 -0400")
References: <m2bkck8xso.fsf@HIDDEN>
Date: Sat, 28 Oct 2023 10:17:51 +0800
Message-ID: <877cn7xzg0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.21890
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 987
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 66769
Cc: 66769 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.5 (-)

Aaron Jensen <aaronjensen@HIDDEN> writes:

> Commit 1da4fca0647ebf1d5d6f12817301a17661560810 caused a regression of
> bug#52231
>
> The repro is the same:
>
> (progn (setq scroll-margin 4)
>        (pixel-scroll-precision-mode))
>
> And scroll down a buffer with mouse wheel.
>
> The buffer does not scroll properly, it jumps back unless you scroll
> fast enough.

Hmm, I'm not certain what the solution to this should be.

For images to scroll properly, the "target point" must be derived from
whether the point is visible after scrolling, instead of outside a set
number of rows from the window start or end.  Yet the latter information
is mandatory if the scroll margin is to be taken into account, and no
function supplies both besides posn-at-point, which is much too slow.

The immediate remedy is to restore the old code when scroll-margin is in
effect and document the consequent incapacity to scroll over large
images as an unfortunate corollary.  Is that acceptable by you?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#66769; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 27 Oct 2023 05:01:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 27 01:01:15 2023
Received: from localhost ([127.0.0.1]:34887 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qwEyA-0007Qr-OJ
	for submit <at> debbugs.gnu.org; Fri, 27 Oct 2023 01:01:15 -0400
Received: from lists.gnu.org ([2001:470:142::17]:54038)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <aaronjensen@HIDDEN>) id 1qwEy8-0007Qe-BV
 for submit <at> debbugs.gnu.org; Fri, 27 Oct 2023 01:01:13 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <aaronjensen@HIDDEN>)
 id 1qwExV-0002Sp-3K
 for bug-gnu-emacs@HIDDEN; Fri, 27 Oct 2023 01:00:33 -0400
Received: from mail-vk1-xa2e.google.com ([2607:f8b0:4864:20::a2e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <aaronjensen@HIDDEN>)
 id 1qwExR-000619-Tk
 for bug-gnu-emacs@HIDDEN; Fri, 27 Oct 2023 01:00:32 -0400
Received: by mail-vk1-xa2e.google.com with SMTP id
 71dfb90a1353d-49d8dd34f7bso750430e0c.3
 for <bug-gnu-emacs@HIDDEN>; Thu, 26 Oct 2023 22:00:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1698382827; x=1698987627; darn=gnu.org;
 h=mime-version:message-id:date:subject:to:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=jNzwLlCNkyPvC+iK50T5N2cKzfkBP61zX0K/1LfLTnA=;
 b=ghZJyrUHdAQ8fU/+CaBrB3D6dfzQz6N9wSsSy+UZneFz0gzZcWnHvKwE3g4Y7SQO71
 rYDUZTvkQTB8Gh3nEHfBjUZQeL/6SND/M/K4oZKbxvxNM0WppjLr6U8wdS5DN17Xy+Fm
 xY/x0PB0CbfjLFX+RFuF/KVynGSzXRU60r7BM9/6OpzqmbPaqRlyIrr+nfPlhU56mVt1
 AgtwKdfyFdUJIwjc813K/mx0ElCJZw8sBtjI4wXkj9V7rDTrQmd7IyQjBjffrEYJvTz0
 77dxA4ONACQ46P1yGK002t9kDKSO1ekDIkQs8U871z+oYlSWcNBien4ZUbwIuLSQslNp
 ovCg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1698382827; x=1698987627;
 h=mime-version:message-id:date:subject:to:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=jNzwLlCNkyPvC+iK50T5N2cKzfkBP61zX0K/1LfLTnA=;
 b=PtuB4fayfNNa8xnZVbC3iqTBnR+mYm3eSibKEHkmpumhmBr4/YVJPX7FqLFg21NDKH
 gL+nE3e7kX4rl6XbWZnL2RNLNJnr6Pv6sY+JuMxm6H9JbmvImuC94SSLJX6PvG1vUorD
 qDbyLclWGUTkkl0nn7879SiEDlqznBcaOtDkykeP/bCCSlSjeX2YuJ8gss/65PwIIK7L
 uhBf8BcMlxVxh5yFnCrjAdaAxtoE3a5DSrDDH4PCbiWnu3k1NE9XsbXjmSd3h1JIviJQ
 qM4I0Q9RGogzd0cimQh0aKGfV2KMFQUaDlbO8weK58npYyqDRvKZtWrhR+ZKAcJlY+eO
 2sfw==
X-Gm-Message-State: AOJu0Yx2BqlE7Pk8qLJQd6dW00BJIFTpT3elBgOBer52sbBv3qoQH37y
 nTysjdUKzdT6EZ3BTZCKYXz1P1nTzPg=
X-Google-Smtp-Source: AGHT+IEC8OwCH1gaGbbWUtLcTwdOJKLTMw7Ot8ywZyuJjj2xb/mIgsdc1W7lJ513+zCiZJGsVW7o+Q==
X-Received: by 2002:a1f:1dc8:0:b0:4a8:4218:804b with SMTP id
 d191-20020a1f1dc8000000b004a84218804bmr2032309vkd.12.1698382827330; 
 Thu, 26 Oct 2023 22:00:27 -0700 (PDT)
Received: from Aarons-Laptop.local (c-76-101-201-183.hsd1.fl.comcast.net.
 [76.101.201.183]) by smtp.gmail.com with ESMTPSA id
 k67-20020a816f46000000b00583f8f41cb8sm375755ywc.63.2023.10.26.22.00.26
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 26 Oct 2023 22:00:26 -0700 (PDT)
From: Aaron Jensen <aaronjensen@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 30.0.50; pixel-scroll-precision-mode and scroll-margin regression
Date: Fri, 27 Oct 2023 01:00:23 -0400
Message-ID: <m2bkck8xso.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::a2e;
 envelope-from=aaronjensen@HIDDEN; helo=mail-vk1-xa2e.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)


Commit 1da4fca0647ebf1d5d6f12817301a17661560810 caused a regression of
bug#52231

The repro is the same:

(progn (setq scroll-margin 4)
       (pixel-scroll-precision-mode))

And scroll down a buffer with mouse wheel.

The buffer does not scroll properly, it jumps back unless you scroll
fast enough.


In GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin22.6.0, NS
 appkit-2299.70 Version 13.6 (Build 22G120)) of 2023-10-17 built on
 Aarons-Laptop.local
Windowing system distributor 'Apple', version 10.3.2487
System Description:  macOS 14.1

Configured using:
 'configure --disable-dependency-tracking --disable-silent-rules
 --enable-locallisppath=/opt/homebrew/share/emacs/site-lisp
 --infodir=/opt/homebrew/Cellar/emacs-plus@30/30.0.50/share/info/emacs
 --prefix=/opt/homebrew/Cellar/emacs-plus@30/30.0.50 --with-xml2
 --with-gnutls --with-native-compilation --without-compress-install
 --without-dbus --without-imagemagick --with-modules --with-rsvg
 --with-webp --with-ns --disable-ns-self-contained 'CFLAGS=-Os -w -pipe
 -mmacosx-version-min=13
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
 -DFD_SETSIZE=10000 -DDARWIN_UNLIMITED_SELECT'
 'CPPFLAGS=-I/opt/homebrew/opt/zlib/include
 -I/opt/homebrew/opt/jpeg/include -I/opt/homebrew/opt/icu4c/include
 -isystem/opt/homebrew/include -F/opt/homebrew/Frameworks
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk'
 'LDFLAGS=-L/opt/homebrew/opt/zlib/lib -L/opt/homebrew/opt/jpeg/lib
 -L/opt/homebrew/opt/icu4c/lib -L/opt/homebrew/lib
 -F/opt/homebrew/Frameworks -Wl,-headerpad_max_install_names
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
 -L/opt/homebrew/opt/libgccjit/lib''

Configured features:
ACL GIF GLIB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP
NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Text

Minor modes in effect:
  eval-sexp-fu-flash-mode: t
  global-git-commit-mode: t
  transient-posframe-mode: t
  global-evil-mc-mode: t
  evil-mc-mode: t
  windmove-mode: t
  global-flycheck-mode: t
  flycheck-mode: t
  xterm-mouse-mode: t
  pixel-scroll-precision-mode: t
  org-roam-db-autosync-mode: t
  corfu-prescient-mode: t
  corfu-history-mode: t
  undo-fu-session-global-mode: t
  undo-fu-session-mode: t
  ws-butler-global-mode: t
  ws-butler-mode: t
  save-place-mode: t
  winner-mode: t
  tabspaces-mode: t
  savehist-mode: t
  delete-selection-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  vertico-prescient-mode: t
  prescient-persist-mode: t
  vertico-mouse-mode: t
  vertico-mode: t
  mini-frame-mode: t
  better-jumper-mode: t
  better-jumper-local-mode: t
  global-auto-revert-mode: t
  ns-auto-titlebar-mode: t
  global-anzu-mode: t
  anzu-mode: t
  which-key-posframe-mode: t
  which-key-mode: t
  gcmh-mode: t
  recentf-mode: t
  repeat-mode: t
  +popup-mode: t
  evil-mode: t
  evil-local-mode: t
  server-mode: t
  leader-key-leader-override-mode: t
  global-leader-key-leader-override-mode: t
  elpaca-use-package-mode: t
  override-global-mode: t
  global-display-line-numbers-mode: t
  display-line-numbers-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tab-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  window-divider-mode: t
  minibuffer-regexp-mode: t
  line-number-mode: t
  auto-fill-function: yas--auto-fill
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/Users/aaronjensen/.emacs.d/elpaca/builds/lispy/elpa hides /Users/aaronjensen/.emacs.d/elpaca/builds/ivy/elpa

Features:
(shadow sort mail-extr emacsbug copy-as-format all-the-icons
data-material data-weathericons data-octicons data-fileicons
data-faicons data-alltheicons all-the-icons-faces yaml-mode drag-stuff
org-clock cal-move magit-patch magit-subtree magit-gitignore semantic/ia
semantic/analyze/refs semantic/db-find semantic/db-ref semantic/senator
semantic/decorate semantic/analyze semantic/sort semantic/scope
semantic/analyze/fcn semantic/db eieio-base semantic/ctxt
semantic/format ezimage semantic/tag-ls semantic/find
semantic/util-modes semantic/util semantic semantic/tag cedet git-link
json-mode json-snatcher evil-matchit-ruby evil-matchit-simple
evil-matchit-prog evil-matchit evil-matchit-sdk semantic/lex semantic/fw
misearch multi-isearch novice wdired rotate vertico-repeat magit-ediff
evil-collection-ediff ediff ediff-merg ediff-mult ediff-wind ediff-diff
ediff-help ediff-init ediff-util consult-git-commit typescript-ts-mode
find-dired pulse consult-xref dumb-jump popup wgrep grep embark-org
embark-consult embark lsp-diagnostics lsp-modeline lsp-lens lsp-ui
lsp-ui-flycheck lsp-ui-doc lsp-ui-imenu lsp-ui-peek lsp-ui-sideline
lsp-ui-util evil-numbers speeddating git-rebase ffap goto-addr tabify
lsp-jq lsp-zig lsp-tilt lsp-steep lsp-svelte lsp-sqls
lsp-ruby-syntax-tree lsp-ruby-lsp lsp-yaml lsp-xml lsp-vimscript
lsp-vhdl lsp-volar lsp-vetur lsp-html lsp-verilog lsp-vala lsp-v
lsp-typeprof lsp-ttcn3 lsp-toml lsp-terraform lsp-tex lsp-sorbet
lsp-solargraph lsp-semgrep lsp-rust lsp-rubocop lsp-rf lsp-ruff-lsp
lsp-remark lsp-racket lsp-r lsp-purescript lsp-pylsp lsp-pyls lsp-pwsh
lsp-php lsp-pls lsp-perlnavigator lsp-perl lsp-openscad lsp-ocaml
lsp-magik lsp-nix lsp-nim lsp-nginx lsp-move lsp-mint lsp-mdx
lsp-marksman lsp-markdown lsp-lua lsp-kotlin lsp-json lsp-javascript
lsp-idris lsp-haxe lsp-groovy lsp-hack lsp-graphql lsp-glsl lsp-gleam
lsp-go lsp-completion lsp-gdscript lsp-fsharp lsp-fortran lsp-eslint
lsp-erlang lsp-emmet lsp-elixir lsp-elm lsp-dockerfile lsp-dhall lsp-d
lsp-css lsp-csharp lsp-crystal lsp-credo lsp-cmake lsp-clojure
lsp-semantic-tokens lsp-clangd lsp-beancount lsp-bash lsp-astro lsp-awk
lsp-ansible lsp-angular lsp-ada lsp-actionscript lsp-mode lsp-protocol
spinner network-stream inline ht dtrt-indent eval-sexp-fu eros
lispyville lispy lispy-inline etags fileloop lispy-tags mode-local
zoutline elisp-def ert ewoc evil-collection-xref xref sotlisp skeleton
evil-collection-vundo vundo ripgrep-capf dabbrev haml-mode js
c-ts-common cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles
cc-align cc-engine css-mode magit-extras diary-lib diary-loaddefs view
org-indent org-appear orgonomic org-superstar form-feed org-journal
org-crypt cal-iso avy consult dired-aux evil-nerd-commenter
evil-nerd-commenter-operator evil-nerd-commenter-sdk sgml-mode facemenu
markdown-mode vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view
bug-reference flyspell ispell lua-mode magit-delta xterm-color
evil-collection-magit magit-bookmark magit-submodule magit-blame
magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch
magit-clone magit-remote magit-commit magit-sequence magit-notes
magit-worktree magit-tag magit-merge magit-branch magit-reset
magit-files magit-refs magit-status magit package url-handlers
magit-repos magit-apply magit-wip magit-log which-func magit-diff
smerge-mode diff git-commit log-edit pcvs-util add-log magit-core
magit-autorevert magit-margin magit-transient magit-process with-editor
magit-mode transient-posframe transient magit-git magit-base crm
sh-script treesit executable tramp-cmds evil-mc evil-mc-command-execute
evil-mc-command-record evil-mc-cursor-make evil-mc-region
evil-mc-cursor-state evil-mc-undo evil-mc-vars evil-mc-known-commands
evil-mc-common evil-collection-helpful helpful cc-langs cc-vars cc-defs
trace evil-collection-edebug edebug evil-collection-debug debug
backtrace info-look info f f-shortdoc help-fns radix-tree elisp-refs
windmove tab-line hide-mode-line popup-mode-core evil-collection-vterm
vterm bookmark tramp trampver tramp-integration files-x tramp-message
tramp-compat tramp-loaddefs term ehelp vterm-module term/xterm xterm
oc-basic ol-eww eww url-queue mm-url ol-rmail ol-mhe ol-irc ol-info
ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls
dig gnus-sum shr pixel-fill kinsoku url-file svg dom browse-url
gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap
nnmail mail-source utf7 nnoo parse-time gnus-spec gnus-int gnus-range
message sendmail yank-media rfc822 mml mml-sec epa epg rfc6068
epg-config mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader
gnus-win gnus nnheader gnus-util mail-utils range ol-docview doc-view
image-mode exif ol-bibtex bibtex iso8601 ol-bbdb ol-w3m ol-doi
org-link-doi evil-terminal-cursor-changer color flycheck xt-mouse
pixel-scroll cua-base org-download url-http url url-proxy url-privacy
url-expand url-methods url-history mailcap url-auth mail-parse rfc2231
rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-cookie
generate-lisp-file url-domsuf url-gw nsm puny async vulpea vulpea-meta
vulpea-select vulpea-buffer vulpea-db s vulpea-utils vulpea-note
org-roam-migrate org-roam-log org-roam-mode org-roam-capture org-roam-id
org-roam-node org-roam-db emacsql-sqlite-builtin sqlite org-roam-utils
org-roam-compat org-roam org-mac-link org-goto org-capture org-attach
evil-org-agenda evil-org imenu ox-odt rng-loc rng-uri rng-parse
rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok
nxml-util ox-latex ox-icalendar org-agenda ox-ascii ox-gfm ox-md ox-html
table ox-publish ox org-element org-persist xdg org-id org-refile
avl-tree generator org-tempo tempo ob-shell shell org ob ob-tangle
ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete
pcomplete org-list org-footnote org-faces org-entities time-date
noutline outline ob-emacs-lisp ob-core ob-eval org-cycle org-table ol
org-fold org-fold-core org-keys oc org-loaddefs find-func cal-menu
calendar cal-loaddefs org-version org-compat org-macs emacsql-sqlite
emacsql-sqlite-common emacsql emacsql-compiler magit-section format-spec
dash jka-compr url-util cape corfu-prescient corfu-history corfu
evil-ruby-text-objects ruby-refactor elec-pair envrc inheritenv
evil-surround evil-matchit-evil-setup bundler inf-ruby compile
text-property-search comint ansi-osc ansi-color ruby-mode smie
undo-fu-session ws-butler vc-git diff-mode vertico-directory saveplace
winner tabspaces dired-x dired dired-loaddefs vc vc-dispatcher
cursor-sensor savehist delsel yasnippet vertico-prescient prescient
char-fold vertico-mouse vertico mini-frame better-jumper autorevert
filenotify ns-auto-titlebar evil-anzu anzu popup-mode-hacks
which-key-posframe posframe evil-collection-which-key which-key gcmh
recentf tree-widget repeat orderless popup-mode popup-mode-settings
evil-collection annalist evil-little-word cus-edit cus-start cus-load
wid-edit pp evil evil-integration evil-maps evil-commands reveal
evil-jumps evil-command-window evil-types evil-search evil-ex
evil-macros evil-repeat evil-states evil-core advice evil-common
thingatpt rect evil-vars memoize nano-modeline nano-light-theme
face-remap nano-theme disp-table gcmh-autoloads copy-as-format-autoloads
pdf-tools-autoloads tablist-autoloads restclient-autoloads
vterm-autoloads dumb-jump-autoloads popup-autoloads haml-mode-autoloads
emmet-mode-autoloads terraform-mode-autoloads hcl-mode-autoloads
dockerfile-mode-autoloads yaml-mode-autoloads json-mode-autoloads
json-snatcher-autoloads grip-mode-autoloads lua-mode-autoloads
bundler-autoloads inf-ruby-autoloads ruby-refactor-autoloads
evil-ruby-text-objects-autoloads sotlisp-autoloads elisp-def-autoloads
lispyville-autoloads lispy-autoloads zoutline-autoloads swiper-autoloads
ivy-autoloads iedit-autoloads eros-autoloads eval-sexp-fu-autoloads
web-mode-autoloads ripgrep-capf-autoloads git-link-autoloads
consult-git-commit-autoloads git-timemachine-autoloads
magit-delta-autoloads xterm-color-autoloads prettier-autoloads
editorconfig-autoloads nvm-autoloads iter2-autoloads flycheck-autoloads
pkg-info-autoloads epl-autoloads lsp-ui-autoloads lsp-mode-autoloads
markdown-mode-autoloads spinner-autoloads imenu-list-autoloads
org-superstar-autoloads ox-gfm-autoloads org-pandoc-import-autoloads
gnuplot-autoloads org-download-autoloads async-autoloads
org-journal-autoloads vulpea-autoloads org-roam-autoloads
emacsql-autoloads orgonomic-autoloads org-drill-autoloads
persist-autoloads org-appear-autoloads org-mac-link-autoloads
evil-org-autoloads evil-terminal-cursor-changer-autoloads
transient-posframe-autoloads better-jumper-autoloads
buffer-move-autoloads rotate-autoloads mini-frame-autoloads
embark-consult-autoloads embark-autoloads consult-autoloads
orderless-autoloads cape-autoloads corfu-prescient-autoloads
corfu-autoloads vertico-prescient-autoloads vertico-autoloads
prescient-autoloads tabspaces-autoloads which-key-posframe-autoloads
which-key-autoloads popup-mode-autoloads hide-mode-line-autoloads
evil-anzu-autoloads anzu-autoloads titlecase-autoloads wgrep-autoloads
yasnippet-autoloads form-feed-autoloads drag-stuff-autoloads
dtrt-indent-autoloads ws-butler-autoloads evil-collection-autoloads
annalist-autoloads evil-mc-autoloads evil-numbers-autoloads
speeddating-autoloads evil-little-word-autoloads evil-matchit-autoloads
evil-nerd-commenter-autoloads evil-visualstar-autoloads
evil-surround-autoloads vundo-autoloads undo-fu-session-autoloads
ztree-autoloads dwim-shell-command-autoloads treemacs-tab-bar-autoloads
treemacs-magit-autoloads magit-autoloads magit-section-autoloads
git-commit-autoloads with-editor-autoloads treemacs-evil-autoloads
evil-autoloads goto-chg-autoloads treemacs-autoloads cfrs-autoloads
ht-autoloads pfuture-autoloads ace-window-autoloads avy-autoloads
all-the-icons-autoloads rainbow-mode-autoloads posframe-autoloads
ns-auto-titlebar-autoloads nano-modeline-autoloads nano-theme-autoloads
memoize-autoloads envrc-autoloads inheritenv-autoloads helpful-autoloads
elisp-refs-autoloads f-autoloads s-autoloads dired-subtree-autoloads
dired-hacks-utils-autoloads dash-autoloads project server pcase hydra lv
url-parse auth-source eieio eieio-core password-cache json map url-vars
edmacro kmacro byte-opt ring compdef derived leader-key bind-map
no-littering compat compdef-autoloads hydra-autoloads lv-autoloads
leader-key-autoloads bind-map-autoloads no-littering-autoloads
compat-autoloads elpaca-use-package use-package use-package-ensure
use-package-delight use-package-diminish use-package-bind-key bind-key
easy-mmode use-package-core elpaca-use-package-autoloads elpaca
elpaca-process elpaca-autoloads comp comp-cstr warnings subr-x rx cl-seq
cl-macs gv bytecomp byte-compile cl-extra help-mode icons cl-loaddefs
cl-lib display-line-numbers rmc iso-transl tooltip cconv eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/ns-win ns-win ucs-normalize mule-util term/common-win touch-screen
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq
simple cl-generic indonesian philippine cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button
loaddefs theme-loaddefs faces cus-face macroexp files window
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget keymap hashtable-print-readable backquote threads kqueue
cocoa ns lcms2 multi-tty make-network-process native-compile emacs)

Memory information:
((conses 16 2080572 2381461) (symbols 48 77654 1056) (strings 32 451266 180979)
 (string-bytes 1 11467384) (vectors 16 155030) (vector-slots 8 3667916 2180885)
 (floats 8 1945 7523) (intervals 56 76874 1098) (buffers 992 36))




Acknowledgement sent to Aaron Jensen <aaronjensen@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#66769; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 20 Jan 2024 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.