GNU bug report logs - #38007
scroll-lock binding on Windows

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Thu, 31 Oct 2019 17:48:01 UTC

Severity: normal

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 38007 <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 38007 <at> debbugs.gnu.org
Subject: Re: bug#38007: scroll-lock binding on Windows
Date: Thu, 31 Oct 2019 23:59:45 +0100
[Message part 1 (text/plain, inline)]
On Thu, Oct 31, 2019 at 7:07 PM Eli Zaretskii <eliz <at> 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?
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 161 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.