From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#61307: 30.0.50; pixel-scroll-precision-mode: window-scroll-functions? Date: Sun, 19 Feb 2023 16:30:15 +0800 Message-ID: <871qmmjbvs.fsf@yahoo.com> References: <87y1pbsgu5.fsf@web.de> <83h6vzq9at.fsf@gnu.org> <878rhascr8.fsf@web.de> <83wn4ngjvp.fsf@gnu.org> <875yc6cnmk.fsf@web.de> <83mt5ifdhn.fsf@gnu.org> <87o7pyb556.fsf@web.de> <83k00lg1ve.fsf@gnu.org> <873579jaot.fsf@web.de> <83edqse6qr.fsf@gnu.org> <87sff7374b.fsf@web.de> <83y1ozawtu.fsf@gnu.org> <877cwi1a35.fsf@web.de> <83edqq81f0.fsf@gnu.org> <87ttzifbkq.fsf@web.de> <875ybyjgax.fsf@yahoo.com> <87a61axg1i.fsf@web.de> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26212"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 61307@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 19 09:33:18 2023 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 1pTf8I-0006ga-Oj for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Feb 2023 09:33:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pTf84-00064Y-Dz; Sun, 19 Feb 2023 03:33:04 -0500 Original-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 ) id 1pTf82-00062j-UU for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2023 03:33:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pTf82-00015n-E0 for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2023 03:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pTf81-0004Cx-W3 for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2023 03:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Feb 2023 08:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61307 X-GNU-PR-Package: emacs Original-Received: via spool by 61307-submit@debbugs.gnu.org id=B61307.167679555716134 (code B ref 61307); Sun, 19 Feb 2023 08:33:01 +0000 Original-Received: (at 61307) by debbugs.gnu.org; 19 Feb 2023 08:32:37 +0000 Original-Received: from localhost ([127.0.0.1]:45635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTf7d-0004CA-Ec for submit@debbugs.gnu.org; Sun, 19 Feb 2023 03:32:37 -0500 Original-Received: from sonic303-47.consmr.mail.ne1.yahoo.com ([66.163.188.173]:43997) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTf7c-0004Bw-Gf for 61307@debbugs.gnu.org; Sun, 19 Feb 2023 03:32:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1676795549; bh=eD/J5TmDVME/SPd85cBDtymA1kOza5tZ3acEq6bVd4M=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=F7idyyGYdfIBIg9i7d1jGluERHACuOicAxgIiE89Togo38zjVC9E6BMTcLFAbBpA5d0rPti4QjaMZwuYCsWaAI4fd40HF7KaoCbu+287g8aLKVb4n1+n2srRhIGb3u51WDYmsOncyA992WX0J2N+MpoCaPdbLCr4Fj0qmUO0BoHWy+keOEpRjDZYGqcbDvpKiTwEJILxmn3z6TAtvJCmzmYje6BAkLiXPbh3+qgYgLqCttU6k7NsZW6sV9AMmxglDvtpC3fps7/ALBmDw5seg+6dG6a/r7QLMgdKBQhoh7WBWKHXDLZsHWRmOKjlDrswjtSLY0SB1+Ne1rnjal4TyQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1676795549; bh=u3zo2wU9AmCEQekkSgBi60vGphjqF58e1v10RxZuc39=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=OsO4PHFcAQ5pLYHW2C5sQ75KWA3EOFt8RUGuscFAQ8+c/ir7Kkm4BhZhHMn2JN7LfBCCUGfa7QjoZZMk65VSKV7nJD8Some8UR5+4mx/v2+ILfeKt9d++Iz+WHq8TSfligjM2XUvK2CJXccVUlhnhMp6Srqw/9wKls+oyuNg5E++eP7XUEICXhIqByAojO/QmQcSLazSK1PD2UldKaKZ5ndv8f5dxKaCxASUaKPgI42pF3p0+BwYvV1HP/vIYg7zV/vb3Zrp/BdZ6HrpbbWouE/DZLBmS9IwN+E2UVcoz9VPvVcJpSVVtEjAKNBaNUDbqdLB761lSlUK6xDWHR8Ing== X-YMail-OSG: 1m1uEpcVM1m3GP_MtEpYRSXltpQ1gJZsa.nCN.nSrbmUGXeLMJNuRQT3V_4eEct yTdY1L3dOLSm7etZl_JjJrKtAap4G0IjHzma5adY21t6LRkWIrXv.aX5FHtU43rJPp726_99o7TA lJOsOCATRxpcEMCiEjRgKcGlkg2.BH0Y6YgSXAFG3.LwqdVfhdW2CP0qn16.0DD8ntzkrVjPx2Uo AZsudCKMxT2hWyT6SNm32.hucNT8aF6qwayIm9CRyzZUZXVcKtLGunZ.rFExVIE6t8ICDPRrATmG u85n0fqwgNZ2Es__XoLGl.KLNomotjPqBNRnCaCFfqyY2BfbaABQt1ZvDy8x6NZZsq_ez2F.iaJK 9qV1IjjZCrEDiD8XK23wsGrZxHqauZpZ.Uj9psWl_WAySQ2nRze6H_saZafp9gz6_db1XKSn7.Yc CsG102AyMozPiUHLgDP4nxxIKuog1VF2PTKoUqdnLmaD1f95tnzuFmwsOdvYORiEJDbfbrFZG5KT .fkHeYJxPUD9KovoaHuRHna8y.AMYsz9e7TKulRAxHZh4sYBPpxEjyArq6NusI6_lWr19gQO7ck6 uSNnVF5767Uw1Gduhmx8_v8ghgkm87QyW9XiaJtgiQLKky7ZwHLJomqVaogiGvm_Lv2TMNExMfbp .OqOaeopSalEmB_w_o4ds2cvatC8yanxeeB7x20cBBecvYEnFjcc_UOynfeRB7sOg28nrNt.CEBF 6fYbIA33KIGKyklQPuvKZ.kfi9TOIFpezTG_j8_Ae5SFmcGPybWs6rZGyxXlts_zsovHYtSDypMf LYg4NnqUtd5TqEsj0RAhAmRZMd4IrtPtG5wSFO6L89 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Sun, 19 Feb 2023 08:32:29 +0000 Original-Received: by hermes--production-sg3-9fc5746c8-qs9hb (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 1e7356e241cb13e5bca2ec17f3f4e540; Sun, 19 Feb 2023 08:30:26 +0000 (UTC) In-Reply-To: <87a61axg1i.fsf@web.de> (Michael Heerdegen's message of "Sun, 19 Feb 2023 08:36:41 +0100") X-Mailer: WebService/1.1.21183 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:256036 Archived-At: Michael Heerdegen writes: > That is also my question! I suggest adding a new counter to the kinetic state which counts the number of pixels scrolled, taking into account the direction of the scroll. Then, once (abs counter) exceeds the line height, run window-scroll-functions. Alternatively, do that every time set-window-start is called. >> Either way, please make sure it stays fast (or at least put it behind an >> option which is off by default.) > > How can I be sure it stays fast? It's obviously the right thing for my > setup, but I have _zero_ experience with other setups (devices). If you > have, help would be very appreciated. I'd recommend asking people to try it, especially with editing modes that have lots of gizmos (``lsp-ui'' seems to be one of those, whatever it is.)