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: Thu, 14 Oct 2021 21:45:08 +0300 Organization: LINKOV.NET Message-ID: <87r1cncuob.fsf@mail.linkov.net> References: <878ryvh6bz.fsf@mail.linkov.net> <8335p3ldi2.fsf@gnu.org> <87lf2vfpz5.fsf@mail.linkov.net> <83zgrbjxb2.fsf@gnu.org> <874k9jea2b.fsf@mail.linkov.net> <83y26vjvvc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6168"; 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: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 14 20:48:09 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 1mb5lx-0001RC-Tn for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Oct 2021 20:48:09 +0200 Original-Received: from localhost ([::1]:41762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mb5lw-00088W-1K for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Oct 2021 14:48:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38168) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mb5lq-00088H-Ge for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2021 14:48:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53793) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mb5lq-0003Xh-8U for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2021 14:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mb5lp-0000Qf-SL for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2021 14:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Oct 2021 18:48: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.16342372241443 (code B ref 51210); Thu, 14 Oct 2021 18:48:01 +0000 Original-Received: (at 51210) by debbugs.gnu.org; 14 Oct 2021 18:47:04 +0000 Original-Received: from localhost ([127.0.0.1]:37106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mb5ku-0000ND-Er for submit@debbugs.gnu.org; Thu, 14 Oct 2021 14:47:04 -0400 Original-Received: from relay5-d.mail.gandi.net ([217.70.183.197]:44761) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mb5ko-0000Mf-V2 for 51210@debbugs.gnu.org; Thu, 14 Oct 2021 14:47:02 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id AE9661C0002; Thu, 14 Oct 2021 18:46:51 +0000 (UTC) In-Reply-To: <83y26vjvvc.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 14 Oct 2021 21:37:27 +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" Xref: news.gmane.io gmane.emacs.bugs:217259 Archived-At: > The advantage of having separate commands is that users can then have > several behaviors at once. By contrast, a single customizable > variable can provide only one of the possible behaviors. Not everyone > wants only ever scroll the most-recently-used window or the single > window on another frame, some of the users might want sometimes to > scroll next-window, sometimes the most-recently-used one, and > sometimes the one on the other frame. > > And it isn't like it would be hard to write those few commands, it > should be almost trivial. Not harder than writing those functions to > return the window you want, anyway. If you want to write such commands, still it would be much easier to implement them using the new variable, e.g. (defun scroll-mru-window () (interactive) (let ((other-window-scroll-window 'get-mru-window) (scroll-other-window))))