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#51210: Customizable other-window-for-scrolling Date: Thu, 14 Oct 2021 21:04:01 +0300 Message-ID: <831r4nlbzi.fsf@gnu.org> References: <878ryvh6bz.fsf@mail.linkov.net> <87fst3cxtb.fsf@miha-pc> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36182"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51210@debbugs.gnu.org, juri@linkov.net To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 14 20:05:32 2021 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 1mb56h-00095x-6U for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Oct 2021 20:05:31 +0200 Original-Received: from localhost ([::1]:54380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mb56e-0003F5-Qm for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Oct 2021 14:05:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mb56E-0003Eq-4z for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2021 14:05:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53746) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mb56D-00062V-RL for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2021 14:05:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mb56D-0007kp-KU for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2021 14:05: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: Thu, 14 Oct 2021 18:05:01 +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.163423465529748 (code B ref 51210); Thu, 14 Oct 2021 18:05:01 +0000 Original-Received: (at 51210) by debbugs.gnu.org; 14 Oct 2021 18:04:15 +0000 Original-Received: from localhost ([127.0.0.1]:37059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mb55S-0007jk-Sd for submit@debbugs.gnu.org; Thu, 14 Oct 2021 14:04:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mb55O-0007jT-2r for 51210@debbugs.gnu.org; Thu, 14 Oct 2021 14:04:13 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56836) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mb55I-0002de-LQ; Thu, 14 Oct 2021 14:04:04 -0400 Original-Received: from [87.69.77.57] (port=2241 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mb55I-0008KH-8v; Thu, 14 Oct 2021 14:04:04 -0400 In-Reply-To: <87fst3cxtb.fsf@miha-pc> (jakanakaevangeli@chiru.no) 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:217253 Archived-At: > From: > Date: Thu, 14 Oct 2021 19:37:20 +0200 > > Juri Linkov writes: > > > Often scroll-other-window uses a wrong window for scrolling > > when there are more than 2 windows on the frame. > > > > Maybe like there is a variable other-window-scroll-buffer, > > it would be nice to add a new user option > > other-window-for-scrolling-function that will return > > a window for scrolling. > > +1. I often have multiple frames with only one window, so it would be > useful to customize this proposed variable to a function that returns a > window on a different frame if there is only one window on the current > frame. Wouldn't it be easier to add a new command scroll-other-frame?