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: Sun, 04 Aug 2024 10:54:54 +0300 Message-ID: <86y15csoxd.fsf@gnu.org> References: <1EF9E019-2554-402F-8E9F-77AF2D9B4828@bulsara.com> <86iky1icc8.fsf@gnu.org> <86ed8755r4.fsf@gnu.org> <87jzhy3oda.fsf@yahoo.com> <868qxwe6za.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="28746"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71646@debbugs.gnu.org To: luangruo@yahoo.com, Mike Woolley Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 04 09:56:00 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 1saW5v-0007Fe-Im for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Aug 2024 09:55:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1saW5h-0005dt-6T; Sun, 04 Aug 2024 03:55:45 -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 1saW5d-0005cp-UP for bug-gnu-emacs@gnu.org; Sun, 04 Aug 2024 03:55:41 -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 1saW5d-0003gV-Jb for bug-gnu-emacs@gnu.org; Sun, 04 Aug 2024 03:55:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=jxfIOtq+FZlZ6imCjRXOhOkcC9jw9G6J2HuSQMSI2RM=; b=KULhyaaQcKkZI7suNkfx9vYVhcGtKNvjDYqgBowSbjK2DQczafvy7GgNxDFUEhtflq5Ogll7hVHid0WdHZ+7+qLdt4Qv46tdG12WY2jj35OeUA6DkJ42mOW27RvUu9KK7nP+F6C3PEDjI2XSputsZYGADRe7itkCRgjAIxoFuPH48jWw4qwDj/PObw1X72kxthTRSzeF8Qf6DMqf7JZHWMaSaL/HwG+JktriQi0jwX7t24pCJ4AV8r9EHHkmq3l4us47MiI6n29b9CObqAfMNgum9a7MyyokTXxIXBVrXNuIA067p45cwnv181n+TxIp+Kt5cCpnkAILMSF038GEdw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1saW5y-000516-Bs for bug-gnu-emacs@gnu.org; Sun, 04 Aug 2024 03:56: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: Sun, 04 Aug 2024 07:56: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.172275812519188 (code B ref 71646); Sun, 04 Aug 2024 07:56:02 +0000 Original-Received: (at 71646) by debbugs.gnu.org; 4 Aug 2024 07:55:25 +0000 Original-Received: from localhost ([127.0.0.1]:55384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saW5M-0004zO-Jf for submit@debbugs.gnu.org; Sun, 04 Aug 2024 03:55:25 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saW5K-0004yr-OS for 71646@debbugs.gnu.org; Sun, 04 Aug 2024 03:55:23 -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 1saW4u-0003Rc-E8; Sun, 04 Aug 2024 03:54:56 -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=jxfIOtq+FZlZ6imCjRXOhOkcC9jw9G6J2HuSQMSI2RM=; b=pmg98FzYXb5QXkxDFDN7 0H80P0WyVH5e7A2qgICNC6Z/WdC+HimKd7W6/5OBLUtPPGYt48B9Xkid53ZGJHMEBniVOu85uRaVY Lw1r4dmCoCDoH6IAglK7/UjM78usF5bEz3iQrQ6M6+ZlIaS5jKDJ4RslRvrA0fdcA5yCKU3wrYEPK /x8F9suxpqKyHsRgHsl5yeIrSembowHWDFrL3R3IDvEVpajRO8SnS1Ve1jpanA3EjhCuwiRcuuQf9 YOEK4RkJ44IWAvW5l9bT6uT0iXecjYoUm0bXKkm4DxefR8C0Cn7U6RfHT6R5bq+eBappKba8fzdHq j1liMAzCto9xvA==; In-Reply-To: (message from Mike Woolley on Sat, 20 Jul 2024 11:10:15 +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:289719 Archived-At: Po Lu, how can we make some progress here? > From: Mike Woolley > Date: Sat, 20 Jul 2024 11:10:15 +0100 > Cc: Po Lu , > 71646@debbugs.gnu.org > > Sorry Eli, > > I had replied, but forgot to CC the list :-) > > What I was saying was: of course I can remove the bindings from the map myself (& indeed that’s what I've > done), but my point is why should I have to? > Why is a feature that’s turned off still having an effect? I think this is unnecessary and surprising to users (at > least it was to me)! > > I was thinking this paging animation feature might be better as it’s own minor mode, which would do the right > thing with keymaps and is how the other features in the same file are implemented? > > Thanks, > Mike > > On 20 Jul 2024, at 10:40, Eli Zaretskii wrote: > > 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'?