Subject: bug#38007: scroll-lock binding on Windows

From: Juanma Barranquero <[email-masked]>
Date: Thu, 31 Oct 2019 23:59:45 +0100

On Thu, Oct 31, 2019 at 7:07 PM Eli Zaretskii <[email-masked]> wrote:

> > Shouldn't the binding be to [scroll] on Windows?
>
> Yes, I think so.

OK. I see three ways:

- Something like this in bindings.el:

(define-key global-map (if (eq system-type 'windows-nt) [scroll]
[Scroll_Lock]) 'scroll-lock-mode)

- Leave bindings.el as is and rebind the command to [scroll] in
lisp/term/w32-win.el,

- Or use some of the translation keymaps to translate [scroll] into
[Scroll_Lock].

Which one makes more sense?