[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20236: 25.0.50; Feature Request: scroll-other-window does not allow
From: |
Lars Ingebrigtsen |
Subject: |
bug#20236: 25.0.50; Feature Request: scroll-other-window does not allow setting of scroll function |
Date: |
Fri, 03 Dec 2021 17:05:42 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Juri Linkov <juri@linkov.net> writes:
> Oh, wait a sec. Maybe remapping is sufficient.
>
> And indeed, everything is achievable with just:
>
> (with-eval-after-load 'follow
> (define-key follow-mode-map [remap scroll-up-command] #'follow-scroll-up)
> (define-key follow-mode-map [remap scroll-down-command]
> #'follow-scroll-down)
Hm... perhaps scroll-other-window could look into that other window and
see whether scroll-{up,down}-command is remapped there, and then use
that function? Then we wouldn't have to introduce anything new, really.
(But just fix the keymaps in affected modes.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no