From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.bugs Subject: bug#51210: Customizable other-window-for-scrolling Date: Thu, 14 Oct 2021 19:37:20 +0200 Message-ID: <87fst3cxtb.fsf@miha-pc> References: <878ryvh6bz.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38799"; mail-complaints-to="usenet@ciao.gmane.io" To: Juri Linkov , 51210@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 14 19:34:47 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 1mb4cv-0009rc-Js for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Oct 2021 19:34:45 +0200 Original-Received: from localhost ([::1]:52296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mb4ct-0006jE-DX for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Oct 2021 13:34:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mb4cE-0006iq-Rs for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2021 13:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53702) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mb4cE-0003ZP-J2 for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2021 13:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mb4cE-0006w9-GQ for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2021 13:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Oct 2021 17:34: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.163423282326638 (code B ref 51210); Thu, 14 Oct 2021 17:34:02 +0000 Original-Received: (at 51210) by debbugs.gnu.org; 14 Oct 2021 17:33:43 +0000 Original-Received: from localhost ([127.0.0.1]:37015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mb4bv-0006vZ-4T for submit@debbugs.gnu.org; Thu, 14 Oct 2021 13:33:43 -0400 Original-Received: from kamnitnik.top ([209.250.245.214]:37766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mb4br-0006vQ-NQ for 51210@debbugs.gnu.org; Thu, 14 Oct 2021 13:33:41 -0400 Original-Received: from localhost (BSN-77-156-43.static.siol.net [193.77.156.43]) by kamnitnik.top (Postfix) with ESMTPSA id 35D0C9CFA8; Thu, 14 Oct 2021 17:33:38 +0000 (UTC) In-Reply-To: <878ryvh6bz.fsf@mail.linkov.net> 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:217245 Archived-At: 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.