bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#51210: Customizable other-window-for-scrolling


From: Eli Zaretskii
Subject: bug#51210: Customizable other-window-for-scrolling
Date: Thu, 14 Oct 2021 21:52:43 +0300

> From: Juri Linkov <juri@linkov.net>
> Cc: 51210@debbugs.gnu.org
> Date: Thu, 14 Oct 2021 21:45:08 +0300
> 
> > 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))))

Of course!  All I'm saying is let's not limit ourselves to just the
variable, as it will satisfy only some users, those who always want
only one kind of behavior regarding scrolling other windows.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]