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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Juanma Barranquero <lekktu@HIDDEN>; dated Thu, 31 Oct 2019 17:48:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 38007 <at> debbugs.gnu.org:


Received: (at 38007) by debbugs.gnu.org; 31 Oct 2019 18:07:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 31 14:07:21 2019
Received: from localhost ([127.0.0.1]:54284 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iQEqu-0004Sg-Op
	for submit <at> debbugs.gnu.org; Thu, 31 Oct 2019 14:07:21 -0400
Received: from eggs.gnu.org ([209.51.188.92]:45146)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1iQEqt-0004SR-Kk
 for 38007 <at> debbugs.gnu.org; Thu, 31 Oct 2019 14:07:20 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:58331)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1iQEqo-0004bq-IP; Thu, 31 Oct 2019 14:07:14 -0400
Received: from [176.228.60.248] (port=3539 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1iQEqm-0003gh-J0; Thu, 31 Oct 2019 14:07:13 -0400
Date: Thu, 31 Oct 2019 20:07:09 +0200
Message-Id: <83zhhgn60i.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juanma Barranquero <lekktu@HIDDEN>
In-reply-to: <CAAeL0SSWgMOM0AKz+S7uT+j6=e5wrWO7UQ8TW2cxV4zxgw143Q@HIDDEN>
 (message from Juanma Barranquero on Thu, 31 Oct 2019 18:46:43 +0100)
Subject: Re: bug#38007: scroll-lock binding on Windows
References: <CAAeL0SSWgMOM0AKz+S7uT+j6=e5wrWO7UQ8TW2cxV4zxgw143Q@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 38007
Cc: 38007 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Juanma Barranquero <lekktu@HIDDEN>
> Date: Thu, 31 Oct 2019 18:46:43 +0100
> 
> Shouldn't the binding be to [scroll] on Windows?

Yes, I think so.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#38007; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 31 Oct 2019 17:47:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 31 13:47:34 2019
Received: from localhost ([127.0.0.1]:54256 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iQEXm-0001tg-87
	for submit <at> debbugs.gnu.org; Thu, 31 Oct 2019 13:47:34 -0400
Received: from lists.gnu.org ([209.51.188.17]:60600)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <lekktu@HIDDEN>) id 1iQEXj-0001sK-Hq
 for submit <at> debbugs.gnu.org; Thu, 31 Oct 2019 13:47:33 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:51224)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <lekktu@HIDDEN>) id 1iQEXh-0001or-Io
 for bug-gnu-emacs@HIDDEN; Thu, 31 Oct 2019 13:47:31 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 HTML_MESSAGE autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <lekktu@HIDDEN>) id 1iQEXc-0006y3-11
 for bug-gnu-emacs@HIDDEN; Thu, 31 Oct 2019 13:47:26 -0400
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 <lekktu@HIDDEN>) id 1iQEXb-0006wy-IU
 for bug-gnu-emacs@HIDDEN; Thu, 31 Oct 2019 13:47:23 -0400
Received: by mail-qk1-x730.google.com with SMTP id 71so7937097qkl.0
 for <bug-gnu-emacs@HIDDEN>; 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)
MIME-Version: 1.0
From: Juanma Barranquero <lekktu@HIDDEN>
Date: Thu, 31 Oct 2019 18:46:43 +0100
Message-ID: <CAAeL0SSWgMOM0AKz+S7uT+j6=e5wrWO7UQ8TW2cxV4zxgw143Q@HIDDEN>
Subject: scroll-lock binding on Windows
To: Bug-Gnu-Emacs <bug-gnu-emacs@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000dd07df0596387099"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2607:f8b0:4864:20::730
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--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:

  <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

<div dir=3D"ltr">This is with 27.0.50, on Windows 10.<br><br>The binding of=
 scroll-lock-mode on binding.el is:<div><br></div><div>=C2=A0 (define-key g=
lobal-map [Scroll_Lock] =C2=A0 =C2=A0&#39;scroll-lock-mode)<br></div><div><=
br></div><div>and the docstring of scroll-lock-mode says:</div><div><br></d=
iv><div>=C2=A0 Note that the default key binding to Scroll_Lock will not wo=
rk on<br>=C2=A0 MS-Windows systems if =E2=80=98w32-scroll-lock-modifier=E2=
=80=99 is non-nil.<br></div><div><br></div><div>And the default value of w3=
2-scroll-lock-modifier is nil:</div><div><br></div><div>=C2=A0 w32-scroll-l=
ock-modifier is a variable defined in =E2=80=98C source code=E2=80=99.<br>=
=C2=A0 Its value is nil<br><br></div><div>But the Scroll Lock key does not =
generate a Scroll_Lock event, but scroll:</div><div><br></div><div>=C2=A0 &=
lt;scroll&gt; is undefined</div><div><br></div><div>Shouldn&#39;t the bindi=
ng be to [scroll] on Windows?</div><div><br></div></div>

--000000000000dd07df0596387099--




Acknowledgement sent to Juanma Barranquero <lekktu@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#38007; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 31 Oct 2019 18:15:02 UTC

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