I don't think we can. When either command is called, repeat-mode
activates the keymap so that you can press [ or ] to repeat the command.
If we used the remap mechanism instead, you would have to repeat the
whole sequence, which defeats the purpose of repeat-mode. That said, if
one were to use some other key binding, it wouldn't get in the way, but
you would be able to press [ and ] next anyway to repeat the command.
(define-key map [remap forward-page] #'logos-forward-page-dwim)
(define-key map [remap backward-page] #'logos-backward-page-dwim)
Not sure if repeat-mode has any special requirement in this regard.
All the best,
Protesilaos (or simply "Prot")
++(put #'logos-forward-page-dwim 'repeat-map 'logos-repeat-map)+(put #'logos-backward-page-dwim 'repeat-map 'logos-repeat-map)+(define-minor-mode logos-focus-mode
"Buffer-local mode for focused editing.
When enabled it sets the buffer-local value of these user