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

Previous Next

Package: emacs;

Reported by: Aaron Jensen <aaronjensen <at> gmail.com>

Date: Fri, 27 Oct 2023 05:02:01 UTC

Severity: normal

Merged with 68196

Found in version 30.0.50

Full log


Message #38 received at 66769 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Aaron Jensen <aaronjensen <at> gmail.com>
Cc: luangruo <at> yahoo.com, 66769 <at> debbugs.gnu.org
Subject: Re: bug#66769: 30.0.50;
 pixel-scroll-precision-mode and scroll-margin regression
Date: Thu, 02 Nov 2023 08:28:05 +0200
> Cc: 66769 <at> debbugs.gnu.org
> From: Aaron Jensen <aaronjensen <at> gmail.com>
> 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.




This bug report was last modified 1 year and 168 days ago.

Previous Next


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