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#71646: 29.3; pixel-scroll-precision-mode overrides paging behaviour even when pixel-scroll-precision-interpolate-page is off Date: Sat, 06 Jul 2024 10:39:11 +0300 Message-ID: <86ed8755r4.fsf@gnu.org> References: <1EF9E019-2554-402F-8E9F-77AF2D9B4828@bulsara.com> <86iky1icc8.fsf@gnu.org> 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="19738"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mike@bulsara.com, 71646@debbugs.gnu.org To: luangruo@yahoo.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 06 09:40:08 2024 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 1sQ01f-0004uh-NZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Jul 2024 09:40:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQ01Y-0007GK-Ba; Sat, 06 Jul 2024 03:40:00 -0400 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 1sQ01W-0007G8-GB for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2024 03:39:58 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sQ01W-0003sm-8G for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2024 03:39:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sQ01Z-0005La-NF for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2024 03:40:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Jul 2024 07:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71646 X-GNU-PR-Package: emacs Original-Received: via spool by 71646-submit@debbugs.gnu.org id=B71646.172025156320493 (code B ref 71646); Sat, 06 Jul 2024 07:40:01 +0000 Original-Received: (at 71646) by debbugs.gnu.org; 6 Jul 2024 07:39:23 +0000 Original-Received: from localhost ([127.0.0.1]:45496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQ00w-0005KS-TQ for submit@debbugs.gnu.org; Sat, 06 Jul 2024 03:39:23 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55626) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQ00v-0005KB-8P for 71646@debbugs.gnu.org; Sat, 06 Jul 2024 03:39:21 -0400 Original-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 ) id 1sQ00m-0003IW-90; Sat, 06 Jul 2024 03:39:12 -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=ZFIr5Jka9tXJ20OMXx6x4Oo4fGK/NCCxMCd0iNeigPc=; b=J86D8G18PPDoV5z8Dz7W 1jaofvvdWVdfHtEDCZRVRVVO1G7HTJ4fa4dUoegdEoo/WkdUfMAfaDPFK0klui4DxSzzOiqkr0s1C I8Gchm1jgYOWFVaVrlQHrqwlsIfBlNyx5vivvVdmI02DWTCGBBr+Si92x1EfChl26SiwIPKE6P5OR LiLPySB5xDGJZOp7AO/+DkhpepOtd7/iCpEtWXJ5UWNZLiXOnho34KkGPInc16i/mYzNe6jJmRaB+ oUysuVWYiWi3vatRqXf3d3sQvCvKcFLumv2222wMZ5JRsXj4dCnBuv8gUodhwv5caJQK8jbWVMv7f j1zEZQw/6UN2UQ==; In-Reply-To: <86iky1icc8.fsf@gnu.org> (message from Eli Zaretskii on Sat, 22 Jun 2024 11:57:43 +0300) 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:288466 Archived-At: Ping! > Cc: 71646@debbugs.gnu.org > Date: Sat, 22 Jun 2024 11:57:43 +0300 > From: Eli Zaretskii > > > From: Mike Woolley > > Date: Wed, 19 Jun 2024 11:44:52 +0100 > > > > Playing with `pixel-scroll-precision-mode’ I noticed a small issue: > > > > Setting `pixel-scroll-precision-interpolate-page’ is supposed to turn off the paging animation (which it does) > > however even when it’s off, and invoke `cua-scroll-up’ & `cua-scroll-down’ rather than allowing > > another keymap to handle it. > > > > Unfortunately this means any other mapping for these keys you might have has now been silently overridden > > (even after you’ve said you don’t want the new behaviour). > > > > (defun pixel-scroll-interpolate-up () > > "Interpolate a scroll upwards by one page." > > (interactive) > > (if pixel-scroll-precision-interpolate-page > > (pixel-scroll-precision-interpolate (window-text-height nil t) nil 1) > > (cua-scroll-down))) > > > > I think it would be better if `pixel-scroll-precision-mode’ did nothing if `pixel-scroll-precision-interpolate-page’ is > > off and allowed another keycap to handle & . > > > > I also noticed that it only maps & and not C-v / M-v, so in other words behaviour could be > > different depending on exactly which Page Up & Down key sequence you invoke. > > Po Lu, any comments or suggestions? > > > >