From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#51210: Customizable other-window-for-scrolling Date: Tue, 04 Jan 2022 10:38:41 +0200 Organization: LINKOV.NET Message-ID: <86o84revzi.fsf@mail.linkov.net> References: <878ryvh6bz.fsf@mail.linkov.net> <861r1v1foe.fsf@mail.linkov.net> <96d50c26-ea56-5ff6-3cc3-25652d744ca4@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8828"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: 51210@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 04 09:46:14 2022 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 1n4fSQ-00023a-33 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Jan 2022 09:46:14 +0100 Original-Received: from localhost ([::1]:57082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4fSO-00044O-6A for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Jan 2022 03:46:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4fSE-00043p-H8 for bug-gnu-emacs@gnu.org; Tue, 04 Jan 2022 03:46:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53693) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4fSE-0006Iw-7K for bug-gnu-emacs@gnu.org; Tue, 04 Jan 2022 03:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4fSE-0008N3-6p for bug-gnu-emacs@gnu.org; Tue, 04 Jan 2022 03:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Jan 2022 08:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51210 X-GNU-PR-Package: emacs Original-Received: via spool by 51210-submit@debbugs.gnu.org id=B51210.164128590632099 (code B ref 51210); Tue, 04 Jan 2022 08:46:02 +0000 Original-Received: (at 51210) by debbugs.gnu.org; 4 Jan 2022 08:45:06 +0000 Original-Received: from localhost ([127.0.0.1]:37005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4fRK-0008Le-FT for submit@debbugs.gnu.org; Tue, 04 Jan 2022 03:45:06 -0500 Original-Received: from relay10.mail.gandi.net ([217.70.178.230]:46305) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4fRG-0008Kb-5r for 51210@debbugs.gnu.org; Tue, 04 Jan 2022 03:45:04 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by relay10.mail.gandi.net (Postfix) with ESMTPSA id E823D240008; Tue, 4 Jan 2022 08:44:54 +0000 (UTC) In-Reply-To: <96d50c26-ea56-5ff6-3cc3-25652d744ca4@gmx.at> (martin rudalics's message of "Fri, 31 Dec 2021 10:11:53 +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" Xref: news.gmane.io gmane.emacs.bugs:223632 Archived-At: >>> Maybe a variable 'other-window-scroll-window' whose value could be a >>> function to get that window. >> >> Since there is already the word "window" in the function name, >> maybe better would be 'other-window-scroll-default' that hints >> that it overrides the default that is the next window: > > Since we already have 'other-window-scroll-buffer' this might be > confusing. It's named intentionally to be similar with 'other-window-scroll-buffer'. > And shouldn't a window, if specified, override a specified buffer? Its purpose is to override only the part that hard-codes 'next-window'. > BTW I think we should move 'other-window-for-scrolling' to > window.el - all it does is call Lisp primitives. And turn > scroll_command into 'Fscroll_command' (or, better 'Fscroll_window') so > things like 'scroll-down' (or, better 'scroll-window-down') and > 'scroll-other-window-down' could end up in window.el too. But maybe I'm > missing some important detail. I agree it would be nice to move scrolling commands to Lisp.