From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 31 13:47:34 2019 Received: (at submit) by debbugs.gnu.org; 31 Oct 2019 17:47:34 +0000 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 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 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 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 ) id 1iQEXc-0006y3-11 for bug-gnu-emacs@gnu.org; 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 ) id 1iQEXb-0006wy-IU for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2019 13:47:23 -0400 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) MIME-Version: 1.0 From: Juanma Barranquero Date: Thu, 31 Oct 2019 18:46:43 +0100 Message-ID: Subject: scroll-lock binding on Windows To: Bug-Gnu-Emacs 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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: 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-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 31 14:07:21 2019 Received: (at 38007) by debbugs.gnu.org; 31 Oct 2019 18:07:21 +0000 Received: from localhost ([127.0.0.1]:54284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQEqu-0004Sg-Op for submit@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 ) id 1iQEqt-0004SR-Kk for 38007@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 ) 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 ) 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@gnu.org> From: Eli Zaretskii To: Juanma Barranquero In-reply-to: (message from Juanma Barranquero on Thu, 31 Oct 2019 18:46:43 +0100) Subject: Re: bug#38007: scroll-lock binding on Windows References: 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Juanma Barranquero > Date: Thu, 31 Oct 2019 18:46:43 +0100 > > Shouldn't the binding be to [scroll] on Windows? Yes, I think so. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 31 19:00:30 2019 Received: (at 38007) by debbugs.gnu.org; 31 Oct 2019 23:00:30 +0000 Received: from localhost ([127.0.0.1]:54446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQJQc-0007bM-IV for submit@debbugs.gnu.org; Thu, 31 Oct 2019 19:00:30 -0400 Received: from mail-qt1-f175.google.com ([209.85.160.175]:43309) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQJQZ-0007b5-Pe for 38007@debbugs.gnu.org; Thu, 31 Oct 2019 19:00:29 -0400 Received: by mail-qt1-f175.google.com with SMTP id c26so10745222qtj.10 for <38007@debbugs.gnu.org>; Thu, 31 Oct 2019 16:00:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=j0HS+cjVHu+B1nE+9jOs64e0NXWZmTkpPc+G/JqeEcg=; b=cRNIfoPWKB9ODKSzDvjdt7YWsl1yLgcIMV5tGzuaYn86ygM0GLrb7jptyksAJItySh rWlstvAM+AEOZPZUJL0rjhdxMVcXfv9fCICsKV4Pu9U/G71SYnNkOVIiGSuyiMeUasbV FaAk47Vft+AFSREgnYOQm08o3hZkd3pZGWcT1PUdqaki40Qt3PNgcmz2CGPbSe5/J3tZ sr30Pl+ffhinSFRXpcLHvfeXrpVl1BnPbv70SZFWzTEguForQ54D0awDgDrjaVqaUpfT 92n/EcmRzPiFaJHZ2R0JDcQfR1JVD34pk0dmxbinVa9eAFy0PbaT0zZyunz+1Hag5mxz WBZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=j0HS+cjVHu+B1nE+9jOs64e0NXWZmTkpPc+G/JqeEcg=; b=Hwmil1zanR4bJOUHpzQ975CC4zUrLxSkT+q7PUQmP3OIBwhZd0tgiYVnJJnEIa46yd YD89inO9tsKIgaL7rRTZOKNIBri/aCS0zva0zxyiWWHx+5JEm5KV/ZZ/iMcunxVzXfJU tpgPtByDlhJCV2FXA8m6J3hM15TlAosOtF5zNKVIK0M0SqWY6R1EZeJEn+TE0Yfc9ajm qKuNM8l3/x1qONMiqapH8g7SBLidlrILkMMTc/XQY89qq4g0WESZUkx40vJxAqnGLT+g Qxv0lZnZKNMsuuJkZD0ch2KJ6F8IB5BcCdMIjFYcY26H36Dq956GAQyxJ0+900Sri3Vv f1Aw== X-Gm-Message-State: APjAAAV8MN4RILRbn34ujt5lgx6BotffJtm9cFARZEuU4KYx1eD7mVyf VhJ3dpwySazTTroT60el4Zp+E2wytvDUPptaOr2CK4vG X-Google-Smtp-Source: APXvYqxPrymr7BA6YC7FWbYcZGzS8RG68P58XHzb4r7wSqG8HYPfiBMyjco1vB5rAXbslv7XOeDcWuoyFmE+RXvbRYo= X-Received: by 2002:ad4:5345:: with SMTP id v5mr7234308qvs.217.1572562821870; Thu, 31 Oct 2019 16:00:21 -0700 (PDT) MIME-Version: 1.0 References: <83zhhgn60i.fsf@gnu.org> In-Reply-To: <83zhhgn60i.fsf@gnu.org> From: Juanma Barranquero Date: Thu, 31 Oct 2019 23:59:45 +0100 Message-ID: Subject: Re: bug#38007: scroll-lock binding on Windows To: Eli Zaretskii Content-Type: multipart/alternative; boundary="000000000000627e5605963cd053" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 38007 Cc: 38007@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000627e5605963cd053 Content-Type: text/plain; charset="UTF-8" On Thu, Oct 31, 2019 at 7:07 PM Eli Zaretskii 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? --000000000000627e5605963cd053 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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:

