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

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

bug#38007: scroll-lock binding on Windows


From: Juanma Barranquero
Subject: bug#38007: scroll-lock binding on Windows
Date: Thu, 31 Oct 2019 23:59:45 +0100

On Thu, Oct 31, 2019 at 7:07 PM Eli Zaretskii <eliz@gnu.org> 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?

reply via email to

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