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, 20 Jul 2024 12:40:57 +0300 Message-ID: <868qxwe6za.fsf@gnu.org> References: <1EF9E019-2554-402F-8E9F-77AF2D9B4828@bulsara.com> <86iky1icc8.fsf@gnu.org> <86ed8755r4.fsf@gnu.org> <87jzhy3oda.fsf@yahoo.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="22223"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71646@debbugs.gnu.org To: mike@bulsara.com, Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 20 11:42:17 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 1sV6bY-0005b7-PS for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Jul 2024 11:42:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sV6bL-0001vL-AH; Sat, 20 Jul 2024 05:42:03 -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 1sV6bJ-0001vC-Vd for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2024 05:42:01 -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 1sV6bJ-0001af-GX for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2024 05:42:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sV6bJ-0007wr-IW for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2024 05:42: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, 20 Jul 2024 09:42: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.172146847230486 (code B ref 71646); Sat, 20 Jul 2024 09:42:01 +0000 Original-Received: (at 71646) by debbugs.gnu.org; 20 Jul 2024 09:41:12 +0000 Original-Received: from localhost ([127.0.0.1]:51732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sV6aV-0007ve-Mz for submit@debbugs.gnu.org; Sat, 20 Jul 2024 05:41:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sV6aU-0007vQ-1E for 71646@debbugs.gnu.org; Sat, 20 Jul 2024 05:41:10 -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 1sV6aO-0001Yk-Cb; Sat, 20 Jul 2024 05:41:04 -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=qrUj/Vx59fz/ZuKJUkGueHwIe6cM3fsjwosClDvk1R4=; b=Wqe1R7ys8ADHj6HSTLVF QLCXXZUVbQiuFymgUZyQQv0EmIe1JhMu86oK7IdhRh3iN+QjHCOBfW6Nw1zaNRyII5901EvnxvDi0 7qRu+fCauH7EUE5Lan0nFWU8mQAAFqqYQBy3IDWrHjtxv3NNFdIxxeEXK5NxFdNB9ontRSG6CHgb0 wzYcc3LDXuR2AVR1Uf9dYvZLHD1lQVQXV+dPD0ktcAgoxR/xAHJXk9WNuPhB/Fqd0Yb27suBfa5yi 4LpmI6mbUdgSycL8OrOwTs7vsvR1Rgl2viW5I3grEr3wFJjE/v7dQk6XkhFrf8kXRsLuJdBw8iYFm t7Q4aUVEH/nvww==; In-Reply-To: <87jzhy3oda.fsf@yahoo.com> (message from Po Lu on Sat, 06 Jul 2024 16:40:01 +0800) 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:289022 Archived-At: Ping! Mike, can you answer Po Lu's question, please? > From: Po Lu > Cc: mike@bulsara.com, 71646@debbugs.gnu.org > Date: Sat, 06 Jul 2024 16:40:01 +0800 > > Eli Zaretskii writes: > > > 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? > > Mike, is there any reason in particular you cannot remove the bindings > of `prior' and `next' from `pixel-scroll-precision-mode-map'? >