(def= ine-key global-map (if (eq system-type 'windows-nt) [scroll] [Scroll_Lo= ck]) 'scroll-lock-mode)

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

- Or use some of the translation keymaps to translate [sc= roll] into [Scroll_Lock].

Which one makes more sen= se?
--000000000000627e5605963cd053-- From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 01 02:17:28 2019 Received: (at 38007) by debbugs.gnu.org; 1 Nov 2019 06:17:28 +0000 Received: from localhost ([127.0.0.1]:54937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQQFT-0002Bq-RS for submit@debbugs.gnu.org; Fri, 01 Nov 2019 02:17:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQQFS-0002Bd-4L for 38007@debbugs.gnu.org; Fri, 01 Nov 2019 02:17:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40371) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iQQFN-0008LE-1N; Fri, 01 Nov 2019 02:17:21 -0400 Received: from [176.228.60.248] (port=4103 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iQQFM-0007eo-GH; Fri, 01 Nov 2019 02:17:20 -0400 Date: Fri, 01 Nov 2019 08:17:24 +0200 Message-Id: <83tv7om87f.fsf@gnu.org> From: Eli Zaretskii To: Juanma Barranquero In-reply-to: (message from Juanma Barranquero on Thu, 31 Oct 2019 23:59:45 +0100) Subject: Re: bug#38007: scroll-lock binding on Windows References: <83zhhgn60i.fsf@gnu.org> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Juanma Barranquero > Date: Thu, 31 Oct 2019 23:59:45 +0100 > Cc: 38007@debbugs.gnu.org > > 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? I don't know yet, because I don't see where does Scroll_Lock come on Posix platforms. Can someone tell what did I miss? From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 13 11:50:44 2019 Received: (at 38007) by debbugs.gnu.org; 13 Nov 2019 16:50:44 +0000 Received: from localhost ([127.0.0.1]:60058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUvqu-0000lq-HG for submit@debbugs.gnu.org; Wed, 13 Nov 2019 11:50:44 -0500 Received: from mail-qv1-f44.google.com ([209.85.219.44]:43735) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUvqs-0000le-Ot for 38007@debbugs.gnu.org; Wed, 13 Nov 2019 11:50:43 -0500 Received: by mail-qv1-f44.google.com with SMTP id cg2so1075421qvb.10 for <38007@debbugs.gnu.org>; Wed, 13 Nov 2019 08:50:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0iJchjkCjfZcqGTqBgXn9ts9on5b/MMiOiFcoaMD7Mk=; b=VeTnHKbl5WIeoEsJ2TaaFM347faIc7b/NJTPkSUCoFyOpJGmpW1U11S/z+cHt4lveE PH+oKc1VNoDYiiNpDRhwwVpa1dq0AQSQ5ZTG5ZJsiYAZJ+WQzo5hSdUcA9fJaRhLeJRa LroePmouJHp2/4U84sYC4tH56eIEicN6r0ArxWsAyAy5SLqXYw0tOeaIRJmL4PXFhzcn V5E0F3Wzr5GDvu+kmw/brL/5og5MYfDLoLsGtF0D6HwWJFwfJOwv7b9lPTPl6ZNPxico ortLrUr0Bj6sCXfFd1W7VuXjs4jbIA4xEF8m/Ptu6mCREmps12DrAj2iV6qEcb2/yKCl ivbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0iJchjkCjfZcqGTqBgXn9ts9on5b/MMiOiFcoaMD7Mk=; b=as+wEIsF0twjO0BQM3PD4W79IAEY30HuHjX6HzLyfLy35YCxYK7JED8FIc/QY4yzRg G2N2YE/FwqobQWj6vVd3gQ/wTIbvcTUkb3NXJ/TzXnF0kCHqtkCHnUeUarMruKlEpQdq /2+9vTo6UZBIrzwNI+lLllgAhP+JBW87hEDA8iv5kwEM2cX0XPw4saCxD6vUxFKOqQ1X BPqBAw+DIdrJ2V69JKZIPFzawGUKszBDj4iIpQuS+HgWU1mfQU97Tb/N1M9vJXOQqdvg cUwGu5L+/l3/ZxaVoS1PgTkkMrwTCDaa+JNcLzBI4vxGeqotA/azRH11gOj2wmH+rEQx KhNQ== X-Gm-Message-State: APjAAAXmmls+b3jNt/ejmIPUywPb6ClMe8HGCNDr2qbAljo7lnZwk17p yt/S04bWKqNb3lbKtFYRbZ/zKXhnhRWvqn2pXcZeSg== X-Google-Smtp-Source: APXvYqybxFNUZqOOa89lhJFv4A4qMRv1NWUcnTNlGhrxcj49+YuTHcFemhPgAmLVlEj13ZKIT68QcozBhlhoRkjuZgc= X-Received: by 2002:a05:6214:22c:: with SMTP id j12mr3606118qvt.150.1573663836777; Wed, 13 Nov 2019 08:50:36 -0800 (PST) MIME-Version: 1.0 References: <83zhhgn60i.fsf@gnu.org> <83tv7om87f.fsf@gnu.org> In-Reply-To: <83tv7om87f.fsf@gnu.org> From: Juanma Barranquero Date: Wed, 13 Nov 2019 17:50:00 +0100 Message-ID: Subject: Re: bug#38007: scroll-lock binding on Windows To: Eli Zaretskii Content-Type: multipart/alternative; boundary="000000000000fcb1bb05973d2942" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 38007 Cc: 38007@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000fcb1bb05973d2942 Content-Type: text/plain; charset="UTF-8" On Fri, Nov 1, 2019 at 7:17 AM Eli Zaretskii wrote: > I don't know yet, because I don't see where does Scroll_Lock come on > Posix platforms. Can someone tell what did I miss? No answer after almost two weeks. Perhaps we should bring it to emacs-devel? --000000000000fcb1bb05973d2942 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Fri, Nov 1, 2019 at 7:17 AM Eli Zaretskii <<= a href=3D"mailto:eliz@gnu.org">eliz@gnu.org> wrote:

>= I don't know yet, because I don't see where does Scroll_Lock come = on
> Posix platforms.=C2=A0 Can someone tell what did I miss?

= No answer after almost two weeks. Perhaps we should bring it to emacs-devel= ?
--000000000000fcb1bb05973d2942-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 13 14:46:19 2019 Received: (at 38007) by debbugs.gnu.org; 13 Nov 2019 19:46:19 +0000 Received: from localhost ([127.0.0.1]:60192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUyao-0004vy-7R for submit@debbugs.gnu.org; Wed, 13 Nov 2019 14:46:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58233) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iUyal-0004vT-Ux for 38007@debbugs.gnu.org; Wed, 13 Nov 2019 14:46:16 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34907) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iUyad-0004N7-MO; Wed, 13 Nov 2019 14:46:07 -0500 Received: from [109.253.214.82] (port=39451 helo=[10.130.137.173]) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1iUyac-0002F5-HU; Wed, 13 Nov 2019 14:46:07 -0500 Date: Wed, 13 Nov 2019 19:46:00 +0000 User-Agent: K-9 Mail for Android In-Reply-To: References: <83zhhgn60i.fsf@gnu.org> <83tv7om87f.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: bug#38007: scroll-lock binding on Windows To: Juanma Barranquero From: Eli Zaretskii Message-ID: <94531FFE-1CDB-49AA-B2FE-9FEAAFB7C8A9@gnu.org> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On November 13, 2019 4:50:00 PM GMT, Juanma Barranquero wrote: > On Fri, Nov 1, 2019 at 7:17 AM Eli Zaretskii wrote: >=20 > > I don't know yet, because I don't see where does Scroll_Lock come on > > Posix platforms=2E Can someone tell what did I miss? >=20 > No answer after almost two weeks=2E Perhaps we should bring it to > emacs-devel? Please do, and thanks=2E From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 22 04:06:55 2019 Received: (at 38007) by debbugs.gnu.org; 22 Nov 2019 09:06:55 +0000 Received: from localhost ([127.0.0.1]:53736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iY4tz-0008OR-5u for submit@debbugs.gnu.org; Fri, 22 Nov 2019 04:06:55 -0500 Received: from mail-qk1-f182.google.com ([209.85.222.182]:32783) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iY4tw-0008OB-2B for 38007@debbugs.gnu.org; Fri, 22 Nov 2019 04:06:53 -0500 Received: by mail-qk1-f182.google.com with SMTP id c124so1201246qkg.0 for <38007@debbugs.gnu.org>; Fri, 22 Nov 2019 01:06:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tQ15Yf/hvH42/eOkLcTktZJi+H+v6KVHVR1XwuZag2M=; b=prFgxxB25+rp9Os1vEcoF9kREVb/ZDJvVOkNRIqD5YR1nuyEhGew+HD9mTHEIi1T06 c1O2mxrTkZ/yf6wlC2MUXfbo6tdb9YlS1Y8ssVAwxsThXmDE/Bkg8uf1/FV4Fzpdim03 y5CfAUffOolRLv8twObH+qGKrCcatT2vB+Mfwrp7nhWNaMX+V03jjovia3k/ZKG/5Uyd mm2vjrJ+E5B6oRgV0DMUsatFL0OEHJzageXh7KYDhblX0PH/rNxGxkTTOe6eA1Me7xMj AMsKPMQhjqdaD+zJQxfUpefgHJLPecmvXk39B8MoM0ozn8afDR8m2HkeYaGndSlaKJGx 8dTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tQ15Yf/hvH42/eOkLcTktZJi+H+v6KVHVR1XwuZag2M=; b=OhmvN1cT1+tBVOy219H3K2YTq3yddR0/O9gsDeBuelmDnu9TV9IBwOvMKLVrGjJhw3 KpgRBOSYyL6Vi4itBY2DmoZiA+FrM4XTbU5CeKtRqRiZX+AqB9Ds0UVT/rHcmNQKKJIN 9NVKuFVq6iGxEFEpNT74pZx6Cf2QqGH7M+Qx6PEiTXqQSrRT2rI7Cwe+nkhnq4Ixj1KE kdKCpOeOWxU3uD5yw5jdBO1II4xRBnZB0+q2CnlRE+RJj/GjOFlAol76INeuXy7fH/3c Sl/KMqUGowsU4q1A/byfMBC0RJCr8d5xmDcGGVPqXGtVWf8ZRDEAskwnI1LzBIRYY7N0 1g6Q== X-Gm-Message-State: APjAAAUH9wrsn4Q4GZQf0w5nstn71IApjpnh2AuhJaA3YgkQl0QRtw5r r7g88rzVarz9sxW7Z3xl5Jcx6ipHy6OOVO+anQw= X-Google-Smtp-Source: APXvYqxD7sbiFBgfndjLyMcDtWPOSmRpy/3KiNl8eawlALm8dQEJBil80sA+OX00CIi7brcApQ8ZEU9eZbjrXNXKVB8= X-Received: by 2002:a05:620a:11b1:: with SMTP id c17mr12129925qkk.496.1574413606499; Fri, 22 Nov 2019 01:06:46 -0800 (PST) MIME-Version: 1.0 References: <83zhhgn60i.fsf@gnu.org> <83tv7om87f.fsf@gnu.org> <94531FFE-1CDB-49AA-B2FE-9FEAAFB7C8A9@gnu.org> In-Reply-To: <94531FFE-1CDB-49AA-B2FE-9FEAAFB7C8A9@gnu.org> From: Juanma Barranquero Date: Fri, 22 Nov 2019 10:06:11 +0100 Message-ID: Subject: Re: bug#38007: scroll-lock binding on Windows To: Eli Zaretskii Content-Type: multipart/alternative; boundary="000000000000beb9320597ebbbed" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 38007 Cc: 38007@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000beb9320597ebbbed Content-Type: text/plain; charset="UTF-8" No answer in Emacs devel after nine days. So I'l fix it for Windows somehow. Which alternative do you prefer: - conditionally binding it to [scroll] in bindings.el according to system-type - rebinding it in term/w32-win.el, - or remapping [scroll] to [Scroll_Lock] in some special keymap (perhaps function-key-map?) --000000000000beb9320597ebbbed Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
No answer in Emacs devel after nine days.=C2=A0

So = I'l fix it for Windows somehow.

Which alternative do you prefer= :

- conditionally binding it to [scroll] in bindin= gs.el according to system-type

- rebinding it in t= erm/w32-win.el,

- or remapping [scroll] to [Scroll= _Lock] in some special keymap (perhaps function-key-map?)

--000000000000beb9320597ebbbed-- From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 22 04:16:53 2019 Received: (at 38007) by debbugs.gnu.org; 22 Nov 2019 09:16:53 +0000 Received: from localhost ([127.0.0.1]:53741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iY53d-0000Au-87 for submit@debbugs.gnu.org; Fri, 22 Nov 2019 04:16:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41951) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iY53X-0000Ad-3A for 38007@debbugs.gnu.org; Fri, 22 Nov 2019 04:16:49 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50672) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iY53S-0005NZ-0G; Fri, 22 Nov 2019 04:16:42 -0500 Received: from [176.228.60.248] (port=1088 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iY53R-0001ve-Di; Fri, 22 Nov 2019 04:16:41 -0500 Date: Fri, 22 Nov 2019 11:16:56 +0200 Message-Id: <83ftigw9rr.fsf@gnu.org> From: Eli Zaretskii To: Juanma Barranquero In-reply-to: (message from Juanma Barranquero on Fri, 22 Nov 2019 10:06:11 +0100) Subject: Re: bug#38007: scroll-lock binding on Windows References: <83zhhgn60i.fsf@gnu.org> <83tv7om87f.fsf@gnu.org> <94531FFE-1CDB-49AA-B2FE-9FEAAFB7C8A9@gnu.org> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Juanma Barranquero > Date: Fri, 22 Nov 2019 10:06:11 +0100 > Cc: 38007@debbugs.gnu.org > > - conditionally binding it to [scroll] in bindings.el according to system-type > > - rebinding it in term/w32-win.el, > > - or remapping [scroll] to [Scroll_Lock] in some special keymap (perhaps function-key-map?) The former, with a comment about the (evidently unknown) source of the Scroll_Lock "function key". Thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 22 04:45:42 2019 Received: (at 38007) by debbugs.gnu.org; 22 Nov 2019 09:45:42 +0000 Received: from localhost ([127.0.0.1]:53778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iY5VV-0000rz-MA for submit@debbugs.gnu.org; Fri, 22 Nov 2019 04:45:41 -0500 Received: from mail-qk1-f180.google.com ([209.85.222.180]:36561) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iY5VQ-0000rk-AW for 38007@debbugs.gnu.org; Fri, 22 Nov 2019 04:45:39 -0500 Received: by mail-qk1-f180.google.com with SMTP id d13so5730429qko.3 for <38007@debbugs.gnu.org>; Fri, 22 Nov 2019 01:45:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=L2qD+OtxATuNMbDX9aTIU9tYE3fj0X6ibTgJ02tDHNE=; b=CGzMhFKTELGals2lFBFduHlvL4R4XF8Z+Nk0Z7spN6rhOhPgMIdhFj9NDSQR/CeV3L 1CotmjZ1TVuBePTiqj9qkxn+/EoCE2MO5nP27Z4bk6Nlr8IuNHow+U7ih+Stl/sJkNtC /s1Epc3Y8YY181WADTyCvzR8WV5lw/kPT04m8o3CKVZFxxnkLze4jeh9oaNgRLYiEtxJ EGxZ4WW24o9w1vWZV1j0qo9OAnVJGzAv1mMV97NFTll6UEx3z016zKxli0pVDzuTNG+m YUTks0Tbq8Zf3xl8+XlkhRb+VLXWhPM5cgiFMxTLvRstS5asgTUTEyoJcaoA16zx/I0w ypzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=L2qD+OtxATuNMbDX9aTIU9tYE3fj0X6ibTgJ02tDHNE=; b=kfamCiFIu3Cbdk3kUKNweWW5Y3jiTbvmlBVtU/60NLtOLzrLX9URqwuZrdECd/pqRn xefM0U4pQtZp4MBG98DD2Y8N36a0w+pCben5XPw69PR4gMI16QUJgHkJz6QJdeLFV7c3 9SquulUx2Zz8MKY0oZ9yv2vEV0cWIbvMNclRvj1cP9IK7DxrN637cBHsx6qJPli/4nB6 uh0NA+bFQZXZO+FKoqz+kuVrC0LY/Gfkvfid1J03GTV8HggfVP+5f3HrOP6D3Q55AWip l1Hj4cfHOuIY2Vj2TaxM2ahjryMffTGT2CvBHYs60qi2aIiZ3pAa548r116CZtwnDiP/ B14w== X-Gm-Message-State: APjAAAXJywLmrHoKbpt7lvP2kVRGm5hDgUE7QA/Vy5ZdIddnsmXE0jPx LhVlhXKNKedMeHqm4mnrAJY4FRS+JAcvp2sPCgo67Odg X-Google-Smtp-Source: APXvYqxHzzQuoNJYMZI+mi8PFtc7qQOwJonc+BZVeyxWgaITLOJ/dRH4xJN9cBNdoJbMdB1u1Pj/lPcw6cuFAys7AbQ= X-Received: by 2002:a37:6794:: with SMTP id b142mr7692754qkc.216.1574415930298; Fri, 22 Nov 2019 01:45:30 -0800 (PST) MIME-Version: 1.0 References: <83zhhgn60i.fsf@gnu.org> <83tv7om87f.fsf@gnu.org> <94531FFE-1CDB-49AA-B2FE-9FEAAFB7C8A9@gnu.org> <83ftigw9rr.fsf@gnu.org> In-Reply-To: <83ftigw9rr.fsf@gnu.org> From: Juanma Barranquero Date: Fri, 22 Nov 2019 10:44:55 +0100 Message-ID: Subject: Re: bug#38007: scroll-lock binding on Windows To: Eli Zaretskii Content-Type: multipart/alternative; boundary="00000000000041198c0597ec460e" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 38007 Cc: 38007@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000041198c0597ec460e Content-Type: text/plain; charset="UTF-8" On Fri, Nov 22, 2019 at 10:16 AM Eli Zaretskii wrote: > The former, with a comment about the (evidently unknown) source of the > Scroll_Lock "function key". AFAICS, the X Window System Protocol ( https://www.x.org/releases/X11R7.6/doc/xproto/x11protocol.html) defines the keysyms as numeric codes with a conventional name, in this case #xFF14 SCROLL LOCK which is represented in /usr/include/X11/keysymdef.h as #define XK_Scroll_Lock 0xff14 but I don't know how that is converted into a keyboard event. --00000000000041198c0597ec460e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable --00000000000041198c0597ec460e-- From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 22 05:00:36 2019 Received: (at 38007) by debbugs.gnu.org; 22 Nov 2019 10:00:36 +0000 Received: from localhost ([127.0.0.1]:53798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iY5ju-0001hF-A7 for submit@debbugs.gnu.org; Fri, 22 Nov 2019 05:00:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iY5jq-0001YK-Kh for 38007@debbugs.gnu.org; Fri, 22 Nov 2019 05:00:31 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51526) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iY5jh-000587-1g; Fri, 22 Nov 2019 05:00:23 -0500 Received: from [176.228.60.248] (port=3775 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iY5jZ-0005Tf-39; Fri, 22 Nov 2019 05:00:16 -0500 Date: Fri, 22 Nov 2019 12:00:28 +0200 Message-Id: <83d0dkw7r7.fsf@gnu.org> From: Eli Zaretskii To: Juanma Barranquero In-reply-to: (message from Juanma Barranquero on Fri, 22 Nov 2019 10:44:55 +0100) Subject: Re: bug#38007: scroll-lock binding on Windows References: <83zhhgn60i.fsf@gnu.org> <83tv7om87f.fsf@gnu.org> <94531FFE-1CDB-49AA-B2FE-9FEAAFB7C8A9@gnu.org> <83ftigw9rr.fsf@gnu.org> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Juanma Barranquero > Date: Fri, 22 Nov 2019 10:44:55 +0100 > Cc: 38007@debbugs.gnu.org > > AFAICS, the X Window System Protocol (https://www.x.org/releases/X11R7.6/doc/xproto/x11protocol.html) > defines the keysyms as numeric codes with a conventional name, in this case > > #xFF14 SCROLL LOCK > > which is represented in /usr/include/X11/keysymdef.h as > > #define XK_Scroll_Lock 0xff14 > > but I don't know how that is converted into a keyboard event. Yes, the latter is the missing piece. Maybe put all of the above into that comment. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 06 22:58:39 2022 Received: (at 38007) by debbugs.gnu.org; 7 Feb 2022 03:58:39 +0000 Received: from localhost ([127.0.0.1]:40616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGvAl-0002f3-Ff for submit@debbugs.gnu.org; Sun, 06 Feb 2022 22:58:39 -0500 Received: from quimby.gnus.org ([95.216.78.240]:35386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGvAj-0002eo-CH for 38007@debbugs.gnu.org; Sun, 06 Feb 2022 22:58:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=U9HRvTSGZtM+OloxUW1iJPFbdvl7IAxd5tQb0zXNEyQ=; b=athlXFVWvwN1Y9NhBfKHk4K5Qb Pfsr/TS0WSbPEjA3niVXoNi1IQHMrwcBOzgXadUW1lMq296/WIOUih+VHWS5Xkgtv8xozbtaUXhqx UCO/RYLePfLKzm40EVmHGl66qMkTjdQx00CWarbiCTbo05uSkVZAAlk+UGFEUMgE/jm0=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nGvAa-0003jl-6k; Mon, 07 Feb 2022 04:58:30 +0100 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#38007: scroll-lock binding on Windows References: <83zhhgn60i.fsf@gnu.org> <83tv7om87f.fsf@gnu.org> <94531FFE-1CDB-49AA-B2FE-9FEAAFB7C8A9@gnu.org> <83ftigw9rr.fsf@gnu.org> X-Now-Playing: Talking Heads's _77_: "Love --> Building On Fire" Date: Mon, 07 Feb 2022 04:58:27 +0100 In-Reply-To: <83ftigw9rr.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 22 Nov 2019 11:16:56 +0200") Message-ID: <87tudbxr8c.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: >> - conditionally binding it to [scroll] in bindings.el according to system-type >> >> - rebinding it in term/w32-win.el, >> >> - or remapping [scroll] to [Scroll_Lock] in some special keymap >> (per [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38007 Cc: Juanma Barranquero , 38007@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: >> - conditionally binding it to [scroll] in bindings.el according to system-type >> >> - rebinding it in term/w32-win.el, >> >> - or remapping [scroll] to [Scroll_Lock] in some special keymap >> (perhaps function-key-map?) > > The former, with a comment about the (evidently unknown) source of the > Scroll_Lock "function key". I've now done the former in Emacs 29, but I don't quite understand why the Scroll_Lock event needs a comment -- it's just a normal X keyboard event, I think? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 06 22:58:45 2022 Received: (at control) by debbugs.gnu.org; 7 Feb 2022 03:58:45 +0000 Received: from localhost ([127.0.0.1]:40619 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGvAr-0002fP-NK for submit@debbugs.gnu.org; Sun, 06 Feb 2022 22:58:45 -0500 Received: from quimby.gnus.org ([95.216.78.240]:35402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGvAq-0002f2-JL for control@debbugs.gnu.org; Sun, 06 Feb 2022 22:58:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=v7/3ghT6ZFH7m5AUR1gN36MVZcVj9dtOGnlAevIewsk=; b=ESnrwJK2DpJpX0FSvwfNSzC/I6 lWNSHYChPxZOxUZgFSBz0Xqo39DbRo9sHsXjlnMYVRQz/hFs8ZnjnCwQe65lQ3ANbMEKe2UAN/Teg oz96s2wbVJNc8UQojollD3gFAS9MBfl6zHkb52+ZfJiAFijIPesl8RSjJhlrRekbRiKI=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nGvAi-0003jw-3V for control@debbugs.gnu.org; Mon, 07 Feb 2022 04:58:38 +0100 Date: Mon, 07 Feb 2022 04:58:34 +0100 Message-Id: <87sfsvxr85.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #38007 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 38007 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 38007 29.1 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 07 07:45:03 2022 Received: (at 38007) by debbugs.gnu.org; 7 Feb 2022 12:45:03 +0000 Received: from localhost ([127.0.0.1]:41195 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nH3OA-0004iI-Lu for submit@debbugs.gnu.org; Mon, 07 Feb 2022 07:45:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nH3O8-0004hX-Fw for 38007@debbugs.gnu.org; Mon, 07 Feb 2022 07:45:01 -0500 Received: from [2001:470:142:3::e] (port=48608 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nH3O1-0004vV-7X; Mon, 07 Feb 2022 07:44:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=qRUlN4OAVVl5k7mydRbWqNEdi+5EFUnfWgh4+XCkdUI=; b=kkXKijm+xl/W sJDbci++piUtP7/MmVShUzMDMeYVWBAxy5bRgrR15JEoi8qZsY8WZRAKqYN7xZhGjL3sLqR+Imu3j nRtbZzvrqAxmzgY1N8I0xbpSy/Aeo7nF6+rpBnIgCrJkB0LRM3zjXa8cQKEoRoGsdw4WR1W/jQtWH Gg/Fl3HxmDCB4FgP+AugOjA6sFK1qUMKb6suvNSdFXgVWIPtDWkx12IzblDX/jXyb5d6zvHl+DcvO kxRz+adEZIXhoMy3Ur4Rn2J4Km6G2C61tQTAN8tbOUZySjgBeNpDP/qWSRIEXM+E6veQl+PPqDlXj TC+rEWaVacFB0ZPVmOdl6w==; Received: from [87.69.77.57] (port=4500 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nH3No-0007kp-Hl; Mon, 07 Feb 2022 07:44:42 -0500 Date: Mon, 07 Feb 2022 14:44:26 +0200 Message-Id: <83pmnyyhg5.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87tudbxr8c.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 07 Feb 2022 04:58:27 +0100) Subject: Re: bug#38007: scroll-lock binding on Windows References: <83zhhgn60i.fsf@gnu.org> <83tv7om87f.fsf@gnu.org> <94531FFE-1CDB-49AA-B2FE-9FEAAFB7C8A9@gnu.org> <83ftigw9rr.fsf@gnu.org> <87tudbxr8c.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38007 Cc: lekktu@gmail.com, 38007@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: Juanma Barranquero , 38007@debbugs.gnu.org > Date: Mon, 07 Feb 2022 04:58:27 +0100 > > > The former, with a comment about the (evidently unknown) source of the > > Scroll_Lock "function key". > > I've now done the former in Emacs 29, but I don't quite understand why > the Scroll_Lock event needs a comment -- it's just a normal X keyboard > event, I think? Did you succeed in figuring out where does the "Scroll_Lock" text come from? It isn't in lispy_function_keys[] array. On MS-Windows, "scroll" does come from that array. That's what I meant by that remark. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 01:06:59 2022 Received: (at 38007) by debbugs.gnu.org; 8 Feb 2022 06:06:59 +0000 Received: from localhost ([127.0.0.1]:44826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHJeU-0005xe-Ol for submit@debbugs.gnu.org; Tue, 08 Feb 2022 01:06:58 -0500 Received: from quimby.gnus.org ([95.216.78.240]:47976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHJeT-0005xQ-F6 for 38007@debbugs.gnu.org; Tue, 08 Feb 2022 01:06:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=AmkBOw1fG6b8giTG5Tyxhr7l+sd7OWGM6ykFCUPpTq4=; b=i+ddeK4glPuo/Gnnd1A4doxBhF l6rlYIHuyuAynXLRiswTXAdumAVVRGI4435oZLhiNUqOuWjQyZCAqHOiVwW50LmL7bp5F0ReWDh4K nP7L8NaDCwVKUXZIgC592bshP8E361KgwfTg3MOMumDK4FquxFy+X9Jfiqk6dHTmMOig=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nHJeJ-0001bV-J8; Tue, 08 Feb 2022 07:06:50 +0100 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#38007: scroll-lock binding on Windows References: <83zhhgn60i.fsf@gnu.org> <83tv7om87f.fsf@gnu.org> <94531FFE-1CDB-49AA-B2FE-9FEAAFB7C8A9@gnu.org> <83ftigw9rr.fsf@gnu.org> <87tudbxr8c.fsf@gnus.org> <83pmnyyhg5.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEWooZvx7uZjXVqE fnkyLi3///8QUN7IAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YCCAYCFJ/c4/0AAAG6SURBVDjLZZMN coQgDIWDeABsL+AEDpBCT0Bz/zP1PWTVdTO7I+Yj/1Fku8sStpRiVVWx7Sn2FQn2N5OEnw4RtXAH AfpMX6JZwhYusKkCdgITyASyhUV/khaCFqPJYSMxVKvaWgXgI7dhlGLLVU33qAMgXIM/lCDMp2uu wwKSq0lkKL6UPUmcQNUijeo49y3VE+TW2gTeLe4q8QTIos1r8W+RxJTyAIx5REfVkCWLoZJpOszh FOmnaImVJxbKGM60RjNkO1s8ktmlNnlOIzU4Wqx+ACAUtMinhYQR9tMijWm/W8yXmdAl3383LliY MVm8rf0MjkCVY0gTCC8ZOlM6hrlxeskIDMuQutamE2Br2gC8gh5q7YLeRosoWMKvdzE5Fq7LWC8s HaxW94xLx7AEYcYOS2vFXXMW9tddrikoAPzXCXi+gwz/B6B0ant5nR7A6eKlH64I6GaqJoCOiBne 9Vi4ad1cTzewjocrHks+8qRkrTJv9MXfPJUJfF9vWprK68al7yLrCe7XsTz+CUZv3MsTqBkrqg+L zj1fvHMAd8BvSuLq+3IDvXQsP6X4Xq7uWqAWf3z6xQn+AWl4oE3+7z5XAAAAJXRFWHRkYXRlOmNy ZWF0ZQAyMDIyLTAyLTA4VDA2OjAyOjIwKzAwOjAww14+UQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAy Mi0wMi0wOFQwNjowMjoyMCswMDowMLIDhu0AAAAASUVORK5CYII= X-Now-Playing: Melanie de Biasio's _Blackened Cities_: "Blackened Cities" Date: Tue, 08 Feb 2022 07:06:45 +0100 In-Reply-To: <83pmnyyhg5.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 07 Feb 2022 14:44:26 +0200") Message-ID: <87pmnxvqmi.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > Did you succeed in figuring out where does the "Scroll_Lock" text come > from? It isn't in lispy_function_keys[] array. On MS-Windows, > "scroll" does come from that array. That's what I meant by th [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38007 Cc: lekktu@gmail.com, 38007@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: > Did you succeed in figuring out where does the "Scroll_Lock" text come > from? It isn't in lispy_function_keys[] array. On MS-Windows, > "scroll" does come from that array. That's what I meant by that > remark. Oh, I see. No, I don't know where it's coming from. I thought that we (under X) got the key symbols for (some) keys from X, and didn't maintain the database ourselves? So we can basically get any symbol that the X people dream up. I thought that was the conclusion the last time keyboard events was discussed, but my memory may well be faulty. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 04:07:30 2022 Received: (at 38007) by debbugs.gnu.org; 8 Feb 2022 09:07:30 +0000 Received: from localhost ([127.0.0.1]:45254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHMTB-0001ZI-34 for submit@debbugs.gnu.org; Tue, 08 Feb 2022 04:07:30 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:37253) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHMSu-0001Yr-La for 38007@debbugs.gnu.org; Tue, 08 Feb 2022 04:07:27 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4JtHFp5kTZz1r56q; Tue, 8 Feb 2022 10:07:10 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4JtHFp3r8Cz1qqkq; Tue, 8 Feb 2022 10:07:10 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id hkxGqls9xIDz; Tue, 8 Feb 2022 10:07:09 +0100 (CET) X-Auth-Info: mEtNcg1KtmaNmMjU62dOsiYphmU5IkO65b0S85jeMQlztEI1Mi5m0Q6byM/ijKPa Received: from igel.home (ppp-46-244-179-201.dynamic.mnet-online.de [46.244.179.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Tue, 8 Feb 2022 10:07:09 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id 5A4722C367A; Tue, 8 Feb 2022 10:07:09 +0100 (CET) From: Andreas Schwab To: Lars Ingebrigtsen Subject: Re: bug#38007: scroll-lock binding on Windows References: <83zhhgn60i.fsf@gnu.org> <83tv7om87f.fsf@gnu.org> <94531FFE-1CDB-49AA-B2FE-9FEAAFB7C8A9@gnu.org> <83ftigw9rr.fsf@gnu.org> <87tudbxr8c.fsf@gnus.org> <83pmnyyhg5.fsf@gnu.org> <87pmnxvqmi.fsf@gnus.org> X-Yow: Everything will be ALL RIGHT if we can just remember things about ALGEBRA.. or SOCCER.. or SOCIALISM.. Date: Tue, 08 Feb 2022 10:07:09 +0100 In-Reply-To: <87pmnxvqmi.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 08 Feb 2022 07:06:45 +0100") Message-ID: <87v8xp20ci.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 38007 Cc: lekktu@gmail.com, Eli Zaretskii , 38007@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) On Feb 08 2022, Lars Ingebrigtsen wrote: > Oh, I see. No, I don't know where it's coming from. I thought that we > (under X) got the key symbols for (some) keys from X, and didn't > maintain the database ourselves? So we can basically get any symbol > that the X people dream up. See get_keysym_name. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 07:26:21 2022 Received: (at 38007) by debbugs.gnu.org; 8 Feb 2022 12:26:21 +0000 Received: from localhost ([127.0.0.1]:45736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHPZc-0007tx-PX for submit@debbugs.gnu.org; Tue, 08 Feb 2022 07:26:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHPZb-0007ti-4A for 38007@debbugs.gnu.org; Tue, 08 Feb 2022 07:26:19 -0500 Received: from [2001:470:142:3::e] (port=55364 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHPZT-0002KU-S2; Tue, 08 Feb 2022 07:26:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=WQcA58qjObpIA6ZB9FQTLTJurgqcGXX0uns9MxAhLnY=; b=RVbrTSU/O2u8 4X5h4smGTtmuiD77y0Dq8yjGzeAOT4A4Nd/6EvavlwfOCpLqnHCushWJxbAymh2GtUPL7qtaVTpTN nWjjjxoodCLbd5tU88uZZ9yfj5EnonNDwRoTzl4tLo2C2VqB6CkCLOCdbt8StqloJtcAELqtmJcgD SNn219KRQJDG0C7x87XoZjGDP4rYPmKSQAh+r4lvJ3zPHyEO8VbqzpmEO61rmGGzieIq4+JkGEpvP V/2kIj3/Jkr/8LOSJOvIQZmBLg2OWmwxoLVP6cWeJp3VRCcu4SX2iWZNP4L0Wa8t9NrxDNdV4sEgN HJMyAoDVkHtN+6aC32RPzA==; Received: from [87.69.77.57] (port=3722 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHPYx-0006ZI-8Y; Tue, 08 Feb 2022 07:25:56 -0500 Date: Tue, 08 Feb 2022 14:25:28 +0200 Message-Id: <83pmnxwnnr.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87pmnxvqmi.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 08 Feb 2022 07:06:45 +0100) Subject: Re: bug#38007: scroll-lock binding on Windows References: <83zhhgn60i.fsf@gnu.org> <83tv7om87f.fsf@gnu.org> <94531FFE-1CDB-49AA-B2FE-9FEAAFB7C8A9@gnu.org> <83ftigw9rr.fsf@gnu.org> <87tudbxr8c.fsf@gnus.org> <83pmnyyhg5.fsf@gnu.org> <87pmnxvqmi.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38007 Cc: lekktu@gmail.com, 38007@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: lekktu@gmail.com, 38007@debbugs.gnu.org > Date: Tue, 08 Feb 2022 07:06:45 +0100 > > Eli Zaretskii writes: > > > Did you succeed in figuring out where does the "Scroll_Lock" text come > > from? It isn't in lispy_function_keys[] array. On MS-Windows, > > "scroll" does come from that array. That's what I meant by that > > remark. > > Oh, I see. No, I don't know where it's coming from. I thought that we > (under X) got the key symbols for (some) keys from X, and didn't > maintain the database ourselves? So we can basically get any symbol > that the X people dream up. > > I thought that was the conclusion the last time keyboard events was > discussed, but my memory may well be faulty. Maybe. I simply don't know, and was quite bewildered at the time. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 07:47:19 2022 Received: (at 38007) by debbugs.gnu.org; 8 Feb 2022 12:47:20 +0000 Received: from localhost ([127.0.0.1]:45779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHPtv-0002Gh-OM for submit@debbugs.gnu.org; Tue, 08 Feb 2022 07:47:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHPtu-0002GS-HT for 38007@debbugs.gnu.org; Tue, 08 Feb 2022 07:47:18 -0500 Received: from [2001:470:142:3::e] (port=55512 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHPtX-0005SU-L5; Tue, 08 Feb 2022 07:47:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ow7NSJz+vp8W/1Y8FgShVkGP5deZppeWh9BQwDsij9M=; b=ofr0Yx42Mw+N QkqMnPIb6NU5GcXpcu3CJdwPBTSdaFr+WxBtIs0cJFsxV2GXR5uieLCCkWqZK54z75muzRRjZInny nI3TQl+F9o6G2wRO/ju/GZ6cL3IEr/dE/uP4YWudprV9s9p05X44kuZoOgH/TVhvfhDOXB8CrANUd K+zAuQnpXj1GZHEeZpsQOlkBXHxF0glpLdYTME8QWqllTUJsSI5Cok7hPX+ON1RhiDAgsYjZRBN5m BpKIqwkeP6FEny3F1fdk58qrMR2CZBa2fOI5YnByHB5jmshJb0zjhl0IC2G26mLtnZyKe4t0l8LoC lHUxrLTJqXIwr5gyRuJ/2g==; Received: from [87.69.77.57] (port=4980 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHPrv-0003k5-KL; Tue, 08 Feb 2022 07:46:32 -0500 Date: Tue, 08 Feb 2022 14:45:04 +0200 Message-Id: <83k0e5wmr3.fsf@gnu.org> From: Eli Zaretskii To: Andreas Schwab In-Reply-To: <87v8xp20ci.fsf@igel.home> (message from Andreas Schwab on Tue, 08 Feb 2022 10:07:09 +0100) Subject: Re: bug#38007: scroll-lock binding on Windows References: <83zhhgn60i.fsf@gnu.org> <83tv7om87f.fsf@gnu.org> <94531FFE-1CDB-49AA-B2FE-9FEAAFB7C8A9@gnu.org> <83ftigw9rr.fsf@gnu.org> <87tudbxr8c.fsf@gnus.org> <83pmnyyhg5.fsf@gnu.org> <87pmnxvqmi.fsf@gnus.org> <87v8xp20ci.fsf@igel.home> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38007 Cc: lekktu@gmail.com, larsi@gnus.org, 38007@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Andreas Schwab > Cc: Eli Zaretskii , lekktu@gmail.com, 38007@debbugs.gnu.org > Date: Tue, 08 Feb 2022 10:07:09 +0100 > > On Feb 08 2022, Lars Ingebrigtsen wrote: > > > Oh, I see. No, I don't know where it's coming from. I thought that we > > (under X) got the key symbols for (some) keys from X, and didn't > > maintain the database ourselves? So we can basically get any symbol > > that the X people dream up. > > See get_keysym_name. Thanks! From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 09:09:41 2022 Received: (at 38007) by debbugs.gnu.org; 8 Feb 2022 14:09:42 +0000 Received: from localhost ([127.0.0.1]:45932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHRBd-0004N2-LA for submit@debbugs.gnu.org; Tue, 08 Feb 2022 09:09:41 -0500 Received: from sonic315-20.consmr.mail.ne1.yahoo.com ([66.163.190.146]:35390) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHRBb-0004Mo-9Q for 38007@debbugs.gnu.org; Tue, 08 Feb 2022 09:09:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1644329373; bh=WMHIoQC3nCoFqLkx/exhRWWJPRFewA3bsSma79GunAg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=ujtDgNT2zS5wRdPz+AJ9duVTosM58fkJIa0AZ6o+SlUTNZFtXoE+1gikdGeGq44R+4/Jmk9zV/J5+R5VybeaHM9npJ8Z56JABa0AYtX++opziscKERIJ6bOLHr8IkOSQafOK2IeLRyVQlNFo32IlhvurpQHc2LMiUfEafkggwJvl23nAkU3KVxRZYanQncCrQwQGFGnP5RnanruFBwDbZtl/yaLcYcoIL37dGVOM1lvyUlD7XQG0m0z+V773pKYCR2OjPQmSgWco1KRANtVPszKAfnKtG6f9BZKKATNkafB8hbt/FKfmy0DNq3H4DUHPrw2d2KQGuckC0k8cIEQC2g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1644329373; bh=0xDapmT86Ijp/wgooBN+4HadYtuMtGN5Vs+SmzmtlDJ=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=H4Dg6iBl/9TA5TZaUCMgP3ncWLASWvavDlDU2Y+iRXWuxqULaL6AGwydP009H/RMl5ILcrK3SYlh0uEIA0o4dq8LVBRvN32kLXd5M2CyzdCKaq343/5pX76fci8VFyYlt37FO2QNm+tKgdgv43LuSqO4POHLdUP/caRM0p1I+mVY0Wfdf/rnepHXxbCTiwt7qWHQjiUI2BvX0ThjaAKpI0rhfMaVAYpUiYEVyZru/Bb+SLmxNrh7kIjHFjomXRhEdtbfPWx6dvOtBKT5GSxJKQnOCloaFNWG0UpYyWAvoYtxf6JbboH1EvDH4ULk9CNMGg0NCuZAtEV1bg4bn4LsVA== X-YMail-OSG: I.JOnD4VM1kkk4Wre_gaK.g8jQMmQLLG3Wu9WeOw0TwjCRd5JqB8K2.Rmdsw5qX lW4ujXyCmvYOtHy.j8fxxjMsgdhgR5m8QeRgfx0hA1PYAomPTfjLUGy0rabew_cwo6U__t4uoHjz OVAzMf9s.mG4RCgqJoKPAMujBJb9XuQ2LnmRkaZqJktBoMavVq55KE5O9TeqQh7PSHKzsAOPtnl_ U6ub5tQF16WDHkx7bf2VMBDcP8hVblw4DMNHbegxZiwQY8pInbGFK.46sLjYvJE43DbwtrBwiyuK ge8NetW0zYahXvydjow47D304rmJ6cSHM.mI_LVtK6Yg9hP2rWjjWp82W_tKsXymI1w593Ap.lhc IS9qsxKVfZIi2Gh6Uw0hJulnZsO.p2fdKnKoXWOm.FZOeCfv9kJqGHgkzbeO.8WCT44xv2U.1aNY LOg2vOQlcXORoFexuPAHN4bw4ZbWhZrglt0JahKSut513dbM.OiAEWK8q_8rUjjgwvZErDdOPSW6 6fBsmZZFv8ohqAfdKzq73TJkbYyIPqEB5mjocZIJj.5L3okLdw.6GUt4pk66Og7zZjxB5Lhp67NU 9q_DElNpXneDsaHUAfOWJGjTRu3PhzFeAkWkWnGV.iHiH4SlOQvHx1LSAiohFXctKsw9IfpISvPb 3WoINcSPEFskJQGMMByYT657fjxza4hrQsvbKOJp.rJuirJXsuSgV8ARTKJ7Ko3YNH7iIDA8ub52 TOUhjbc8g7caSbzFbcv5HQsMHc.X7bffnwovq_bGIXGWT.es84cBMRa6NGYvto3ghHKVntwtAYcr LNM3virqCdMmxYafLSSuI_DnZnv5FCPMYWa4eJY1uT54QUAPeJkuANSsV2Ydokwq1PxUUgKtUP.d NBNrZX8qnBHnv5NqLjThBIqRiFSRqOt8t5abmgvN5uWI53Of.AXYFdResGLRC2OBUdtkTHqlWUA4 8Qdi5VQ69mXCqmHCTj1C0POzYmsDcP18ekrY9P5NzhUdpvxNkzkg7a8dFXM6Ky_UHB1lLZCMo2ce 9R7Ah2CbPdNz3BdUTzgtVvxa3Oia7CUfUFSY2J7TuL5WxZPFWDV6OmOWtqgzgk9DKlgurC52VT.R xoaZQhzXSTTTLl9A9QQH8FJfRTSWzaMviroMIW0PkBqbKHr1tkqywTE_NQTYFZ2SZTGgFmPPZJYH Zfowdm4kOm9b3dHLPXYgdC5c2m3aVLuJJz9D3Bjr3P65Q2pmmnJbn4hrNgWwr_v8ystwpcjkiAFa d_eWwQy_gOzDc7A4fORZSyxn5DwW4hemwWKqn67Q.31nDQjVGrYQ_n5yQIUTRMaVD_WeOQsUt0HL _wvl3cXI_8ea9TZ8WV4lYY_Wk.mxpQT7sKbws0iGT4SMT1qUAqo8wxPcleX6aDZffU7MACFQPR7K KbheIREXsTa2ZllxqxIxHxqUggjvM8QCfPs.51b732gUHoaeFQIKe0PFz.gfDjrqLaAKIOw_4wVs EqXI0N_hbV_yNo9trkw7uAQXw3ADxRox9CGkGr2SMxKEL06Yn21XuCZ9SCXIxKyuocDLY7zcVY64 kAkFFAgQM3Pwjtg_js_S1uukqI.E.cdxzExFjW7X6fMa8xrV1.09sZj51yOtpbnF3L74KcWcjrs1 L_.n4.gNLBYKrUhTSP3L9hnJ22JYgb21AE0WkeANlTEkDBtL6mOfFVde9pNfNwNDnqW7wCiUR3TR _RyZZF2MDuqNsTo6VALsPJsISa6BCv6yy9ZcBL90aXeF2jmYMhz2gLfnbc5BauEBut.RpBsVnqcy .WmUkTCpbnz97e3Mz35LM2ImNndARdW0q9jRQcU8kVPP4SoVr.U3xRrqrKDm8TKEQbSpqYLnMyoZ JKeynDoqY5fYypDrNQ9WAdlPfi5cGgT1.WNpSg8M5HG_vLYKplvqW6noafixaUQKPDjJgFWdjFdz AyM6307g_a1COeUrAhgacucArmmwC.bq11eFy1HsHz5T4O1ocDEtS8o5dH3aI_vy85vMm0kx2Slp wPMluiW58g232LrsavKC30NhoTxOwWiM_BcwsqtSfLUqTEvH.LeKZ.XTLIW65wlq4j7MyUA_c_hG rLCMgGIszxKnSqXZBPyrQ422K5hCu.j7cQaDGAAfwQcrURGYtSYfbJPgvcsECUXAU2DzZal__qR6 7z.ZEzYw13UR8g.OmjkC.xHGXLBhoYmcMLOxHtmrFUr9yyckKIsdoMYzOFOGZXBM1iBVkdOU8BPo 25Lg9nIvqrmg_VeECyaDNiBz8ttKnYYN2qdMs1koJFHUE6s13SnfqKP9Y X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Tue, 8 Feb 2022 14:09:33 +0000 Received: by kubenode504.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 7a8ec4f6d3554fac7e7c3e9b21245412; Tue, 08 Feb 2022 14:09:30 +0000 (UTC) From: Po Lu To: Lars Ingebrigtsen Subject: Re: bug#38007: scroll-lock binding on Windows In-Reply-To: <87pmnxvqmi.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 08 Feb 2022 07:06:45 +0100") References: <83zhhgn60i.fsf@gnu.org> <83tv7om87f.fsf@gnu.org> <94531FFE-1CDB-49AA-B2FE-9FEAAFB7C8A9@gnu.org> <83ftigw9rr.fsf@gnu.org> <87tudbxr8c.fsf@gnus.org> <83pmnyyhg5.fsf@gnu.org> <87pmnxvqmi.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Date: Tue, 08 Feb 2022 22:09:25 +0800 Message-ID: <87czjx4fhm.fsf@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.19711 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1109 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 38007 Cc: lekktu@gmail.com, Eli Zaretskii , 38007@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > Eli Zaretskii writes: > >> Did you succeed in figuring out where does the "Scroll_Lock" text come >> from? It isn't in lispy_function_keys[] array. On MS-Windows, >> "scroll" does come from that array. That's what I meant by that >> remark. > > Oh, I see. No, I don't know where it's coming from. It's from get_keysym_name in xterm.c. > I thought that we (under X) got the key symbols for (some) keys from > X, and didn't maintain the database ourselves? So we can basically > get any symbol that the X people dream up. Yes, and that database is huge. "Some" of those symbols have to be treated specially; see the big block of code under KeyPress and XI_KeyPress in handle_one_xevent that tries to handle the most common ones might run across. It starts with: /* Random non-modifier sorts of keysyms. */ if (((keysym >= XK_BackSpace && keysym <= XK_Escape) || keysym == XK_Delete That list is hardly exhaustive, and a few new keysyms were added recently that I haven't gotten around to looking at yet. From unknown Sun Aug 17 22:09:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 09 Mar 2022 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator