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, 17 Aug 2024 11:21:33 +0300 Message-ID: <86ikvz4l0y.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> <86y15csoxd.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="8929"; 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 Aug 17 10:22:56 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 1sfEi8-0002AK-1W for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Aug 2024 10:22:56 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfEhn-0007kF-4z; Sat, 17 Aug 2024 04:22:35 -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 1sfEhl-0007jy-R3 for bug-gnu-emacs@gnu.org; Sat, 17 Aug 2024 04:22:33 -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 1sfEhc-0003sb-07 for bug-gnu-emacs@gnu.org; Sat, 17 Aug 2024 04:22:33 -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=0HiY1d+8bioO59LvivQOC1tFUJ4Z1opoEyh0Du1LIN0=; b=E1kRJEyPTuvLHMjAgp80UkpJQuc8wRtVB8fLS1WJgZAl8NgtqLT5tXpP6Nw0qySkXPbyn7idCRM9AkKivm8BoJpVy1iE4Hsu+NPpY4WTh0u5ZkCg+1r0rkomdgNzYF8RkxhdxDUu6c+g4mK13plvIF0/2hJiBgU2p17v8LcgRrFPb2ipRWW0Vby1lMcf48aJv1id1uynUgKJwocYW19ueklyAFtj9iZUsGuas36hP4835QQg87He2HTZSBlLxXHT8IaU3ELNNBsWqKLzUHnvhJ3tDZ8WgZbxWA3zCGxJgMAd1Y8ng7eJqosSCD38kfDbt5gssAcDGWmdEgaL67sskg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sfEiE-0000i9-KE for bug-gnu-emacs@gnu.org; Sat, 17 Aug 2024 04:23: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, 17 Aug 2024 08:23: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.17238829412648 (code B ref 71646); Sat, 17 Aug 2024 08:23:02 +0000 Original-Received: (at 71646) by debbugs.gnu.org; 17 Aug 2024 08:22:21 +0000 Original-Received: from localhost ([127.0.0.1]:53416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfEhY-0000ge-Uh for submit@debbugs.gnu.org; Sat, 17 Aug 2024 04:22:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfEhX-0000gS-St for 71646@debbugs.gnu.org; Sat, 17 Aug 2024 04:22:20 -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 1sfEgp-0003nV-3N; Sat, 17 Aug 2024 04:21:35 -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=0HiY1d+8bioO59LvivQOC1tFUJ4Z1opoEyh0Du1LIN0=; b=p/Z09j02JzwvjpjKw3Ac J6nYMwKmWcQXyRo/ZlF09R83/it0cVv2jvif0NlR3aysY9qwl0q8aeOxIOyVtd9pMWEU7La5WOIvI aEdzQWbAZwFc4qCtUO3vXm8b/uiUV0wTA0+eMPhr6lMqpBzhpEJGLqG13h3wWRhDaCwXGvhR6frhd lS0511Um7aUwSRB9QqefP7IugWE3uJd6IcKDgBLY9tlb2cJzsrQcgVuKg9jrDyy8kyTk2J2BzqZjZ CHJjV8Ut0x4NKj/PeO9Y3URqcOwustnBePDN3kPBtOrT9HfxVE4anHhw1NuWybqH10R0y7BBW45zp qTi2IlUj8u4WDA==; In-Reply-To: <86y15csoxd.fsf@gnu.org> (message from Eli Zaretskii on Sun, 04 Aug 2024 10:54:54 +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:290230 Archived-At: Ping! > Cc: 71646@debbugs.gnu.org > Date: Sun, 04 Aug 2024 10:54:54 +0300 > From: Eli Zaretskii > > 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'? > > > >