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, 22 Jun 2024 11:57:43 +0300 Message-ID: <86iky1icc8.fsf@gnu.org> References: <1EF9E019-2554-402F-8E9F-77AF2D9B4828@bulsara.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30866"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71646@debbugs.gnu.org To: Mike Woolley , Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 22 10:58:22 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 1sKwZh-0007mF-DO for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Jun 2024 10:58:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKwZR-0006aW-Mz; Sat, 22 Jun 2024 04:58:05 -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 1sKwZO-0006a2-P7 for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2024 04:58:03 -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 1sKwZO-000288-HZ for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2024 04:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sKwZO-0000W7-6a for bug-gnu-emacs@gnu.org; Sat, 22 Jun 2024 04:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Jun 2024 08:58:02 +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.17190466731971 (code B ref 71646); Sat, 22 Jun 2024 08:58:02 +0000 Original-Received: (at 71646) by debbugs.gnu.org; 22 Jun 2024 08:57:53 +0000 Original-Received: from localhost ([127.0.0.1]:44383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKwZF-0000Vj-0E for submit@debbugs.gnu.org; Sat, 22 Jun 2024 04:57:53 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKwZC-0000VU-E8 for 71646@debbugs.gnu.org; Sat, 22 Jun 2024 04:57:51 -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 1sKwZ7-00026B-7d; Sat, 22 Jun 2024 04:57:45 -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=8dXrWzwShe37z6XHWB7faxF8XeKBUPRrMJSrg1O9MRY=; b=o47kuXQEGNN+d/ICzBRf 3lfGIcUXYd7DtNfOge13Tx3Kt0hfmrFhwmQdxFlrngqJh/t3WmbjenKSyqDQdhpIhl/zNTtQSoUYj cOgDTDteywVhksHa95VTNvNN0DdWAwkS4tBCMZDYsC2Slk2PQ7UbWc+4Eh2nSy8hrJpXXH64nPo1T ixAXgp3snMqGg9xGaZpRcW7MyIjspio866PUnPDRIEOLPGPEci2H7kTDoeJwFCqdryVMqi2ufJoxG mDU8vfHYjqbowYhCVm4aACU/bUxU6V1GAnIOSpyCbwMPEHGlwLfdF8fMmgV/fG4607ROE6fb9wO0I 7MFpw/yq6gGNVw==; In-Reply-To: <1EF9E019-2554-402F-8E9F-77AF2D9B4828@bulsara.com> (message from Mike Woolley on Wed, 19 Jun 2024 11:44:52 +0100) 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:287675 Archived-At: > 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?