From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#38007: scroll-lock binding on Windows Date: Thu, 31 Oct 2019 18:46:43 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000dd07df0596387099" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="415"; mail-complaints-to="usenet@blaine.gmane.org" To: 38007@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 31 18:48:22 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iQEYX-0018Dw-BZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 Oct 2019 18:48:21 +0100 Original-Received: from localhost ([::1]:53120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQEYV-0001xY-NJ for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 Oct 2019 13:48:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51345) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQEYG-0001un-KN for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2019 13:48:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iQEYF-0007PZ-KR for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2019 13:48:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45435) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iQEYF-0007PP-Hb for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2019 13:48:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iQEYF-0001zA-B6 for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2019 13:48:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Oct 2019 17:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38007 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Bug-Gnu-Emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.15725440547308 (code B ref -1); Thu, 31 Oct 2019 17:48:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 31 Oct 2019 17:47:34 +0000 Original-Received: from localhost ([127.0.0.1]:54256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQEXm-0001tg-87 for submit@debbugs.gnu.org; Thu, 31 Oct 2019 13:47:34 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:60600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQEXj-0001sK-Hq for submit@debbugs.gnu.org; Thu, 31 Oct 2019 13:47:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51224) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQEXh-0001or-Io for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2019 13:47:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iQEXc-0006y3-11 for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2019 13:47:26 -0400 Original-Received: from mail-qk1-x730.google.com ([2607:f8b0:4864:20::730]:33564) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iQEXb-0006wy-IU for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2019 13:47:23 -0400 Original-Received: by mail-qk1-x730.google.com with SMTP id 71so7937097qkl.0 for ; Thu, 31 Oct 2019 10:47:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=mt+5GiLoTZRSXvpsUULP1dHSf8dFxRMSx0cO8Kc4djA=; b=WaMbq+gX4Lsr0url1N0prhkTYEGhkdl8DGxGFAs8zjJb5NSBAKCMhxPiDpHynEWu1O aNOUxANWfKUCVXqE+Lz9m2VXYOcluwWVxMqzYMTicnO7FoE05M9PawiT5FX9LSE1apPP iiSYjhe5uNjKq5QwJemTA69JfZBu5yfi8tafNofyKouUkuZghfUMwDV+XAt2A8AbfGPh +ZWzlng5EiKBEd+Jc/B6j7LgT4PfoIUlF4Y0Zs+AWSw5EPtXJD6yRX0ELTngIeTyab7n gVL+xcO7Rjf1RCUg1qQ2F5+G782sTg9dcCOV6dgnG+L6mU6Zv69ZXbyKJu46CWbD4K65 y56A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=mt+5GiLoTZRSXvpsUULP1dHSf8dFxRMSx0cO8Kc4djA=; b=sNJtt89tXrrZ8PXEKdBFjfwNW81ziAL8jEBMn30XnpxYB/Aou5ehEKEORH3HXO+Lnr JrJiXLfghenol0Mk+QyqsN/v5WTN4JxvszSyDp7zjw7xAJZ4KqeDidQx2W/7O9Zqbeun 08O6yVANyQkqlzwAxDvco4vFHVBuy0SFkGDehVe/J0pbgEuTR84H3uwo0yfgagS8WZQf ye9NHbFjknAMlMPMFCkYGFOZz+uneAugPUQ/gv0/biQxmtXLwoqfyJqJ4zFW8EOXN6O7 IEJ2IfKSMsTwwC5V2lVhMHSbUJ6fg3OkXLmQLnlLd7Ad77KW78oD+IFm0FKI5LHtenrA cdGQ== X-Gm-Message-State: APjAAAUkHwINMNnE8njpgxmk/dX+ISvwWF0BRD1L1TD1tHwNXbM4Vd7G w6y/CEVqRsrCSiRp43xagD+w7zUQBQfwzvBkAXnCwJiI X-Google-Smtp-Source: APXvYqyFSihqMyj09UByi0YalUfYv/Fff/nNkZBdTwmceNFv3zxpljaiDxQQ+SeYNeU5DnWV8RZWP/9E9eSMp4pedVU= X-Received: by 2002:a05:620a:a91:: with SMTP id v17mr1175783qkg.281.1572544039420; Thu, 31 Oct 2019 10:47:19 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:170546 Archived-At: --000000000000dd07df0596387099 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable This is with 27.0.50, on Windows 10. The binding of scroll-lock-mode on binding.el is: (define-key global-map [Scroll_Lock] 'scroll-lock-mode) and the docstring of scroll-lock-mode says: Note that the default key binding to Scroll_Lock will not work on MS-Windows systems if =E2=80=98w32-scroll-lock-modifier=E2=80=99 is non-n= il. And the default value of w32-scroll-lock-modifier is nil: w32-scroll-lock-modifier is a variable defined in =E2=80=98C source code= =E2=80=99. Its value is nil But the Scroll Lock key does not generate a Scroll_Lock event, but scroll: is undefined Shouldn't the binding be to [scroll] on Windows? --000000000000dd07df0596387099 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This is with 27.0.50, on Windows 10.

The binding of= scroll-lock-mode on binding.el is:

=C2=A0 (define-key g= lobal-map [Scroll_Lock] =C2=A0 =C2=A0'scroll-lock-mode)
<= br>
and the docstring of scroll-lock-mode says:

=C2=A0 Note that the default key binding to Scroll_Lock will not wo= rk on
=C2=A0 MS-Windows systems if =E2=80=98w32-scroll-lock-modifier=E2= =80=99 is non-nil.

And the default value of w3= 2-scroll-lock-modifier is nil:

=C2=A0 w32-scroll-l= ock-modifier is a variable defined in =E2=80=98C source code=E2=80=99.
= =C2=A0 Its value is nil

But the Scroll Lock key does not = generate a Scroll_Lock event, but scroll:

=C2=A0 &= lt;scroll> is undefined

Shouldn't the bindi= ng be to [scroll] on Windows?

--000000000000dd07df0596387099--