From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74423: Low level key events Date: Wed, 04 Dec 2024 22:01:53 +0200 Message-ID: <868qsvz07i.fsf@gnu.org> References: <31bdc55d-8c13-4de0-9cef-bd6cc4fb033f@imayhem.com> <705fabb8-1ea0-4894-8c32-05097ab822c9@imayhem.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37512"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 74423@debbugs.gnu.org, monnier@iro.umontreal.ca To: Cecilio Pardo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 04 21:03:36 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tIvay-0009XZ-Br for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Dec 2024 21:03:36 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tIvaS-00039I-Ic; Wed, 04 Dec 2024 15:03:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tIvaR-000395-9g for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2024 15:03:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tIvaR-0007J0-0s for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2024 15:03:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=VaJGnGERExV7SU0TEX1sxXtZ62ytI+bhJWmeUDGxmDI=; b=uB1x4F82p/a/SV7m9Upyn3c2t4fj5RV/cmG8dcdISH6DuGoK1D0NYC5ml25ilcpEx/46a9IsrDE/ZKDheT+O2aFuIgoLlGMl2VBlYh3CzXKngKky1u4psIqay3IpLI9P3VhDfuXmkjAK+l9jRfUCo5YGST0tUIOkD3pmPJSOd2cAbf2tU2CaaCQmAgG4TakbUpc69Vpo1jr5BclLzodap0nK7apsW3zh/3iehXl0q+yuurlEdQ3rgxmbuFVj2VU34AnAVu96Q/JU9V+tOEMqRnbfeHmOFAHMe70Pn/sM6z1ATCrhOguL3ejqQHhdXMdz9wYG29KBWoPrXvaLtkenYw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tIvaQ-0004ep-Jy for bug-gnu-emacs@gnu.org; Wed, 04 Dec 2024 15:03:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Dec 2024 20:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74423 X-GNU-PR-Package: emacs Original-Received: via spool by 74423-submit@debbugs.gnu.org id=B74423.173334252817809 (code B ref 74423); Wed, 04 Dec 2024 20:03:02 +0000 Original-Received: (at 74423) by debbugs.gnu.org; 4 Dec 2024 20:02:08 +0000 Original-Received: from localhost ([127.0.0.1]:36972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIvZY-0004dB-Cl for submit@debbugs.gnu.org; Wed, 04 Dec 2024 15:02:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tIvZV-0004cc-TB for 74423@debbugs.gnu.org; Wed, 04 Dec 2024 15:02:06 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tIvZM-0007Bn-Uk; Wed, 04 Dec 2024 15:01:58 -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=VaJGnGERExV7SU0TEX1sxXtZ62ytI+bhJWmeUDGxmDI=; b=hIJXRoQuZc+B 36SFQjqlWwK8utc9F+01624SvVf2ngEDUTmjj508MXweblxIqpG1Yv8tEebGmMEdAg5ul0UZ5zh67 w+W6K1XWyNKNKjIKb5yubSwJndEBIkAZo2LyFsgDQblP+p8ITEkcuUgb0MmiFgPOhtVeG/RXRQphN 9ABbfGC0O8XRwOmL8b0iwaZOeqjM7F1TzlrQdCbRd+1nt6NJnIBvLE3GvkRvhMSCUG1V5bwDRKrFp 6aUL3BFZfxDQNrqu5YGov8X7mpV+35X0RVXx4EZlm5ag08ozRoOqwmGBkABa2lWSL9qRiR7OV6vqN X1yj8OCwgQdsBxzWSmWWhw==; In-Reply-To: (message from Cecilio Pardo on Mon, 2 Dec 2024 17:54:03 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296433 Archived-At: > Date: Mon, 2 Dec 2024 17:54:03 +0100 > Cc: 74423@debbugs.gnu.org > From: Cecilio Pardo > > Here is a new version of the patch. Sorry it took so long. It > addresses most of the notes I got: Thanks. There are several minor issues with this (first line of doc strings not a single complete sentence, one space between sentences, etc.), but I guess this is too early for such details. Other than that, I have only one comment: > + DEFVAR_LISP ("enable-low-level-key-events", Venable_low_level_key_events, > + doc: /* If non-nil, reception of low-level key events is enabled. > + > +The value configures the set of keys that are handled: > + > +If t, send events for all keys. > + > +If a number, send events for the corresponding keysym. When calling > +'llk-init', a set of variables with the xk- prefix is initialized with > +the numeric values for keysyms. This numbers are platform dependent. This seems to say that it is impossible to make the value do the same on all platforms? If so, I think it's less useful than it could be, because Emacs generally tries to abstract platform-specific issues as much as possible, to facilitate platform-independent Lisp programs that work the same on all supported systems. Also, there's no information here where to find the list of these xk- numbers.